POST api/ColorQuest/PostData
Request Information
URI Parameters
None.
Body Parameters
ColorQuestBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | globally unique identifier |
Required |
|
| TotalTime | decimal number |
Required Range: inclusive between 0 and 1000 |
|
| CardColor | CardColor |
Required Range: inclusive between 0 and 6 |
Request Formats
application/json, text/json
Sample:
{
"UserID": "93d64bbd-b60b-4027-8e63-6437fd63c2b5",
"TotalTime": 2.1,
"CardColor": 0
}
application/xml, text/xml
Sample:
<ColorQuestController.ColorQuestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <CardColor>Blue</CardColor> <TotalTime>2.1</TotalTime> <UserID>93d64bbd-b60b-4027-8e63-6437fd63c2b5</UserID> </ColorQuestController.ColorQuestBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.