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":"41d3cec9-5128-48c6-94af-6338e1d67932","departmentId":"45c78baf-1796-4699-a80c-21defe9af2f6","startTime":"2024-04-25T22:16:51.6641884+00:00","duration":"10.00:00:00"},{"userId":"fd9c7dac-d876-4dac-aaf4-eea3d14bbbea","departmentId":"61fcae03-3207-45e5-98e2-575d267e512c","startTime":"2024-04-25T22:16:51.6641884+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