POST api/AstroBlocksV2
Request Information
URI Parameters
None.
Body Parameters
AstroBlocksV2| Name | Description | Type | Additional information |
|---|---|---|---|
| UserzID | globally unique identifier |
Required |
|
| TotalTime | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| Accuracy | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| Score | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| Coordination | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| AvgResponseTime | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| Successful | boolean |
Required |
|
| GameScore | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| LevelNumber | integer |
Required Range: inclusive between 0 and 100 |
|
| MaxLevelUnlocked | integer |
Required Range: inclusive between 0 and 100 |
|
| TotalBlocks | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| TotalBlocksHit | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| TotalSpecialObjects | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| TotalSpecialObjectsCaught | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| TotalLives | decimal number |
Required Range: inclusive between 0 and 4 |
|
| TotalLivesRemaining | decimal number |
Required Range: inclusive between 0 and 4 |
Request Formats
application/json, text/json
Sample:
{
"UserzID": "998f2485-05b0-400c-8632-d42b7ccf7dfd",
"TotalTime": 1.1,
"Accuracy": 2.1,
"Score": 3.1,
"Coordination": 4.1,
"AvgResponseTime": 5.1,
"Successful": true,
"GameScore": 7.1,
"LevelNumber": 8,
"MaxLevelUnlocked": 9,
"TotalBlocks": 10.1,
"TotalBlocksHit": 11.1,
"TotalSpecialObjects": 12.1,
"TotalSpecialObjectsCaught": 13.1,
"TotalLives": 14.1,
"TotalLivesRemaining": 15.1
}
application/xml, text/xml
Sample:
<AstroBlocksController.AstroBlocksV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <Accuracy>2.1</Accuracy> <AvgResponseTime>5.1</AvgResponseTime> <Coordination>4.1</Coordination> <GameScore>7.1</GameScore> <LevelNumber>8</LevelNumber> <MaxLevelUnlocked>9</MaxLevelUnlocked> <Score>3.1</Score> <Successful>true</Successful> <TotalBlocks>10.1</TotalBlocks> <TotalBlocksHit>11.1</TotalBlocksHit> <TotalLives>14.1</TotalLives> <TotalLivesRemaining>15.1</TotalLivesRemaining> <TotalSpecialObjects>12.1</TotalSpecialObjects> <TotalSpecialObjectsCaught>13.1</TotalSpecialObjectsCaught> <TotalTime>1.1</TotalTime> <UserzID>998f2485-05b0-400c-8632-d42b7ccf7dfd</UserzID> </AstroBlocksController.AstroBlocksV2>
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.