| GET,POST | /FixedPriceExoticPrice | Get the fixed price for a combination of runners in a fixed-price exotic | Get the fixed price for a combination of runners in a fixed-price exotic, given an Event Id and exotic type along with the selected runners in each leg |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | body | int | No | EventId |
| MarketType | body | string | No | Market Type |
| Outcomes | body | string[] | No | A list of Outcomes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OutcomePrices | form | List<FixedPriceExoticOutcomePrice> | No | |
| ComboPrices | form | List<FixedPriceExoticComboPrice> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OutcomeId | form | int | No | |
| Price | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OutcomeIds | form | int[] | No | |
| Price | form | decimal | 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 /FixedPriceExoticPrice HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"EventId":0,"MarketType":"String","Outcomes":["String"]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"OutcomePrices":[{"OutcomeId":0,"Price":0}],"ComboPrices":[{"OutcomeIds":[0],"Price":0}]}