Views
Operations for managing View OpenGateway consent views
1
2
3
4
5
|
{
"name": "kyc-consent-view",
"orderDisplay": 1,
"visibility": true
}
|
| Name |
Type |
Required |
Description |
| name |
string |
true |
Name of the view |
| orderDisplay |
integer |
false |
Display order for the view |
| visibility |
boolean |
false |
Whether the view is visible |
Request example
1
2
3
4
5
6
7
8
9
10
|
curl -X POST https://opengateway.masstack.com/v1/views \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'name': 'kyc-consent-view',
'orderDisplay': 1,
'visibility': true
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| visibility |
query |
boolean |
false |
Filter by visibility status |
| languageCode |
query |
string |
false |
Filter by language code (e.g., es-ES, eu-ES, en-US) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/views?visibility='true'&languageCode='es-ES' \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/views/{id} \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
| body |
body |
CatalogUpdateViewRequest |
true |
‘none’ |
1
2
3
4
5
|
{
"name": "kyc-consent-view-updated",
"orderDisplay": 2,
"visibility": false
}
|
| Name |
Type |
Required |
Description |
| name |
string |
false |
Updated name of the view |
| orderDisplay |
integer |
false |
Updated display order |
| visibility |
boolean |
false |
Updated visibility status |
Request example
1
2
3
4
5
6
7
8
9
10
|
curl -X PUT https://opengateway.masstack.com/v1/views/{id} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'name': 'kyc-consent-view-updated',
'orderDisplay': 2,
'visibility': false
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
Request example
1
2
3
4
|
curl -X DELETE https://opengateway.masstack.com/v1/views/{id} \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/views/{id}/capabilities \
-H "Accept: application/json"
|
1
2
3
|
{
"capabilityId": "550e8400-e29b-41d4-a716-446655440000"
}
|
| Name |
Type |
Required |
Description |
| capabilityId |
string(uuid) |
true |
Capability ID to associate with the view |
Request example
1
2
3
4
5
6
7
8
|
curl -X POST https://opengateway.masstack.com/v1/views/{id}/capabilities \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'capabilityId': '550e8400-e29b-41d4-a716-446655440000'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
| capability_id |
path |
string(uuid) |
true |
Capability ID (UUID) |
Request example
1
2
3
4
|
curl -X DELETE https://opengateway.masstack.com/v1/views/{id}/capabilities/{capability_id} \
-H "Accept: application/json"
|
1
2
3
4
|
{
"languageCode": "es-ES",
"description": "Vista de consentimiento para KYC"
}
|
| Name |
Type |
Required |
Description |
| languageCode |
string |
true |
Language code (e.g., es-ES, eu-ES, en-US) |
| description |
string |
false |
Translated description |
Request example
1
2
3
4
5
6
7
8
9
|
curl -X POST https://opengateway.masstack.com/v1/views/{id}/translations \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'languageCode': 'es-ES',
'description': 'Vista de consentimiento para KYC'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/views/{id}/translations \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
| language_code |
path |
string |
true |
Language code (e.g., es-ES, eu-ES, en-US) |
Request example
1
2
3
4
|
curl -X GET https://opengateway.masstack.com/v1/views/{id}/translations/{language_code} \
-H "Accept: application/json"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
| language_code |
path |
string |
true |
Language code (e.g., es-ES, eu-ES, en-US) |
| body |
body |
CatalogUpdateTranslationRequest |
true |
‘none’ |
1
2
3
4
|
{
"languageCode": "es-ES",
"description": "Vista de consentimiento para KYC actualizada"
}
|
| Name |
Type |
Required |
Description |
| languageCode |
string |
false |
Updated language code |
| description |
string |
false |
Updated translated description |
Request example
1
2
3
4
5
6
7
8
9
|
curl -X PUT https://opengateway.masstack.com/v1/views/{id}/translations/{language_code} \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--data-raw "{
'languageCode': 'es-ES',
'description': 'Vista de consentimiento para KYC actualizada'
}"
|
Parameters
| Name |
In |
Type |
Required |
Description |
| id |
path |
string(uuid) |
true |
View ID (UUID) |
| language_code |
path |
string |
true |
Language code (e.g., es-ES, eu-ES, en-US) |
Request example
1
2
3
4
|
curl -X DELETE https://opengateway.masstack.com/v1/views/{id}/translations/{language_code} \
-H "Accept: application/json"
|