| POST | /RaceReplayFromForm | Check Race Replay availability from Form Data | Returns streaming indicator info (not actual stream URLs) for up to 10 form items |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | body | List<RaceReplayFormItem> | No | List of form items (maximum 10) |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TrackName | form | string | No | Track Name |
| Date | form | string | No | Race Date in AEDT (format: yyyyMMdd) |
| RaceNumber | form | int | No | Race Number |
| RaceTypeCode | form | string | No | Race Type Code (R=Thoroughbred, H=Harness, G=Greyhound) |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<RaceReplayFromFormResponseItem> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TrackName | form | string | No | |
| Date | form | string | No | |
| RaceNumber | form | int | No | |
| Streaming | form | StreamInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LiveStream | form | StreamItem | No | |
| Replay | form | StreamItem | No | |
| StreamingUrl | form | string | No | |
| ThumbnailUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Provider | form | string | No | |
| Channel | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RaceReplayFromForm HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Items":[{"TrackName":"String","Date":"String","RaceNumber":0,"RaceTypeCode":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Items":[{"TrackName":"String","Date":"String","RaceNumber":0,"Streaming":{"LiveStream":{"Provider":"String","Channel":"String"},"Replay":{"Provider":"String","Channel":"String"},"StreamingUrl":"String","ThumbnailUrl":"String"}}]}