GET api/mobile/GetConfabulationAvailableChoiceList?gameid={gameid}&roundid={roundid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gameid | integer |
Required |
|
| roundid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
oConfabulationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PlayerList | Collection of oGamePlayerSimple |
None. |
|
| ResponseList | Collection of oGameInputSimple |
None. |
|
| GameCode | string |
None. |
|
| RefID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PlayerList": [
{
"PlayerID": 1,
"PlayerName": "sample string 2",
"GameCode": "sample string 3",
"RefID": 4
},
{
"PlayerID": 1,
"PlayerName": "sample string 2",
"GameCode": "sample string 3",
"RefID": 4
}
],
"ResponseList": [
{
"InputID": 1,
"Response": "sample string 2",
"GameCode": "sample string 3",
"RefID": 4
},
{
"InputID": 1,
"Response": "sample string 2",
"GameCode": "sample string 3",
"RefID": 4
}
],
"GameCode": "sample string 1",
"RefID": 2
}
application/xml, text/xml
Sample:
<oConfabulationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RG.Game.Confabulation">
<RefID xmlns="http://schemas.datacontract.org/2004/07/RG">2</RefID>
<GameCode xmlns="http://schemas.datacontract.org/2004/07/RG.Game">sample string 1</GameCode>
<PlayerList xmlns:d2p1="http://schemas.datacontract.org/2004/07/RG.Game">
<d2p1:oGamePlayerSimple>
<RefID xmlns="http://schemas.datacontract.org/2004/07/RG">4</RefID>
<d2p1:GameCode>sample string 3</d2p1:GameCode>
<d2p1:PlayerID>1</d2p1:PlayerID>
<d2p1:PlayerName>sample string 2</d2p1:PlayerName>
</d2p1:oGamePlayerSimple>
<d2p1:oGamePlayerSimple>
<RefID xmlns="http://schemas.datacontract.org/2004/07/RG">4</RefID>
<d2p1:GameCode>sample string 3</d2p1:GameCode>
<d2p1:PlayerID>1</d2p1:PlayerID>
<d2p1:PlayerName>sample string 2</d2p1:PlayerName>
</d2p1:oGamePlayerSimple>
</PlayerList>
<ResponseList xmlns:d2p1="http://schemas.datacontract.org/2004/07/RG.Game">
<d2p1:oGameInputSimple>
<RefID xmlns="http://schemas.datacontract.org/2004/07/RG">4</RefID>
<d2p1:GameCode>sample string 3</d2p1:GameCode>
<d2p1:InputID>1</d2p1:InputID>
<d2p1:Response>sample string 2</d2p1:Response>
</d2p1:oGameInputSimple>
<d2p1:oGameInputSimple>
<RefID xmlns="http://schemas.datacontract.org/2004/07/RG">4</RefID>
<d2p1:GameCode>sample string 3</d2p1:GameCode>
<d2p1:InputID>1</d2p1:InputID>
<d2p1:Response>sample string 2</d2p1:Response>
</d2p1:oGameInputSimple>
</ResponseList>
</oConfabulationResponse>