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":"e49fb1cc-6ca9-4b67-a29a-9c505e62a3e9","departmentId":"7af9c9ee-a57f-4064-96d8-57c323560a28","startTime":"2021-10-24T08:43:04.5003337+00:00","duration":"10.00:00:00"},{"userId":"31579090-0ca5-418b-a8a2-e05bba16ca4d","departmentId":"c72646d3-38c0-47a2-83df-ca4e43c24601","startTime":"2021-10-24T08:43:04.5003337+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