Relesys API Docs

v1.3

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

Departments

Update Department
PATCH /departments/{departmentId}
https://api.relesysapp.net/api/v1.3/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":"bf15df3d-79d6-43fb-8dc6-2479b63b0768","url":null,"creationDateTime":"2024-07-27T08:02:04.6893046Z","lastModifiedDateTime":"2024-07-27T08:02:04.6893046Z","name":"Relesys Main HQ","parentId":"ce914e1a-2c1b-4f02-9fde-881ba3310ea2","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"0668566e-b816-4d0e-bdcc-9719db1a96da","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Company","timeZone":"UTC","email":"Test@test.com","userLanguageEnabled":true,"selectedCultures":["da-DK","en-GK"],"showDepartmentManagerPublic":false,"showEmployeeList":true,"showDepartmentInTaggingOverview":true,"showUsersInTaggingOverview":true,"locales":[{"culture":"en-GB","description":"Example description"}]}}
object
  data object      
   addressLine string      
   addressLine2 string      
   city string      
   contentCulture string      
   creationDateTime datetime      
   defaultPhoneCountryCode integer      
   email string      
   externalId string      
   id string / guid      
   lastModifiedDateTime datetime      
   locales array[object]      
    culture string      
    description string      
   managerUserId string / guid      
   name string      
   parentId string / guid      
   phoneNumber object      
    countryCode integer      
    number string      
   selectedCultures array[string]      
   showDepartmentInTaggingOverview boolean      
   showDepartmentManagerPublic boolean      
   showEmployeeList boolean      
   showInActivityStatistics boolean      
   showInContacts boolean      
   showInHighscores boolean      
   showUsersInTaggingOverview boolean      
   timeZone string      
   type string      
   uiCulture string      
   url string      
   userLanguageEnabled boolean      
   zipCode string