Relesys API Docs

v1.2

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

Departments

Get Departments
GET /departments
https://api.relesysapp.net/api/v1.2/departments
Get all departments - Possible to filter based on the shown properties.

Default sort is by name in ascending order.
Scopes: relesys.api, relesys.api:read, relesys.api.users, relesys.api.users:read
Query String
addressLine string Filterable Sortable optional
addressLine2 string Filterable Sortable optional
city string Filterable Sortable optional
contentCulture string Filterable Sortable optional
creationDateTime datetime Filterable Sortable optional
defaultPhoneCountryCode integer Filterable Sortable optional
email string Filterable Sortable optional
externalId string Filterable Sortable optional
id string / guid Filterable optional
lastModifiedDateTime datetime Filterable Sortable optional
managerUserId string / guid Filterable Sortable optional
name string Filterable Sortable optional
parentId string / guid Filterable optional
showDepartmentManagerPublic boolean Filterable optional
showEmployeeList boolean Filterable optional
showInContacts boolean Filterable optional
timeZone string Filterable Sortable optional
type string Filterable Sortable optional
uiCulture string Filterable Sortable optional
userLanguageEnabled boolean Filterable optional
zipCode string Filterable Sortable optional
sort string Comma separated sort order based on sortable properties optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 100) Default: 100 optional
Responses
application/json
JSON
{"count":2,"data":[{"id":"28592b75-348a-4fa6-96fc-89fba4c8ffd2","url":null,"creationDateTime":"2024-03-29T11:40:19.0762915Z","lastModifiedDateTime":"2024-03-29T11:40:19.0762915Z","name":"Relesys Main HQ","parentId":"c2772c0f-6f03-4698-a752-b17d308ef3a7","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"9674fb3b-a6ce-489d-81cb-321ed1558983","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Company","timeZone":"UTC","email":"Test@test.com","userLanguageEnabled":false,"selectedCultures":null,"showDepartmentManagerPublic":false,"showEmployeeList":true,"showDepartmentInTaggingOverview":true,"showUsersInTaggingOverview":true,"locales":[]},{"id":"5683f7ea-2a0b-474d-acc4-60e673e449e6","url":null,"creationDateTime":"2024-03-29T11:40:19.0762915Z","lastModifiedDateTime":"2024-03-29T11:40:19.0762915Z","name":"Relesys Admin HQ","parentId":"e3661bea-af3c-4b5e-8f87-48f3198b0024","externalId":"Administration","addressLine":"Relesys Road 10","addressLine2":"3rd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":null,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"b40b60be-7a83-40d1-a2ec-ee28fe79a448","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Region","timeZone":"UTC","email":"Test@test.com","userLanguageEnabled":true,"selectedCultures":["en-GK"],"showDepartmentManagerPublic":false,"showEmployeeList":false,"showDepartmentInTaggingOverview":true,"showUsersInTaggingOverview":false,"locales":[{"culture":"en-GB","description":"Example description"}]}]}
object
  count integer      
  data array[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      
  nextUrl string      
  previousUrl string