Relesys API Docs

v1.1

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

Users

Create User
POST /users
https://api.relesysapp.net/api/v1.1/users
Create a user if the model is valid.
Scopes: relesys.api, relesys.api:write, relesys.api.users, relesys.api.users:write
Request Body
application/json
object
  additionalDepartments array[object] optional
   dataSource string optional
   id string / guid optional
  birthDate datetime optional
  dataSource string optional
  email string optional
  employmentDate datetime optional
  employmentEndDate datetime optional
  externalId string optional
  name string required
  password string optional
  phoneNumber object optional
   countryCode integer optional
   number string optional
  primaryDepartmentId string / guid required
  secondaryEmail string optional
  secondaryPhoneNumber object optional
   countryCode integer optional
   number string optional
  title string optional
  userGroups array[object] required
   dataSource string optional
   id string / guid optional
  userName string optional
Responses
application/json
JSON
{"data":{"id":"c7d2113d-b98e-47b6-8e25-19a913eb7635","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2021-10-24T08:51:18.9594316+00:00","lastModifiedDateTime":"2021-10-24T08:51:18.9594316+00:00","externalId":"NUA","name":"New User A","userName":"UserNameA","title":"User Title A","dataSource":"RelesysAPI","email":"personalmaila@testmail.com","secondaryEmail":"businessmaila@testmail.com","phoneNumber":{"countryCode":45,"number":"12345678"},"secondaryPhoneNumber":{"countryCode":45,"number":"12345679"},"birthDate":"2002-12-30T00:00:00","primaryDepartmentId":"4c095063-b38d-4bd1-bd09-c047bd76e88b","additionalDepartments":[{"id":"5946b51d-a9e0-4504-a010-8d5e4ba10a5f","dataSource":"RelesysAPI"}],"userGroups":[{"id":"202eb3f1-9b6f-473a-8bbb-8544936c2b8d","dataSource":"RelesysAPI"},{"id":"a1ef09b4-0efa-4707-9305-1751169f35cd","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00","employmentEndDate":"2021-12-30T13:30:00"}}
object
  data object      
   additionalDepartments array[object]      
    dataSource string      
    id string / guid      
   birthDate datetime      
   dataSource string      
   departmentUrl string      
   email string      
   employmentDate datetime      
   employmentEndDate datetime      
   externalId string      
   id string / guid      
   name string      
   phoneNumber object      
    countryCode integer      
    number string      
   primaryDepartmentId string / guid      
   secondaryEmail string      
   secondaryPhoneNumber object      
    countryCode integer      
    number string      
   status string      
   title string      
   url string      
   userGroups array[object]      
    dataSource string      
    id string / guid      
   userName string