GET api/translations/values/{languageId}/{appType}/{appName}
Get all translation values for the given application.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
languageId | integer |
Required |
|
appType | ApplicationType |
Required |
|
appName | ApplicationName |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TranslationValueDTOName | Description | Type | Additional information |
---|---|---|---|
Key |
Translation key. |
string |
None. |
Value |
Translation value. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ]
text/html
Sample:
[{"Key":"sample string 1","Value":"sample string 2"},{"Key":"sample string 1","Value":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfTranslationValueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <TranslationValueDTO> <Key>sample string 1</Key> <Value>sample string 2</Value> </TranslationValueDTO> <TranslationValueDTO> <Key>sample string 1</Key> <Value>sample string 2</Value> </TranslationValueDTO> </ArrayOfTranslationValueDTO>