Retrieve all Languages
This function retrieves all languages from the client account.
URL
GET {baseURL}/languages
Parameters
None
Responses
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
Returned Data (200 OK)
A JSON Structure containing the following fields:
Field | Type | Data |
---|---|---|
filter | String | The applied filter. This is reserved for future use. |
limitStart | Integer | The first record index. Currently 0, reserved for future use. |
limitPageSize | Integer | The number of records. -1 indicates all records. Reserved for future use. |
records | Languages [] | An array of languages. |
count | Integer | The number of records returned. |
orderBy | String | The field used to sort the records. |
ascending | Boolean | Whether the array of records is sorted ascending or descending. |
status | Integer | The return code (also provided by the http status code). |
Example
Note, the records array has been shortened for readability.
{ "filter": "", "limitStart": 0, "limitPageSize": -1, "records": [ { "ISOCode": "bg-BG", "bASRTTS": false, "bPortalFrontEnd": false, "bCreateAllMissingTexts": false, "bStaticWavesAvailable": false, "ShortText": "Languages.bg-BG", "ID": 10, "ShortISOCode": "bg", "TTSLanguagesName": null, "bDefaultShortISOCodeLanguage": true }, ... { "ISOCode": "uk-UA", "bASRTTS": false, "bPortalFrontEnd": false, "bCreateAllMissingTexts": false, "bStaticWavesAvailable": false, "ShortText": "Languages.uk-UA", "ID": 27, "ShortISOCode": "uk", "TTSLanguagesName": null, "bDefaultShortISOCodeLanguage": true } ], "count": 32, "orderBy": "ISOCode", "ascending": true, "status": 200 }