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":"63b02c67-b870-4216-b19c-9638d209a67a","departmentId":"ba9a3aab-f7c3-4743-ba50-83bd1b14ce14","startTime":"2024-06-18T11:40:13.5378185+00:00","duration":"10.00:00:00"},{"userId":"e3725273-5946-4d05-a091-eb9974386cb5","departmentId":"2103b62d-6407-48cd-a6d4-1f259f0e724c","startTime":"2024-06-18T11:40:13.5378185+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