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":"642ba1cc-fa8e-4d7a-8909-9b86ce8074a3","departmentId":"11730b52-e9f5-4bcc-9b61-095c49fade72","startTime":"2024-09-12T08:28:41.1397901+00:00","duration":"10.00:00:00"},{"userId":"ab2494fa-6676-4a37-890a-9f6d20dbdcfa","departmentId":"225b2e7c-8944-4097-b16b-2a2212b614ea","startTime":"2024-09-12T08:28:41.1397901+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