Get Locales

post

/config/sim/v1/setup/getLocales

Request

Supported Media Types
Body ()
A request body to get the list of locales
Root Schema : LocaleGetRequestBody
Type: object
The input Body model that needs to be given.
Show Source
  • Objects included in response
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits translated strings returned
  • If using paging, number of results returned in this page.
  • Starting resource record index. Not required if paging parameters are not supported
  • Sorts the response by the specified field name and sort order.
  • Search criteria to filter results based on field value
Back to Top

Response

Supported Media Types

200 Response

A collection of Locales in an organization.
Body ()
Root Schema : LocaleGetResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of data extension objects of the organization.
Show Source
Nested Schema : LocaleItemResponseBody
Type: object
Model for Locale Object
Show Source
Nested Schema : name
Type: object
Additional Properties Allowed
Show Source
name of the Locale
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source

404 Response

404 Requested resource not found
Back to Top