Relesys API Docs

v1.1

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

Users

Get Users
GET /users
https://api.relesysapp.net/api/v1.1/users
Get all users - Can be filtered by the listed properties.
Scopes: relesys.api, relesys.api:read, relesys.api.users, relesys.api.users:read
Query String
birthDate datetime Filterable Sortable optional
creationDateTime datetime Filterable Sortable optional
dataSource string Filterable Sortable optional
email string Filterable Sortable optional
employmentDate datetime Filterable Sortable optional
employmentEndDate datetime Filterable Sortable optional
externalId string Filterable Sortable optional
id string / guid Filterable optional
lastModifiedDateTime datetime Filterable Sortable optional
name string Filterable Sortable optional
primaryDepartmentId string / guid Filterable optional
secondaryEmail string Filterable Sortable optional
status string Filterable Sortable optional
title string Filterable Sortable optional
userName 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 1000) Default: 200 optional
Responses
application/json
JSON
{"count":2,"data":[{"id":"a597e8ad-d2a6-405c-a463-5649c8033a9d","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2021-10-24T08:13:43.1710049+00:00","lastModifiedDateTime":"2021-10-24T08:13:43.1710049+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":"67ce9a33-383b-4463-852b-17d5815050d9","additionalDepartments":[{"id":"debbcb70-6354-42d6-99ba-34063bb2d53c","dataSource":"RelesysAPI"}],"userGroups":[{"id":"b1cdcdb1-8b15-4993-850e-19c796378cd2","dataSource":"RelesysAPI"},{"id":"ff54e04b-d0b7-40a4-8ac6-24c5209ea145","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00","employmentEndDate":"2021-12-30T13:30:00"},{"id":"1b3fff4b-879d-4c75-ba2b-ad67bc64d679","url":null,"departmentUrl":null,"status":"Activated","creationDateTime":"2021-10-24T08:13:43.1710049+00:00","lastModifiedDateTime":"2021-10-24T08:13:43.1710049+00:00","externalId":"NUB","name":"New User B","userName":"UserNameB","title":"User Title","dataSource":"RelesysAPI","email":"personalmailb@testmail.com","secondaryEmail":"businessmailb@testmail.com","phoneNumber":{"countryCode":45,"number":"12345678"},"secondaryPhoneNumber":{"countryCode":45,"number":"12345679"},"birthDate":"2001-12-30T00:00:00","primaryDepartmentId":"1b48413c-239c-482a-8131-af088cea3882","additionalDepartments":[{"id":"6b5c602e-62bc-4c68-a608-006d0057de02","dataSource":"RelesysAPI"}],"userGroups":[{"id":"41d130d9-d68f-4067-b165-a3e7bc5d2cfc","dataSource":"RelesysAPI"},{"id":"d5e4bf28-eee4-42bc-9434-a132df555994","dataSource":"RelesysAPI"}],"employmentDate":"2018-12-30T13:30:00","employmentEndDate":"2021-12-30T13:30:00"}]}
object
  count integer      
  data array[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      
  nextUrl string      
  previousUrl string