Get Locations

post

/config/sim/v1/hierarchy/getLocations

Gets all the locations

Request

Supported Media Types
Body ()
A request body
Root Schema : LocationGetRequestBody
Type: object
The input Body model that needs to be given.
Show Source
  • Objects included in response
    Example: hierUnitId, objectNum, locRef
  • 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 Location entities in an organization.
Body ()
Root Schema : Location
Type: object
Model for Location Object
Show Source
Nested Schema : consumerFacingName
Type: object
Additional Properties Allowed
Show Source
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 : localeName
Type: object
Additional Properties Allowed
Show Source
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
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
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