Retrieves all sessions for the specified resource within the start/end datetime range. Paging using limit and offset is applied to the result list.

Request

GET https://api.rezdy.com/v1/resources/{resourceId}/sessions

Path parameters

Parameter name Value Description Additional
resourceId int64

Resource ID

Required

Query parameters

Parameter name Value Description Additional
startTime string

Session start time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

endTime string

Session end time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

startTimeLocal string

Session start time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00

endTimeLocal string

Session end time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00

limit int32

limit How many results are returned per request. Maximum is 100, which also a default, when not specified.

offset int32

Offset of the first result to return. Default to 0.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

ResponseSessionList

Explore this API

apiKey Enter your API Key to try this call
resourceId

Resource ID

startTime

Session start time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

endTime

Session end time in ISO 8601 format, e.g. 2014-03-01T00:00:00Z

startTimeLocal

Session start time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00

endTimeLocal

Session end time in supplier's local timezone, format is yyyy-MM-dd HH:mm:ss, e.g. 2014-03-01 00:00:00

limit

limit How many results are returned per request. Maximum is 100, which also a default, when not specified.

offset

Offset of the first result to return. Default to 0.

Response Content-Type
Try it out!