POST api/Common/GetTranslation
Request Information
URI Parameters
None.
Body Parameters
GetTranslationsRequestName | Description | Type | Additional information |
---|---|---|---|
MasterTexts | Collection of string |
None. |
|
Domain | string |
None. |
|
Subdomain | string |
None. |
|
ProviderID | integer |
None. |
|
Token | string |
None. |
|
WebType | WebsiteType |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "MasterTexts": [ "sample string 1", "sample string 2" ], "Domain": "sample string 1", "Subdomain": "sample string 2", "ProviderID": 3, "Token": "sample string 4", "WebType": 1 }
application/xml, text/xml
Sample:
<GetTranslationsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Web.Api.Contracts"> <Domain>sample string 1</Domain> <MasterTexts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </MasterTexts> <ProviderID>3</ProviderID> <Subdomain>sample string 2</Subdomain> <Token>sample string 4</Token> <WebType>AccountAdmin</WebType> </GetTranslationsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and string [value]Response Formats
application/json, text/json, text/html
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>