Relesys API Docs

v1.3

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

Sessions

Get Sessions
GET /sessions
https://api.relesysapp.net/api/v1.3/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":"d69e0b23-5c89-4ff6-809e-259e8ad9f084","departmentId":"2848a402-3c14-467c-9383-b51823331950","startTime":"2024-11-21T06:57:30.2358101+00:00","duration":"10.00:00:00"},{"userId":"e8922e42-e71d-40a5-9dcc-acc9dffb47ca","departmentId":"01f9a579-fc6c-4229-bb71-3389e304392c","startTime":"2024-11-21T06:57:30.2358101+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