Relesys API Docs

v1.1

https://api.relesysapp.net/api/v1.1

Departments

Update Department
PATCH /departments/{departmentId}
https://api.relesysapp.net/api/v1.1/departments/{departmentId}
Update a department based on the ID provided. Accepts a JsonPatch request in the body.
Scopes: relesys.api, relesys.api:write, relesys.api.users, relesys.api.users:write
URL Path
departmentId string / guid The department's unique identifier required
Request Body
application/json-patch+json
array[object]
  from string optional
  op string optional
  path string optional
  value object optional
Responses
application/json
JSON
{"data":{"id":"5de03c06-ab5d-4c96-864a-3a65b018e551","url":null,"creationDateTime":"2022-10-06T14:59:46.413626+00:00","lastModifiedDateTime":"2022-10-06T14:59:46.413626+00:00","name":"Relesys Main HQ","parentId":"84eaef7c-e6dc-4f17-a468-41d3105bfb54","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"14fd15bd-4797-4247-afc2-6268c4a4b6fa","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Company","timeZone":"UTC"}}
object
  data object      
   addressLine string      
   addressLine2 string      
   city string      
   contentCulture string      
   defaultPhoneCountryCode integer      
   externalId string      
   id string / guid      
   managerUserId string / guid      
   name string      
   parentId string / guid      
   phoneNumber object      
    countryCode integer      
    number string      
   showInActivityStatistics boolean      
   showInContacts boolean      
   showInHighscores boolean      
   timeZone string      
   type string      
   uiCulture string      
   url string      
   zipCode string