POST api/ScoopedItV2/PostGameData
Request Information
URI Parameters
None.
Body Parameters
ScoopedItMetricsName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 100 |
|
LevelSuccessful | boolean |
Required |
|
TotalTime | decimal number |
Required |
|
Score | integer |
Required |
|
NumberOfStars | integer |
Required |
|
TotalNormalScoops | integer |
Required |
|
NormalScoopsCaught | integer |
Required |
|
TotalEnemies | integer |
Required |
|
TotalEnemiesCaught | integer |
Required |
|
Focus | decimal number |
Required |
|
ReactionTime | decimal number |
Required |
|
Coordination | decimal number |
Required |
|
Agility | decimal number |
Required |
|
LeftSideCorrect | integer |
Required |
|
RightSideCorrect | integer |
Required |
|
LeftSideIncorrect | integer |
Required |
|
RightSideIncorrect | integer |
Required |
|
AverageReactionTime | decimal number |
Required |
|
ScoopLogs | Collection of ScoopedItLogs |
Required |
|
TimeMetrics | TimeDetail |
Required |
|
FPSMetrics | FPSDetail |
Required |
|
Required | GameQuadrants |
Required |
|
Filled | GameQuadrants |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "06ce1f71-4c41-4075-af39-c87b21607532", "LevelNumber": 2, "LevelSuccessful": true, "TotalTime": 4.1, "Score": 5, "NumberOfStars": 6, "TotalNormalScoops": 7, "NormalScoopsCaught": 8, "TotalEnemies": 9, "TotalEnemiesCaught": 10, "Focus": 11.1, "ReactionTime": 12.1, "Coordination": 13.1, "Agility": 14.1, "LeftSideCorrect": 15, "RightSideCorrect": 16, "LeftSideIncorrect": 17, "RightSideIncorrect": 18, "AverageReactionTime": 19.1, "ScoopLogs": [ { "SpawnTime": 1.1, "CaughtTime": 2.1, "CaughtInQuadrant": 3, "ScoopQuadrants": [ 1, 2 ], "BucketQuadrants": [ 1, 2 ], "TypeOfBall": 0, "IsCollected": true, "ConeInitialPosX": 5.1, "ConeInitialPosY": 6.1, "ConeRaycastedPosX": 7.1, "ConeRaycastedPosY": 8.1, "ScoopCaughtPosX": 9.1, "ScoopCaughtPosY": 10.1, "ReactionTime": 11.1 }, { "SpawnTime": 1.1, "CaughtTime": 2.1, "CaughtInQuadrant": 3, "ScoopQuadrants": [ 1, 2 ], "BucketQuadrants": [ 1, 2 ], "TypeOfBall": 0, "IsCollected": true, "ConeInitialPosX": 5.1, "ConeInitialPosY": 6.1, "ConeRaycastedPosX": 7.1, "ConeRaycastedPosY": 8.1, "ScoopCaughtPosX": 9.1, "ScoopCaughtPosY": 10.1, "ReactionTime": 11.1 } ], "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 }, "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
Sample:
<ScoopedItMetrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB"> <Agility>14.1</Agility> <AverageReactionTime>19.1</AverageReactionTime> <Coordination>13.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> <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>11.1</Focus> <LeftSideCorrect>15</LeftSideCorrect> <LeftSideIncorrect>17</LeftSideIncorrect> <LevelNumber>2</LevelNumber> <LevelSuccessful>true</LevelSuccessful> <NormalScoopsCaught>8</NormalScoopsCaught> <NumberOfStars>6</NumberOfStars> <ReactionTime>12.1</ReactionTime> <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> <RightSideCorrect>16</RightSideCorrect> <RightSideIncorrect>18</RightSideIncorrect> <ScoopLogs> <ScoopedItLogs> <BucketQuadrants xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </BucketQuadrants> <CaughtInQuadrant>3</CaughtInQuadrant> <CaughtTime>2.1</CaughtTime> <ConeInitialPosX>5.1</ConeInitialPosX> <ConeInitialPosY>6.1</ConeInitialPosY> <ConeRaycastedPosX>7.1</ConeRaycastedPosX> <ConeRaycastedPosY>8.1</ConeRaycastedPosY> <IsCollected>true</IsCollected> <ReactionTime>11.1</ReactionTime> <ScoopCaughtPosX>9.1</ScoopCaughtPosX> <ScoopCaughtPosY>10.1</ScoopCaughtPosY> <ScoopQuadrants xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ScoopQuadrants> <SpawnTime>1.1</SpawnTime> <TypeOfBall>SimpleBall</TypeOfBall> </ScoopedItLogs> <ScoopedItLogs> <BucketQuadrants xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </BucketQuadrants> <CaughtInQuadrant>3</CaughtInQuadrant> <CaughtTime>2.1</CaughtTime> <ConeInitialPosX>5.1</ConeInitialPosX> <ConeInitialPosY>6.1</ConeInitialPosY> <ConeRaycastedPosX>7.1</ConeRaycastedPosX> <ConeRaycastedPosY>8.1</ConeRaycastedPosY> <IsCollected>true</IsCollected> <ReactionTime>11.1</ReactionTime> <ScoopCaughtPosX>9.1</ScoopCaughtPosX> <ScoopCaughtPosY>10.1</ScoopCaughtPosY> <ScoopQuadrants xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ScoopQuadrants> <SpawnTime>1.1</SpawnTime> <TypeOfBall>SimpleBall</TypeOfBall> </ScoopedItLogs> </ScoopLogs> <Score>5</Score> <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> <TotalEnemies>9</TotalEnemies> <TotalEnemiesCaught>10</TotalEnemiesCaught> <TotalNormalScoops>7</TotalNormalScoops> <TotalTime>4.1</TotalTime> <UserzID>06ce1f71-4c41-4075-af39-c87b21607532</UserzID> </ScoopedItMetrics>
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.