PUT api/content/v4/changelanguage
Request Information
URI Parameters
None.
Body Parameters
LanguageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LanguageId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"LanguageId": 1,
"CustomerId": 2,
"UniqueId": "add789f6-684f-4ac3-a100-5e21922ebee6"
}
application/xml, text/xml
Sample:
<LanguageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <CustomerId>2</CustomerId> <LanguageId>1</LanguageId> <UniqueId>add789f6-684f-4ac3-a100-5e21922ebee6</UniqueId> </LanguageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfLanguageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | LanguageResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"LanguageId": 1,
"LanguageName": "sample string 2",
"LanguageCode": "sample string 3",
"Icon": "sample string 4",
"Selected": true
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfLanguageResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<Icon>sample string 4</Icon>
<LanguageCode>sample string 3</LanguageCode>
<LanguageId>1</LanguageId>
<LanguageName>sample string 2</LanguageName>
<Selected>true</Selected>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfLanguageResponseZdSfSp5S>