Get Locations

post

/config/sim/v2/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
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum, name
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • 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: hierUnitId:asc
  • If specified, returns records that match the criteria.
    Example: where equals(hierUnitId, 7)
Back to Top

Response

Supported Media Types

200 Response

A collection of Location entities.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Array of Location objects of the organization.
Show Source
Nested Schema : Locationv2
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:
{
    "1":"Enterprise",
    "2":"Unternehmen",
    "3":"Empresa"
}
Nested Schema : dataExtensions
Type: array
An array of data extensions
Show Source
Nested Schema : name
Type: object
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
    "1":"Enterprise",
    "2":"Unternehmen",
    "3":"Empresa"
}
Nested Schema : items
Type: object
Show Source
Back to Top