Public
SubLocations

Update a sub location

patch/v1/public/locations/{locationId}/subLocations/{subLocationId}

Request

Path parameters

subLocationIdstring required

Request body

namesobject

The name of the sub location in various locales. Accepted locales are en, fr, es. Must be unique across all sub locations of the parent location.

abbrevstring

An abbreviation text, used in various place in the application where space is tight. Like on shifts of the schedule view. Must be unique across all sub locations of the parent location.

codestring

A human readable ID that can be use has an ID for other API calls. The code is also used to map a sub location to an external system structural element.

Example request

{
  "names": {
    "en": "sub-location name",
    "fr": "nom du sous-lieu"
  }
}

Response

uidstring required

unique sub-location id

namesobject required

Multilingual sub-location name as a map indexed by locale ("en" or "fr")

abbrevstring

Sub-location abbreviation

codestring

The sub-location code. The code is often used as a mapping value between Evolia and an external system

parentLocationIdstring required

unique parent location id

parentLocationCodestring required

unique parent location code

Changes

No recorded changes to this operation across all 8 revisions of this API.