Languages
Languages are the localizations of which data can exist in the PIM installation. If users shall be able to enter data in a specific culture, that language must be added to the system. All languages in the system are based on ISO Culture codes. Each ISO culture code can only be added once, meaning no two languages can use the same culture code
OK
Represents a language
Unique id of language
Culture code of language
Presented name of language
Sort order of language
GET /v1/Languages HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
OK
[
{
"Id": 1,
"CultureCode": "en-GB",
"Name": "English",
"SortOrder": 0
},
{
"Id": 2,
"CultureCode": "da-DK",
"Name": "Danish",
"SortOrder": 0
},
{
"Id": 3,
"CultureCode": "de-DE",
"Name": "German",
"SortOrder": 0
}
]Model to add a language
ISO 639-1 culture code
Presented name of language
Sort order of language
OK
Bad Request
POST /v1/Languages HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"CultureCode": "text",
"Name": "text",
"SortOrder": 1
}{
"CultureCode": "en-GB",
"Name": "English",
"SortOrder": 0
}Represents a language
Unique id of language
Culture code of language
Presented name of language
Sort order of language
OK
No content
Bad Request
PUT /v1/Languages HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 71
{
"Id": 1,
"CultureCode": "en-GB",
"Name": "English (british)",
"SortOrder": 0
}No content
Id of language
OK
Represents a language
Unique id of language
Culture code of language
Presented name of language
Sort order of language
Not Found
GET /v1/Languages/{id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"Id": 1,
"CultureCode": "en-GB",
"Name": "English",
"SortOrder": 0
}Last updated