POST api/BalanceItV2/PostGameData
Request Information
URI Parameters
None.
Body Parameters
BalanceItV2MetricsName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 100 |
|
LevelSuccessful | boolean |
Required |
|
TimeSpent | decimal number |
Required Range: inclusive between 0 and 10000 |
|
Balance | decimal number |
Required Range: inclusive between 0 and 100 |
|
TotalObjectivesCompleted | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalObjectivesSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalLivesRemaining | integer |
Required Range: inclusive between 0 and 4 |
|
TotalLives | integer |
Required Range: inclusive between 0 and 4 |
|
gameType | BalanceItGameType |
Required |
|
TimeMetrics | TimeDetail |
Required |
|
FPSMetrics | FPSDetail |
Required |
|
LeftCount | integer |
Required Range: inclusive between 0 and 10000 |
|
LeftCorrectDrop | integer |
Required Range: inclusive between 0 and 10000 |
|
RightCount | integer |
Required Range: inclusive between 0 and 10000 |
|
RightCorrectDrop | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalDrops | integer |
Required Range: inclusive between 0 and 10000 |
|
LogLeftTiltTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
LogRightTiltTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
LogStableTime | decimal number |
Required Range: inclusive between 0 and 10000 |
Request Formats
application/json, text/json
{ "UserzID": "0ebfd958-3697-42b9-b40e-4f284baa2a31", "LevelNumber": 2, "LevelSuccessful": true, "TimeSpent": 4.1, "Balance": 5.1, "TotalObjectivesCompleted": 6, "TotalObjectivesSpawned": 7, "TotalLivesRemaining": 8, "TotalLives": 9, "gameType": 0, "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 }, "LeftCount": 10, "LeftCorrectDrop": 11, "RightCount": 12, "RightCorrectDrop": 13, "TotalDrops": 14, "LogLeftTiltTime": 15.1, "LogRightTiltTime": 16.1, "LogStableTime": 17.1 }
application/xml, text/xml
<BalanceItV2Metrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB"> <Balance>5.1</Balance> <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> <LeftCorrectDrop>11</LeftCorrectDrop> <LeftCount>10</LeftCount> <LevelNumber>2</LevelNumber> <LevelSuccessful>true</LevelSuccessful> <LogLeftTiltTime>15.1</LogLeftTiltTime> <LogRightTiltTime>16.1</LogRightTiltTime> <LogStableTime>17.1</LogStableTime> <RightCorrectDrop>13</RightCorrectDrop> <RightCount>12</RightCount> <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> <TimeSpent>4.1</TimeSpent> <TotalDrops>14</TotalDrops> <TotalLives>9</TotalLives> <TotalLivesRemaining>8</TotalLivesRemaining> <TotalObjectivesCompleted>6</TotalObjectivesCompleted> <TotalObjectivesSpawned>7</TotalObjectivesSpawned> <UserzID>0ebfd958-3697-42b9-b40e-4f284baa2a31</UserzID> <gameType>JustBalance</gameType> </BalanceItV2Metrics>
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.