get_languages (GET)
This function returns the languages available in the platform. It takes only the token as input parameter, and returns a serialized JSON string containing the active languages along with their corresponding identifiers.
- Endpoint :
preview.ilsbsys.com/apirest_v1/information
Fields Input
Tag Name | Type | Size | Priority |
---|---|---|---|
token | string | 16 | (Mandatory) |
Fields
{
"request" : "get_languages",
"token" : "123456789ABC"
}
Results
[
{
"id": "141",
"lg_id": "eng",
"name": "English",
"short_name": "en"
},
{
"id": "397",
"lg_id": "por",
"name": "Portuguese",
"short_name": "pt"
},
{
"id": "456",
"lg_id": "spa",
"name": "EspaƱol",
"short_name": "es"
}
]
Common Error Codes
6020
: token is empty1005
: token is invalid