Update Locations

post

/config/sim/v1/hierarchy/updateLocations

Updates the location. If location is not found is not found, it creates a new location.

Request

Supported Media Types
Header Parameters
Body ()
Location object of the organization
Root Schema : LocationUpdateRequestBody
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 : 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"
}
Back to Top

Response

Supported Media Types

200 Response

Location object of the organization
Body ()
Root Schema : LocationResponse
Type: object
Show Source

400 Response

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