GET facilities/{id}/sessions?start={start}&end={end}&limit={limit}&page={page}

Return sessions by facility id in period (start, end) with paged-support

Request Information

Parameters

NameDescriptionAdditional information
id
facility id

Define this parameter in the request URI.

start
start time

Define this parameter in the request URI.

end
end time

Define this parameter in the request URI.

limit
page size

Define this parameter in the request URI.

page
current page index

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "paged_records": [
    {},
    {},
    {}
  ],
  "page": 1,
  "limit": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<PagedDataDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <limit>2</limit>
  <page>1</page>
  <paged_records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
    <d2p1:anyType />
  </paged_records>
  <total>3</total>
</PagedDataDto>