API: Language

Language list

JWT Authorisation

GET /api/v3/language

Request parameter:

No Request parameter

No filtration available

Response data:

Metadata: object.

ParameterTypeDescription
countintNumber of all results marching criteria 
statusintResponse status (same as in http code)

Data:  object.data[array]

ParameterTypeDescription
idintegerContact id
localestring(2)Language locale: eg: de
system_language1|0I is this a system language 1-yes,0-no
namestringName in DE language
name_estringName in EN language
name_fstringName in FR language
name_istringName in IT language

Response (Error):

ParameterTypeDescription
codeintegerAn error code
errorstringA message containing some information about the error 
errorsarrayList of errors devided by field in associative array {field_name:error message}

/wiki/spaces/BROK/pages/693181 #Authentication defaults 

Request
curl -X GET https://public.brokerstar.biz/api/v3/my-contact --header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE2NTg[...]cm5hbWUiOiJkZW1vLWRlIn0.VTVp[...]cqIg'


Response (Success)
200 OK  {
    "count": "4",
    "data": [
        {
            "name_e": "German",
            "name_f": "allemand",
            "name_i": "tedesco",
            "system_language": 1,
            "id": 1,
            "name": "Deutsch",
            "locale": "de"
        },
        {
            "name_e": "French",
            "name_f": "français",
            "name_i": "francese",
            "system_language": 1,
            "id": 2,
            "name": "Französisch",
            "locale": "fr"
        },
        {
            "name_e": "Italian",
            "name_f": "italien",
            "name_i": "italiano",
            "system_language": 1,
            "id": 3,
            "name": "Italienisch",
            "locale": "it"
        },
        {
            "name_e": "English",
            "name_f": "anglais",
            "name_i": "inglese",
            "system_language": 1,
            "id": 4,
            "name": "Englisch",
            "locale": "en"
        }
    ],
    "status": 200
}

Or one ofÂ