Relesys API Docs

v1.1

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

Departments

Create Department
POST /departments
https://api.relesysapp.net/api/v1.1/departments
Create a department if the model is valid.
Scopes: relesys.api, relesys.api:write, relesys.api.users, relesys.api.users:write
Request Body
application/json
object
  addressLine string optional
  addressLine2 string optional
  city string optional
  contentCulture string optional
  defaultPhoneCountryCode integer optional
  externalId string optional
  managerUserId string / guid optional
  name string required
  parentId string / guid optional
  phoneNumber object optional
   countryCode integer optional
   number string optional
  showInActivityStatistics boolean optional
  showInContacts boolean optional
  showInHighscores boolean optional
  timeZone string optional
  type string required
  uiCulture string optional
  zipCode string optional
Responses
application/json
JSON
{"data":{"id":"16bc894b-1b72-4dc0-8916-ec19b8e41d88","url":null,"creationDateTime":"2021-10-24T08:19:08.3495087+00:00","lastModifiedDateTime":"2021-10-24T08:19:08.3495087+00:00","name":"Relesys Main HQ","parentId":"a3a600bb-e4ea-454e-a84a-35ad3aa41a59","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"e4fc3ab8-c944-4603-8dc9-98dcdc01066c","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