POST Challenge/Update
Request Information
URI Parameters
None.
Body Parameters
RequestChallenge| Name | Description | Type | Additional information |
|---|---|---|---|
| Bet | decimal number |
None. |
|
| SelectOption | integer |
None. |
|
| OpponentID | string |
None. |
|
| ChallengeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Bet": 1.0,
"SelectOption": 2,
"OpponentID": "sample string 3",
"ChallengeID": 4
}
application/xml, text/xml
Sample:
<RequestChallenge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.WebAPI.Models"> <Bet>1</Bet> <ChallengeID>4</ChallengeID> <OpponentID>sample string 3</OpponentID> <SelectOption>2</SelectOption> </RequestChallenge>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |