Lang
Lang gets the list of language.
GET /lang
Request parameters:
- company [mandatory]: the company name or id.
- session [mandatory]: the Id of the active session.
- target: To get the language of a device.
Response:
- status: returns "0" on success, and an error code in any other case.
- data: returns the schema of areas and processes.
- message: "success" or a descriptive information of the error in any other case.
Example:
Content-Type: application/json Request: /lang?company=demo01&session=LebEWTNf8GEhxfQeeGbBmVUlxmUIDLVdEoeVYrnWNzkdRXKxmgCNc92wnSjA Reponse (success): { "status": "0", "data": { "langs": [ { "id": "About", "Desc_de": "Etwa", "Desc_en": "About", "Desc_es": "Acerca de", "Desc_it": "Di", "Desc_pt": "Acerca de", "Desc_sk": "o", "Desc_zh": "" }, ... "message": "Success" } |