Relesys API Docs

v1.1

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

Sessions

Get Sessions
GET /sessions
https://api.relesysapp.net/api/v1.1/sessions
Get a list of Sessions from up to 30 days.

Time Interval:
 All data returned is in a max interval of 30 days
Department Type:
 "Company", "Country", "Department", "District", "Division", "Other", "Partner", "Region", "Store", "Subdepartment"
Scopes: relesys.api, relesys.api:read, relesys.api.insights, relesys.api.insights:read
Query String
departmentId string / guid Filterable optional
departmentType string Filterable optional
startTime datetimeoffset Filterable required
subDepartments boolean Filterable optional
userId string / guid Filterable optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 1000) Default: 250 optional
Responses
application/json
JSON
{"count":2,"data":[{"userId":"2634fbe6-11b8-4cc2-97a2-ed2aed2a2583","departmentId":"9ae9d9b4-5efb-4920-90d2-abc8080ee9f1","startTime":"2022-10-06T13:17:51.6519805+00:00","duration":"10.00:00:00"},{"userId":"30646c50-d5c5-48cc-9256-cdf8aeee3846","departmentId":"b73d4d31-c427-4094-8901-919f5c335c8d","startTime":"2022-10-06T13:17:51.6519805+00:00","duration":"5.00:00:00"}]}
object
  count integer      
  data array[object]      
   departmentId string / guid      
   duration timespan      
   startTime datetimeoffset      
   userId string / guid      
  nextUrl string      
  previousUrl string