POST api/FlashDash/PostGameData
Request Information
URI Parameters
None.
Body Parameters
FlashDashMetricsName | Description | Type | Additional information |
---|---|---|---|
UserzID | string |
Required |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 200 |
|
Accuracy | decimal number |
Required Range: inclusive between 0 and 100 |
|
Score | decimal number |
Required Range: inclusive between 0 and 100 |
|
Coordination | decimal number |
Required Range: inclusive between 0 and 100 |
|
Successful | boolean |
Required |
|
GameScore | decimal number |
Required Range: inclusive between 0 and 10000 |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 20 |
|
MaxLevelUnlocked | integer |
Required Range: inclusive between 0 and 20 |
|
TotalCoins | decimal number |
Required Range: inclusive between 0 and 500 |
|
TotalCoinsCollected | decimal number |
Required Range: inclusive between 0 and 500 |
|
TotalBoulders | decimal number |
Required Range: inclusive between 0 and 100 |
|
TotalBouldersHit | decimal number |
Required Range: inclusive between 0 and 100 |
|
TotalLives | decimal number |
Required Range: inclusive between 0 and 10 |
|
TotalLivesRemaining | decimal number |
Required Range: inclusive between 0 and 10 |
|
TotalStars | decimal number |
Required Range: inclusive between 0 and 3 |
|
TotalStarsCollected | decimal number |
Required Range: inclusive between 0 and 3 |
|
TotalSpecialObjects | integer |
Required Range: inclusive between 0 and 100 |
|
TotalSpecialObjectsCollected | integer |
Required Range: inclusive between 0 and 100 |
|
TimeMetrics | TimeDetail |
Required |
|
FPSMetrics | FPSDetail |
Required |
Request Formats
application/json, text/json
{ "UserzID": "sample string 1", "TotalTime": 2.1, "Accuracy": 3.1, "Score": 4.1, "Coordination": 5.1, "Successful": true, "GameScore": 7.1, "LevelNumber": 8, "MaxLevelUnlocked": 9, "TotalCoins": 10.1, "TotalCoinsCollected": 11.1, "TotalBoulders": 12.1, "TotalBouldersHit": 13.1, "TotalLives": 14.1, "TotalLivesRemaining": 15.1, "TotalStars": 16.1, "TotalStarsCollected": 17.1, "TotalSpecialObjects": 18, "TotalSpecialObjectsCollected": 19, "TimeMetrics": { "EngagedTime": [ 1.1, 2.1 ], "NoUserFoundTime": [ 1.1, 2.1 ], "NoUserFoundCount": 1, "PauseClicks": 2, "PauseTime": [ 1.1, 2.1 ], "WaitTime": [ 1.1, 2.1 ] }, "FPSMetrics": { "AvgFPS": 1.1, "MinFPS": 2.1, "MaxFPS": 3.1, "FPSBelow19Time": 4.1, "FPSBetween19And30Time": 5.1, "FPSAbove30Time": 6.1 } }
application/xml, text/xml
<FlashDashMetrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB"> <Accuracy>3.1</Accuracy> <Coordination>5.1</Coordination> <FPSMetrics xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:AvgFPS>1.1</d2p1:AvgFPS> <d2p1:FPSAbove30Time>6.1</d2p1:FPSAbove30Time> <d2p1:FPSBelow19Time>4.1</d2p1:FPSBelow19Time> <d2p1:FPSBetween19And30Time>5.1</d2p1:FPSBetween19And30Time> <d2p1:MaxFPS>3.1</d2p1:MaxFPS> <d2p1:MinFPS>2.1</d2p1:MinFPS> </FPSMetrics> <GameScore>7.1</GameScore> <LevelNumber>8</LevelNumber> <MaxLevelUnlocked>9</MaxLevelUnlocked> <Score>4.1</Score> <Successful>true</Successful> <TimeMetrics xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:EngagedTime xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:float>1.1</d3p1:float> <d3p1:float>2.1</d3p1:float> </d2p1:EngagedTime> <d2p1:NoUserFoundCount>1</d2p1:NoUserFoundCount> <d2p1:NoUserFoundTime xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:float>1.1</d3p1:float> <d3p1:float>2.1</d3p1:float> </d2p1:NoUserFoundTime> <d2p1:PauseClicks>2</d2p1:PauseClicks> <d2p1:PauseTime xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:float>1.1</d3p1:float> <d3p1:float>2.1</d3p1:float> </d2p1:PauseTime> <d2p1:WaitTime xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:float>1.1</d3p1:float> <d3p1:float>2.1</d3p1:float> </d2p1:WaitTime> </TimeMetrics> <TotalBoulders>12.1</TotalBoulders> <TotalBouldersHit>13.1</TotalBouldersHit> <TotalCoins>10.1</TotalCoins> <TotalCoinsCollected>11.1</TotalCoinsCollected> <TotalLives>14.1</TotalLives> <TotalLivesRemaining>15.1</TotalLivesRemaining> <TotalSpecialObjects>18</TotalSpecialObjects> <TotalSpecialObjectsCollected>19</TotalSpecialObjectsCollected> <TotalStars>16.1</TotalStars> <TotalStarsCollected>17.1</TotalStarsCollected> <TotalTime>2.1</TotalTime> <UserzID>sample string 1</UserzID> </FlashDashMetrics>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.