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":"da84ef78-c713-40a1-b4da-827f94de19cf","departmentId":"bbc41393-5c6d-4ad0-a6a6-2c9be85a3cfc","startTime":"2022-05-21T21:34:54.8991258+00:00","duration":"10.00:00:00"},{"userId":"f33c7aa6-70b5-4312-9aa6-60dca02d6250","departmentId":"dcf7469e-573b-4071-a998-4c05ce89c8cd","startTime":"2022-05-21T21:34:54.8991258+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