Skip to main content
Version: 2.2.2

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 parametersTypeRequiredDescription
updateTypeStringNoSharing 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 parameterTypeRequiredDescription
languageStringYesUser 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 _
categoryStringYesPrimary category key (SEDASHBOARDCATEGORY.OID)
externalUsersIntegerNoArray 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