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":"c31785de-6e73-474c-b02b-cf3ffca60247","departmentId":"261892e6-5fa7-4963-a066-5cd9eae55bbf","startTime":"2023-09-29T19:46:02.9419098+00:00","duration":"10.00:00:00"},{"userId":"ecf114b7-ad20-4a81-87de-b37f2f62d4ba","departmentId":"f765af9d-a795-4b95-a492-204494901b98","startTime":"2023-09-29T19:46:02.9419098+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