| POST | /SplitFreeBet | Request to Split a FreeBet. | Splits a FreeBet. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FreeBetId | body | long | No | FreeBetId |
| SplitCount | body | int | No | SplitCount |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorNo | form | int | No | |
| Message | form | string | No | |
| Identity | form | long? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SplitFreeBet HTTP/1.1
Host: ios-api.betright.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FreeBetId: 0,
SplitCount: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ErrorNo: 0,
Message: String,
Identity: 0
}