GET sports/{id}/announcements?start={start}&end={end}
Return announcement collection by league id
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | sport 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. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "id": "sample string 1", "subject": "sample string 2", "date": "sample string 3", "description": "sample string 4", "network": { "id": "sample string 1", "name": "sample string 2" }, "sport": { "id": "sample string 1", "name": "sample string 2" } }, { "id": "sample string 1", "subject": "sample string 2", "date": "sample string 3", "description": "sample string 4", "network": { "id": "sample string 1", "name": "sample string 2" }, "sport": { "id": "sample string 1", "name": "sample string 2" } }, { "id": "sample string 1", "subject": "sample string 2", "date": "sample string 3", "description": "sample string 4", "network": { "id": "sample string 1", "name": "sample string 2" }, "sport": { "id": "sample string 1", "name": "sample string 2" } } ]
application/xml, text/xml
Sample:
<ArrayOfAnnouncementDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <AnnouncementDto> <date>sample string 3</date> <description>sample string 4</description> <id>sample string 1</id> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <subject>sample string 2</subject> </AnnouncementDto> <AnnouncementDto> <date>sample string 3</date> <description>sample string 4</description> <id>sample string 1</id> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <subject>sample string 2</subject> </AnnouncementDto> <AnnouncementDto> <date>sample string 3</date> <description>sample string 4</description> <id>sample string 1</id> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <subject>sample string 2</subject> </AnnouncementDto> </ArrayOfAnnouncementDto>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].date" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].description" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].network.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].network.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].sport.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].sport.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].date" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].description" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].network.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].network.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].sport.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].sport.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].subject" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].date" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].description" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].network.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].network.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].sport.id" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[2].sport.name" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--