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":"8d8ee979-b101-4e94-b780-f5eddcf52c28","url":null,"creationDateTime":"2021-10-24T10:18:22.8163486+00:00","lastModifiedDateTime":"2021-10-24T10:18:22.8163486+00:00","name":"Relesys Main HQ","parentId":"05537213-7b95-45bd-a032-d751790e72d1","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"3e62441d-2e99-4170-947d-80fee5b33d18","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