This method gets all languages of a company. The client makes a GET request providing input parameters CompanyID. The output will be either in json or xml format depending on the request type.
| Name | Value | |
|---|---|---|
| REST-API METHOD | GET ALL LANGUAGES | |
| HTTP METHOD | GET | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/services/LanguageService/{CompanyID}/language.json/1 | https://api.csm.next4biz.net/services/LanguageService/{CompanyID}/language.xml/1 |
| REQUEST HEAD | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfLanguage>
<Language>
<LangID>{LangID}</LangID>
<LangISO>{LangISO like tr-TR}</LangISO>
</Language>
</ArrayOfLanguage>
{
"Language": {
"LangID": "{LangID}",
"LangISO": "{LangISO like tr-TR}"
}
}