PUT game/transact
Request Information
URI Parameters
None.
Body Parameters
TransactBTO| Name | Description | Type | Additional information |
|---|---|---|---|
| gameID | integer |
None. |
|
| userID | integer |
None. |
|
| deltaFunds | decimal number |
None. |
|
| deltaAds | integer |
None. |
|
| deltaCannonBalls | integer |
None. |
|
| deltaPoints | integer |
None. |
|
| deltaGames | integer |
None. |
|
| reserveSlot | integer |
None. |
|
| isSlotFinalized | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"gameID": 1,
"userID": 2,
"deltaFunds": 3.0,
"deltaAds": 4,
"deltaCannonBalls": 5,
"deltaPoints": 6,
"deltaGames": 7,
"reserveSlot": 8,
"isSlotFinalized": true
}
application/xml, text/xml
Sample:
<TransactBTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plndr_api.Classes.BTO"> <deltaAds>4</deltaAds> <deltaCannonBalls>5</deltaCannonBalls> <deltaFunds>3</deltaFunds> <deltaGames>7</deltaGames> <deltaPoints>6</deltaPoints> <gameID>1</gameID> <isSlotFinalized>true</isSlotFinalized> <reserveSlot>8</reserveSlot> <userID>2</userID> </TransactBTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.