POST api/FishMunchiesV2/PostGameData
Request Information
URI Parameters
None.
Body Parameters
FishMunchiesV2MetricsName | Description | Type | Additional information |
---|---|---|---|
UserzID | string |
Required |
|
TimePlayed | date |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 100 |
|
IsSuccessful | boolean |
Required |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 1000 |
|
CorrectShape | string |
Required |
|
CorrectShapesEatenOnRightSide | integer |
Required Range: inclusive between 0 and 10000 |
|
CorrectShapesEatenOnLeftSide | integer |
Required Range: inclusive between 0 and 10000 |
|
WrongShapesEatenOnRightSide | integer |
Required Range: inclusive between 0 and 10000 |
|
WrongShapesEatenOnLeftSide | integer |
Required Range: inclusive between 0 and 10000 |
|
Hand | integer |
Required Range: inclusive between 0 and 1 |
|
ShapesData | Collection of ShapeDetail |
Required |
|
TimeMetrics | TimeDetail |
Required |
|
FPSMetrics | FPSDetail |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "sample string 1", "TimePlayed": "2024-12-06T15:39:24.4735423+00:00", "LevelNumber": 3, "IsSuccessful": true, "TotalTime": 5.1, "CorrectShape": "sample string 6", "CorrectShapesEatenOnRightSide": 7, "CorrectShapesEatenOnLeftSide": 8, "WrongShapesEatenOnRightSide": 9, "WrongShapesEatenOnLeftSide": 10, "Hand": 11, "ShapesData": [ { "isCorrectShape": true, "isCaught": true, "ReactionTime": 3.1, "SpawnTime": 4.1, "CaughtTime": 5.1 }, { "isCorrectShape": true, "isCaught": true, "ReactionTime": 3.1, "SpawnTime": 4.1, "CaughtTime": 5.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 } }
application/xml, text/xml
Sample:
<FishMunchiesV2Metrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <CorrectShape>sample string 6</CorrectShape> <CorrectShapesEatenOnLeftSide>8</CorrectShapesEatenOnLeftSide> <CorrectShapesEatenOnRightSide>7</CorrectShapesEatenOnRightSide> <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> <Hand>11</Hand> <IsSuccessful>true</IsSuccessful> <LevelNumber>3</LevelNumber> <ShapesData> <ShapeDetail> <CaughtTime>5.1</CaughtTime> <ReactionTime>3.1</ReactionTime> <SpawnTime>4.1</SpawnTime> <isCaught>true</isCaught> <isCorrectShape>true</isCorrectShape> </ShapeDetail> <ShapeDetail> <CaughtTime>5.1</CaughtTime> <ReactionTime>3.1</ReactionTime> <SpawnTime>4.1</SpawnTime> <isCaught>true</isCaught> <isCorrectShape>true</isCorrectShape> </ShapeDetail> </ShapesData> <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> <TimePlayed>2024-12-06T15:39:24.4735423+00:00</TimePlayed> <TotalTime>5.1</TotalTime> <UserzID>sample string 1</UserzID> <WrongShapesEatenOnLeftSide>10</WrongShapesEatenOnLeftSide> <WrongShapesEatenOnRightSide>9</WrongShapesEatenOnRightSide> </FishMunchiesV2Metrics>
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.