Relesys API Docs

v1.2

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

Sessions

Get Sessions
GET /sessions
https://api.relesysapp.net/api/v1.2/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":"bcd10492-8340-4d5c-9d97-10c3a10eed1a","departmentId":"c0765de3-02e2-421e-8e61-10056bfc3e03","startTime":"2024-02-28T12:12:23.9886601+00:00","duration":"10.00:00:00"},{"userId":"99c5c1f2-efff-4a59-920b-4db423b01218","departmentId":"e60101de-bcdc-418f-bd8b-4377633e7ce1","startTime":"2024-02-28T12:12:23.9886601+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