DC 5.4 GetLanguages
This search is used for getting the available languages in the system
URL : /SearchService.js
Method : POST
Auth required : Yes
Required parameters
Name | Example | Description |
---|---|---|
SearchName | GetMetadataLanguages | Fixed parameter that identifies the endpoint method. |
accessKey | 2d8319f4-7a57-4ca0-a027-c44c2f259aac | accessKey for api |
cUrl data example
Success Response
Code : 200 OK
Content example
{ "success": true, "error": "", "total": "3", "items": [{ "itemId": "1", "totalCases": "3", "languageId": "1", "languageShort": "da", "languageLcid": "1030", "name": "Danish" }, { "itemId": "3", "totalCases": "3", "languageId": "3", "languageShort": "en", "languageLcid": "1033", "name": "English" }, { "itemId": "58", "totalCases": "3", "languageId": "58", "languageShort": "fi", "languageLcid": "1035", "name": "Finnish" }] }
Error Response
Code : 200 OK
Content example
{ "success": false, "total": 0, "error": "A critical exception occurred while we executed the search.\r\n", "items": null, "warnings": [{ "Severity": 150, "Code": 420, "Description": "A critical exception occurred while we executed the search." }] }