GET me/sessions?start={start}&end={end}&limit={limit}&page={page}&sort={sort}
Get my sorted fitness sessions in period (start, end) with paged-support
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
start | start date |
Define this parameter in the request URI. |
end | end date |
Define this parameter in the request URI. |
limit | page size |
Define this parameter in the request URI. |
page | current page |
Define this parameter in the request URI. |
sort | ASC/DESC |
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>