Language and Localization APIs
Get Available Languages (GET)
Returns all available languages in the system.
Route
|
URI |
/api/v1/language/languages |
|
Method |
GET |
|
Result |
JSON – Array of LanguageModel |
Parameters
None
Example
GET http://localhost/api/v1/language/languages
[
{
"Key": "en-US",
"Value": "English"
},
{
"Key": "de-DE",
"Value": "Deutsch"
},
{
"Key": "fr-FR",
"Value": "français"
}
]
Get Language Resources (GET)
Returns localized language resources.
Route
|
URI |
/api/v1/language/resources |
|
Method |
GET |
|
Result |
JSON – Dictionary<string, string> |
Parameters
Culture code (e.g., “en-US”, “de-DE”).
Example
GET http://localhost/api/v1/language/resources?culture=en-US
{
"Lang.AccessDeniedGrantMaLicenseMaybeMissing": "Access denied. Please make sure that your ARM license includes the Web client components, e.g. GrantMA.",
"Lang.ApprovedAndErroneous": "Approved, error on execution",
"Lang.OrderItemLabelName": "Order number",
…
"Lang.SelectAll": "Select all",
"Lang.DeselectAll": "Deselect all"
}
Get Type IDs (GET)
Returns type identifiers for localization.
Route
|
URI |
/api/v1/language/typeids |
|
Method |
GET |
|
Result |
JSON – Array of TypeIdModel |
Parameters
None
Example
GET http://localhost/api/v1/language/typeids
{
"11000": {
"Character": "P",
"Description": "Administrator"
},
"11020": {
"Character": "D",
"Description": "Administrator (soft deleted)"
},
"11100": {
"Character": "U",
"Description": "User"
},
…
}