POST api/GoalieHero/PostGameData
Request Information
URI Parameters
None.
Body Parameters
GoalieHeroMetricsName | Description | Type | Additional information |
---|---|---|---|
UserID | string |
Required |
|
GameScore | integer |
Required Range: inclusive between 0 and 10000 |
|
isLevelSuccessful | boolean |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 100 |
|
Stars | integer |
Required Range: inclusive between 0 and 100 |
|
Focus | decimal number |
Required Range: inclusive between 0 and 100 |
|
Agility | decimal number |
Required Range: inclusive between 0 and 100 |
|
Coordination | decimal number |
Required Range: inclusive between 0 and 100 |
|
AverageReactionTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
Overall | decimal number |
Required Range: inclusive between 0 and 100 |
|
BallData | Collection of BallData |
Required |
|
TotalFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalFootballStopped | integer |
Required Range: inclusive between 0 and 10000 |
|
NeutralFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
NeutralFootballStops | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalLeftHandNeutralStops | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalRightHandNeutralStops | integer |
Required Range: inclusive between 0 and 10000 |
|
LeftHandFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
RightHandFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalLeftHandCorrectStops | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalRightHandCorrectStops | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalLeftHandIncorrectStops | integer |
Required Range: inclusive between 0 and 10000 |
|
TotalRightHandIncorrectStops | integer |
Required Range: inclusive between 0 and 10000 |
|
BilateralLeftSideFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
BilateralRightSideFootballSpawned | integer |
Required Range: inclusive between 0 and 10000 |
|
BilateralLeftSideStops | integer |
Required Range: inclusive between 0 and 10000 |
|
BilateralRightSideStops | integer |
Required Range: inclusive between 0 and 10000 |
|
AvgFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
MinFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
MaxFPS | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSBelow19Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSBetween19And30Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
FPSAbove30Time | decimal number |
Required Range: inclusive between 0 and 10000 |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
EngagedTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
NoUserFoundTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
NoUserFoundCount | integer |
Required Range: inclusive between 0 and 10000 |
|
PauseCount | integer |
Required Range: inclusive between 0 and 10000 |
|
WaitTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
PauseTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
Required | GameQuadrants |
Required |
|
Filled | GameQuadrants |
Required |
Request Formats
application/json, text/json
{ "UserID": "sample string 1", "GameScore": 2, "isLevelSuccessful": true, "LevelNumber": 4, "Stars": 5, "Focus": 6.1, "Agility": 7.1, "Coordination": 8.1, "AverageReactionTime": 9.1, "Overall": 10.1, "BallData": [ { "FootballSpawnTime": 1.1, "FootballStopTime": 2.1, "ReactionTime": 3.1, "isStopped": true, "BallType": 0, "HandUsed": 0, "WasSavedByCorrectHand": true, "Points": 6.1, "IsBilateralSpawn": true, "IsBilateralSaved": true, "BilaterlaSaveScore": 9, "Row": 10, "Column": 11 }, { "FootballSpawnTime": 1.1, "FootballStopTime": 2.1, "ReactionTime": 3.1, "isStopped": true, "BallType": 0, "HandUsed": 0, "WasSavedByCorrectHand": true, "Points": 6.1, "IsBilateralSpawn": true, "IsBilateralSaved": true, "BilaterlaSaveScore": 9, "Row": 10, "Column": 11 } ], "TotalFootballSpawned": 11, "TotalFootballStopped": 12, "NeutralFootballSpawned": 13, "NeutralFootballStops": 14, "TotalLeftHandNeutralStops": 15, "TotalRightHandNeutralStops": 16, "LeftHandFootballSpawned": 17, "RightHandFootballSpawned": 18, "TotalLeftHandCorrectStops": 19, "TotalRightHandCorrectStops": 20, "TotalLeftHandIncorrectStops": 21, "TotalRightHandIncorrectStops": 22, "BilateralLeftSideFootballSpawned": 23, "BilateralRightSideFootballSpawned": 24, "BilateralLeftSideStops": 25, "BilateralRightSideStops": 26, "AvgFPS": 27.1, "MinFPS": 28.1, "MaxFPS": 29.1, "FPSBelow19Time": 30.1, "FPSBetween19And30Time": 31.1, "FPSAbove30Time": 32.1, "TotalTime": 33.1, "EngagedTime": 34.1, "NoUserFoundTime": 35.1, "NoUserFoundCount": 36, "PauseCount": 37, "WaitTime": 38.1, "PauseTime": 39.1, "Required": { "Quadrant_R1C1": 1, "Quadrant_R1C2": 2, "Quadrant_R1C3": 3, "Quadrant_R1C4": 4, "Quadrant_R2C1": 5, "Quadrant_R2C2": 6, "Quadrant_R2C3": 7, "Quadrant_R2C4": 8, "Quadrant_R3C1": 9, "Quadrant_R3C2": 10, "Quadrant_R3C3": 11, "Quadrant_R3C4": 12, "Quadrant_R4C1": 13, "Quadrant_R4C2": 14, "Quadrant_R4C3": 15, "Quadrant_R4C4": 16 }, "Filled": { "Quadrant_R1C1": 1, "Quadrant_R1C2": 2, "Quadrant_R1C3": 3, "Quadrant_R1C4": 4, "Quadrant_R2C1": 5, "Quadrant_R2C2": 6, "Quadrant_R2C3": 7, "Quadrant_R2C4": 8, "Quadrant_R3C1": 9, "Quadrant_R3C2": 10, "Quadrant_R3C3": 11, "Quadrant_R3C4": 12, "Quadrant_R4C1": 13, "Quadrant_R4C2": 14, "Quadrant_R4C3": 15, "Quadrant_R4C4": 16 } }
application/xml, text/xml
<GoalieHeroMetrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB"> <Agility>7.1</Agility> <AverageReactionTime>9.1</AverageReactionTime> <AvgFPS>27.1</AvgFPS> <BallData> <BallData> <BallType>Normal</BallType> <BilaterlaSaveScore>9</BilaterlaSaveScore> <Column>11</Column> <FootballSpawnTime>1.1</FootballSpawnTime> <FootballStopTime>2.1</FootballStopTime> <HandUsed>LeftHand</HandUsed> <IsBilateralSaved>true</IsBilateralSaved> <IsBilateralSpawn>true</IsBilateralSpawn> <Points>6.1</Points> <ReactionTime>3.1</ReactionTime> <Row>10</Row> <WasSavedByCorrectHand>true</WasSavedByCorrectHand> <isStopped>true</isStopped> </BallData> <BallData> <BallType>Normal</BallType> <BilaterlaSaveScore>9</BilaterlaSaveScore> <Column>11</Column> <FootballSpawnTime>1.1</FootballSpawnTime> <FootballStopTime>2.1</FootballStopTime> <HandUsed>LeftHand</HandUsed> <IsBilateralSaved>true</IsBilateralSaved> <IsBilateralSpawn>true</IsBilateralSpawn> <Points>6.1</Points> <ReactionTime>3.1</ReactionTime> <Row>10</Row> <WasSavedByCorrectHand>true</WasSavedByCorrectHand> <isStopped>true</isStopped> </BallData> </BallData> <BilateralLeftSideFootballSpawned>23</BilateralLeftSideFootballSpawned> <BilateralLeftSideStops>25</BilateralLeftSideStops> <BilateralRightSideFootballSpawned>24</BilateralRightSideFootballSpawned> <BilateralRightSideStops>26</BilateralRightSideStops> <Coordination>8.1</Coordination> <EngagedTime>34.1</EngagedTime> <FPSAbove30Time>32.1</FPSAbove30Time> <FPSBelow19Time>30.1</FPSBelow19Time> <FPSBetween19And30Time>31.1</FPSBetween19And30Time> <Filled> <Quadrant_R1C1>1</Quadrant_R1C1> <Quadrant_R1C2>2</Quadrant_R1C2> <Quadrant_R1C3>3</Quadrant_R1C3> <Quadrant_R1C4>4</Quadrant_R1C4> <Quadrant_R2C1>5</Quadrant_R2C1> <Quadrant_R2C2>6</Quadrant_R2C2> <Quadrant_R2C3>7</Quadrant_R2C3> <Quadrant_R2C4>8</Quadrant_R2C4> <Quadrant_R3C1>9</Quadrant_R3C1> <Quadrant_R3C2>10</Quadrant_R3C2> <Quadrant_R3C3>11</Quadrant_R3C3> <Quadrant_R3C4>12</Quadrant_R3C4> <Quadrant_R4C1>13</Quadrant_R4C1> <Quadrant_R4C2>14</Quadrant_R4C2> <Quadrant_R4C3>15</Quadrant_R4C3> <Quadrant_R4C4>16</Quadrant_R4C4> </Filled> <Focus>6.1</Focus> <GameScore>2</GameScore> <LeftHandFootballSpawned>17</LeftHandFootballSpawned> <LevelNumber>4</LevelNumber> <MaxFPS>29.1</MaxFPS> <MinFPS>28.1</MinFPS> <NeutralFootballSpawned>13</NeutralFootballSpawned> <NeutralFootballStops>14</NeutralFootballStops> <NoUserFoundCount>36</NoUserFoundCount> <NoUserFoundTime>35.1</NoUserFoundTime> <Overall>10.1</Overall> <PauseCount>37</PauseCount> <PauseTime>39.1</PauseTime> <Required> <Quadrant_R1C1>1</Quadrant_R1C1> <Quadrant_R1C2>2</Quadrant_R1C2> <Quadrant_R1C3>3</Quadrant_R1C3> <Quadrant_R1C4>4</Quadrant_R1C4> <Quadrant_R2C1>5</Quadrant_R2C1> <Quadrant_R2C2>6</Quadrant_R2C2> <Quadrant_R2C3>7</Quadrant_R2C3> <Quadrant_R2C4>8</Quadrant_R2C4> <Quadrant_R3C1>9</Quadrant_R3C1> <Quadrant_R3C2>10</Quadrant_R3C2> <Quadrant_R3C3>11</Quadrant_R3C3> <Quadrant_R3C4>12</Quadrant_R3C4> <Quadrant_R4C1>13</Quadrant_R4C1> <Quadrant_R4C2>14</Quadrant_R4C2> <Quadrant_R4C3>15</Quadrant_R4C3> <Quadrant_R4C4>16</Quadrant_R4C4> </Required> <RightHandFootballSpawned>18</RightHandFootballSpawned> <Stars>5</Stars> <TotalFootballSpawned>11</TotalFootballSpawned> <TotalFootballStopped>12</TotalFootballStopped> <TotalLeftHandCorrectStops>19</TotalLeftHandCorrectStops> <TotalLeftHandIncorrectStops>21</TotalLeftHandIncorrectStops> <TotalLeftHandNeutralStops>15</TotalLeftHandNeutralStops> <TotalRightHandCorrectStops>20</TotalRightHandCorrectStops> <TotalRightHandIncorrectStops>22</TotalRightHandIncorrectStops> <TotalRightHandNeutralStops>16</TotalRightHandNeutralStops> <TotalTime>33.1</TotalTime> <UserID>sample string 1</UserID> <WaitTime>38.1</WaitTime> <isLevelSuccessful>true</isLevelSuccessful> </GoalieHeroMetrics>
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.