POST api/ColorQuest/PostData
Request Information
URI Parameters
None.
Body Parameters
ColorQuestBindingModelName | 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": "d4ed72c6-5d87-4b50-930d-8dacc23eeb14", "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>d4ed72c6-5d87-4b50-930d-8dacc23eeb14</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.