Get Locations

post

/config/sim/v1/hierarchy/getLocations

Gets all the locations

Request

Supported Media Types
Body ()
The input Body model that needs to be given.
Root Schema : schema
Type: object
Show Source
  • Objects included in the response.
    Example: hierUnitId
  • 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 the translated strings returned.
    Example: en-US, es-ES, es-MX
  • If using paging, number of results returned in this page.
    Example: 0
  • Starting resource record index. Not required if paging parameters are not supported.
    Example: 0
  • Sorts the response by the specified field name and sort order.
    Example: objectNum:asc
  • Search criteria to filter results based on field value.
    Example: where equals(objectNum,1)
Back to Top

Response

Supported Media Types

200 Response

A collection of Location entities.
Body ()
Root Schema : LocationGetResponsev1
Type: object
Show Source
Nested Schema : items
Type: array
Array of Location objects of the organization.
Show Source
Nested Schema : Location
Type: object
Model for Location Object
Show Source
Nested Schema : consumerFacingName
Type: object
A group of string objects representing the consumer facing name in the configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : dataExtensions
Type: array
An array of data extensions
Show Source
Nested Schema : localeName
Type: object
A group of string objects representing the name of the locale for the property to determine the use of decimal or thousand separators in configured languages.
Example:
{
    "en-US":"Locale 1",
    "de-DE":"Gebietsschema 1",
    "es-MX":"Lugar 1"
}
Nested Schema : name
Type: object
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : items
Type: object
Show Source
Back to Top