GET v2/networks/{networkid}/classes/{id}/sessions?start={start}&end={end}&limit={limit}&page={page}&sort={sort}
Return sorted sessions by class id in period (start, end) with paged-support
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | class 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. |
| sort | ASC/DESC |
Define this parameter in the request URI. |
| networkid | network id |
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:
<PagedDataDtoV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO.V2">
<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>
</PagedDataDtoV2>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="paged_records[0]" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="paged_records[1]" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="paged_records[2]" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="page" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="limit" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="total" 3 --MultipartDataMediaFormatterBoundary1q2w3e--