GET leagues/{id}/games?start={start}&end={end}&limit={limit}&page={page}&type={type}

Return game collection by league id and game type in period (start, end) with paged-support

Request Information

Parameters

NameDescriptionAdditional information
id
league id

Define this parameter in the request URI.

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 index

Define this parameter in the request URI.

type
game type

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>