POST api/AstroBlocks
Request Information
URI Parameters
None.
Body Parameters
AstroBlocks| Name | Description | Type | Additional information |
|---|---|---|---|
| UserzID | globally unique identifier |
Required |
|
| TotalTime | decimal number |
Required Range: inclusive between 0 and 2000 |
|
| LevelNumber | integer |
Required Range: inclusive between 1 and 30 |
|
| LevelSuccessful | boolean |
Required |
|
| Score | integer |
Required Range: inclusive between 0 and 99999 |
|
| NumberOfStars | integer |
Required Range: inclusive between 0 and 9999 |
|
| MotorMovement | decimal number |
Required Range: inclusive between 0 and 9999 |
|
| MaxLevel | integer |
Required Range: inclusive between 0 and 50 |
|
| TotalBricks | integer |
Required Range: inclusive between 0 and 10000 |
|
| TotalBricksPopped | integer |
Required Range: inclusive between 0 and 10000 |
|
| TotalLives | integer |
Required Range: inclusive between 0 and 4 |
|
| TotalLivesRemaining | integer |
Required Range: inclusive between 0 and 4 |
|
| NumberOfBallsLost | integer |
Required Range: inclusive between 0 and 10000 |
|
| TotalNumberOfBalls | integer |
Required Range: inclusive between 0 and 10000 |
Request Formats
application/json, text/json
Sample:
{
"UserzID": "50006d41-f9de-469d-ba98-f517aafdcf43",
"TotalTime": 2.1,
"LevelNumber": 3,
"LevelSuccessful": true,
"Score": 5,
"NumberOfStars": 6,
"MotorMovement": 7.1,
"MaxLevel": 8,
"TotalBricks": 9,
"TotalBricksPopped": 10,
"TotalLives": 11,
"TotalLivesRemaining": 12,
"NumberOfBallsLost": 13,
"TotalNumberOfBalls": 14
}
application/xml, text/xml
Sample:
<AstroBlocksController.AstroBlocks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <LevelNumber>3</LevelNumber> <LevelSuccessful>true</LevelSuccessful> <MaxLevel>8</MaxLevel> <MotorMovement>7.1</MotorMovement> <NumberOfBallsLost>13</NumberOfBallsLost> <NumberOfStars>6</NumberOfStars> <Score>5</Score> <TotalBricks>9</TotalBricks> <TotalBricksPopped>10</TotalBricksPopped> <TotalLives>11</TotalLives> <TotalLivesRemaining>12</TotalLivesRemaining> <TotalNumberOfBalls>14</TotalNumberOfBalls> <TotalTime>2.1</TotalTime> <UserzID>50006d41-f9de-469d-ba98-f517aafdcf43</UserzID> </AstroBlocksController.AstroBlocks>
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.