curl --request POST \
--url https://aodocs.altirnao.com/api/library/v1/{libId}/categoryValueMappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"entries": [
{
"sourceValue": {
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
},
"targetValues": [
{
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
}
]
}
],
"id": "<string>",
"kind": "<string>",
"libraryId": "<string>",
"sourceCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
},
"targetCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
}
}
'{
"displayName": "<string>",
"entries": [
{
"sourceValue": {
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
},
"targetValues": [
{
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
}
]
}
],
"id": "<string>",
"kind": "<string>",
"libraryId": "<string>",
"sourceCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
},
"targetCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
}
}Creates a new category value mapping between two category definitions in the library.
curl --request POST \
--url https://aodocs.altirnao.com/api/library/v1/{libId}/categoryValueMappings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"entries": [
{
"sourceValue": {
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
},
"targetValues": [
{
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
}
]
}
],
"id": "<string>",
"kind": "<string>",
"libraryId": "<string>",
"sourceCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
},
"targetCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
}
}
'{
"displayName": "<string>",
"entries": [
{
"sourceValue": {
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
},
"targetValues": [
{
"ancestors": "<array>",
"id": "<string>",
"kind": "<string>",
"leaf": true,
"leafInNotOutdatedTree": true,
"name": "<string>",
"name_i18n": "<string>",
"outdated": true,
"parentId": "<string>",
"shortName": "<string>",
"value": "<string>"
}
]
}
],
"id": "<string>",
"kind": "<string>",
"libraryId": "<string>",
"sourceCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
},
"targetCategoryDefinition": {
"description": "<string>",
"dynamicValues": true,
"folder": true,
"id": "<string>",
"kind": "<string>",
"levelNames": [
"<string>"
],
"levelNames_i18n": [
"<string>"
],
"libraryId": "<string>",
"name": "<string>",
"tags": true,
"value": "<string>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the library
Human-readable name for the mapping
The mapping entries (included in GET responses, optional on create)
Show child attributes
The ID of the category value mapping (read-only)
The resource kind
The ID of the library (read-only)
Show child attributes
Show child attributes
A ApiCategoryValueMapping response
Human-readable name for the mapping
The mapping entries (included in GET responses, optional on create)
Show child attributes
The ID of the category value mapping (read-only)
The resource kind
The ID of the library (read-only)
Show child attributes
Show child attributes