LANGUAGE
This method allows adding/changing permissions to access a category in the external portal for users of a certain language, or for specific users, through a REST endpoint.
POST /apigateway/katana/dashboard/category-permission/language
Query parameters:
Query parameters | Type | Required | Description |
---|---|---|---|
updateType | String | No | Sharing option:ADD - Keeps previous permissions and adds a new one.REPLACE - Removes all previous permissions and adds a new one.Note: If the parameter is not set, by default, the endpoint uses ADD . |
Example request:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
language | String | Yes | User language: EN - US - English (USA) PT-BR - Portuguese (Brazil) ES - Spanish PT - Portuguese (Portugal) DE - German FR - French (France) RO - Romanian _ ZH - Chinese * IT - Italian SK - Slovak * EN-GB - English (United Kingdom) TR - Turkish * FR-CA - French (Canada) RU - Russian * PL - Polish * CA - Catalan DA - Danish FI - Finnish JA - Japanese _ |
category | String | Yes | Primary category key (SEDASHBOARDCATEGORY.OID ) |
externalUsers | Integer | No | Array with users' primary keys (CDUSER ).When entered, it disregards the language users. |
info
- Languages checked with an asterisk are only available on databases with
UTF-8
encoding.
{
"language": "string",
"category": "string",
"externalUsers": ["integer", "integer", "..."]
}
Example response:
200 OK