GET api/Admin/Locale?repDID={repDID}&customerDID={customerDID}&country={country}&languageKey={languageKey}
Allows you to get a list of Locales for a specific Rep or Customer.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repDID |
(Optional) The RepDID of the authenticated user or a rep whose locales you desire. |
string |
Default value is |
customerDID |
(Optional) The CustomerDID of the authenticated user or a customer whose locales you desire. |
string |
Default value is |
country |
(Optional) Languages offered in the shopping cart to be limited to the locales specified for the selected country, as determined by the Back Office countries page. |
string |
Default value is |
languageKey |
(Optional) The language key to use for translating the names of the languages that come back (e.g. en-US) |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ILocaleName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
LocaleASP | string |
None. |
|
Description | string |
None. |
|
ISODescription | string |
None. |
|
Active | integer |
None. |
|
IsDefault | boolean |
None. |
|
IsDecimalUsed | boolean |
None. |
|
IsDecimalNETUsed | boolean |
None. |
|
TranslatorTestRepID | integer |
None. |
|
TranslatorTestRepDID | string |
None. |
|
DecimalValue | integer |
None. |
|
LocaleNET | string |
None. |
|
DateFormat | string |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.