Relesys API Docs

v1.1

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

Departments

Get Departments
GET /departments
https://api.relesysapp.net/api/v1.1/departments
Get all departments - Possible to filter based on the shown properties.
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
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 Sortable optional
timeZone string Filterable Sortable optional
type string Filterable Sortable optional
uiCulture string Filterable Sortable 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":"636d5059-1dff-4dd8-b9ac-4c525f6fffca","url":null,"creationDateTime":"2021-10-24T08:50:35.0959576+00:00","lastModifiedDateTime":"2021-10-24T08:50:35.0959576+00:00","name":"Relesys Main HQ","parentId":"774606ba-c01f-4a30-adcb-f4286510ca48","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"28da4384-8599-4b93-a01e-40b8f3688283","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Company","timeZone":"UTC"},{"id":"e18ba41d-b118-4de9-8240-293f4e9efde1","url":null,"creationDateTime":"2021-10-24T08:50:35.0959576+00:00","lastModifiedDateTime":"2021-10-24T08:50:35.0959576+00:00","name":"Relesys Admin HQ","parentId":"a836e82c-2df7-442c-a504-78eddd2d8f19","externalId":"Administration","addressLine":"Relesys Road 10","addressLine2":"3rd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":null,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"fd206492-639b-4317-a810-851dd585e38c","showInContacts":true,"showInHighscores":true,"showInActivityStatistics":true,"contentCulture":"da-dk","uiCulture":"da-dk","type":"Region","timeZone":"UTC"}]}
object
  count integer      
  data array[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      
  nextUrl string      
  previousUrl string