| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<Fav4Outcome> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | form | int | No | |
| EventTypeId | form | int | No | |
| MasterEventId | form | int | No | |
| MeetingExternalId | form | long | No | |
| SilksUrl | form | string | No | |
| Venue | form | string | No | |
| RaceNumber | form | int | No | |
| BettingCloseTimeUtc | form | DateTime | No | |
| BettingCloseTime | form | string | No | |
| TimeToJump | form | int | No | |
| FixedMarketId | form | long | No | |
| Price | form | decimal | No | |
| OutcomeId | form | int | No | |
| OutcomeName | form | string | No | |
| Jockey_Driver | form | string | No | |
| Trainer | form | string | No | |
| ShortForm | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: ios-api.betright.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: Fav4Request
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Fav4Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Fav4Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<d2p1:Fav4Outcome>
<d2p1:BettingCloseTimeUtc>0001-01-01T00:00:00</d2p1:BettingCloseTimeUtc>
<d2p1:EventId>0</d2p1:EventId>
<d2p1:EventTypeId>0</d2p1:EventTypeId>
<d2p1:FixedMarketId>0</d2p1:FixedMarketId>
<d2p1:Jockey_Driver>String</d2p1:Jockey_Driver>
<d2p1:MasterEventId>0</d2p1:MasterEventId>
<d2p1:MeetingExternalId>0</d2p1:MeetingExternalId>
<d2p1:OutcomeId>0</d2p1:OutcomeId>
<d2p1:OutcomeName>String</d2p1:OutcomeName>
<d2p1:Price>0</d2p1:Price>
<d2p1:RaceNumber>0</d2p1:RaceNumber>
<d2p1:ShortForm>String</d2p1:ShortForm>
<d2p1:SilksUrl>String</d2p1:SilksUrl>
<d2p1:Trainer>String</d2p1:Trainer>
<d2p1:Venue>String</d2p1:Venue>
</d2p1:Fav4Outcome>
</Items>
</Fav4Response>
</soap:Body>
</soap:Envelope>