Relesys API Docs

v1.3

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

Departments

Create Department
POST /departments
https://api.relesysapp.net/api/v1.3/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
  email string optional
  externalId string optional
  locales array[object] optional
   culture string optional
   description string optional
  managerUserId string / guid optional
  name string required
  parentId string / guid optional
  phoneNumber object optional
   countryCode integer optional
   number string optional
  selectedCultures array[string] optional
  showDepartmentInTaggingOverview boolean optional
  showDepartmentManagerPublic boolean optional
  showEmployeeList boolean optional
  showInActivityStatistics boolean optional
  showInContacts boolean optional
  showInHighscores boolean optional
  showUsersInTaggingOverview boolean optional
  timeZone string optional
  type string required
  uiCulture string optional
  userLanguageEnabled boolean optional
  zipCode string optional
Responses
application/json
JSON
{"data":{"id":"31b03506-460d-4f63-9abb-eafadc2fc6cc","url":null,"creationDateTime":"2024-11-21T07:09:52.8343333Z","lastModifiedDateTime":"2024-11-21T07:09:52.8343333Z","name":"Relesys Main HQ","parentId":"ee5afb20-ede2-47c8-99f6-e03dc7ea0102","externalId":"HQ","addressLine":"Relesys Road 10","addressLine2":"2nd floor","zipCode":"2920","city":"Relecity","defaultPhoneCountryCode":45,"phoneNumber":{"countryCode":45,"number":"12345678"},"managerUserId":"4f463436-2032-4176-9b5b-783fcff7199b","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