POST api/BubblePopV2/PostGameData

Request Information

URI Parameters

None.

Body Parameters

BubblePopV2Metrics
NameDescriptionTypeAdditional information
UserzID

string

Required

LevelNumber

integer

Required

Range: inclusive between 1 and 100

IsSuccessful

boolean

Required

TotalTime

decimal number

Required

Range: inclusive between 0 and 1000

Agility

decimal number

Required

Range: inclusive between 0 and 100

Left_Hand_Hits

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Hits

integer

Required

Range: inclusive between 0 and 10000

Left_Hand_Incorrect_Hit

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Incorrect_Hit

integer

Required

Range: inclusive between 0 and 10000

Left_Hand_Left_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Left_Hand_Right_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Left_Hand_Left_Side_Incorrect

integer

Required

Range: inclusive between 0 and 10000

Left_Hand_Right_Side_Incorrect_Hit

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Left_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Right_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Left_Side_Incorrect

integer

Required

Range: inclusive between 0 and 10000

Right_Hand_Right_Side_Incorrect_Hit

integer

Required

Range: inclusive between 0 and 10000

Left_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Right_Side_Correct

integer

Required

Range: inclusive between 0 and 10000

Left_Side_Incorrect

integer

Required

Range: inclusive between 0 and 10000

Right_Side_Incorrect_Hit

integer

Required

Range: inclusive between 0 and 10000

CorrectBubblesSpawned

integer

Required

Range: inclusive between 0 and 10000

CorrectBubblesCaught

integer

Required

Range: inclusive between 0 and 10000

EnemyBubblesCaught

integer

Required

Range: inclusive between 0 and 10000

EnemyBubblesSpawned

integer

Required

Range: inclusive between 0 and 10000

LivesRemaining

integer

Required

Range: inclusive between 0 and 3

Required

GameQuadrants

Required

Filled

GameQuadrants

Required

BubbleLogs

Collection of BubbleLog

None.

TimeMetrics

TimeDetail

Required

FPSMetrics

FPSDetail

Required

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "sample string 1",
  "LevelNumber": 2,
  "IsSuccessful": true,
  "TotalTime": 4.1,
  "Agility": 5.1,
  "Left_Hand_Hits": 6,
  "Right_Hand_Hits": 7,
  "Left_Hand_Incorrect_Hit": 8,
  "Right_Hand_Incorrect_Hit": 9,
  "Left_Hand_Left_Side_Correct": 10,
  "Left_Hand_Right_Side_Correct": 11,
  "Left_Hand_Left_Side_Incorrect": 12,
  "Left_Hand_Right_Side_Incorrect_Hit": 13,
  "Right_Hand_Left_Side_Correct": 14,
  "Right_Hand_Right_Side_Correct": 15,
  "Right_Hand_Left_Side_Incorrect": 16,
  "Right_Hand_Right_Side_Incorrect_Hit": 17,
  "Left_Side_Correct": 18,
  "Right_Side_Correct": 19,
  "Left_Side_Incorrect": 20,
  "Right_Side_Incorrect_Hit": 21,
  "CorrectBubblesSpawned": 22,
  "CorrectBubblesCaught": 23,
  "EnemyBubblesCaught": 24,
  "EnemyBubblesSpawned": 25,
  "LivesRemaining": 26,
  "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
  },
  "BubbleLogs": [
    {
      "IsPopped": true,
      "WhichHand": 0,
      "BubbleType": 0,
      "ReactionTime": 2.1,
      "ResponseTime": 3.1,
      "PoppedInWhichQuadrant": 4,
      "Spawntime": 5.1,
      "PopTime": 6.1
    },
    {
      "IsPopped": true,
      "WhichHand": 0,
      "BubbleType": 0,
      "ReactionTime": 2.1,
      "ResponseTime": 3.1,
      "PoppedInWhichQuadrant": 4,
      "Spawntime": 5.1,
      "PopTime": 6.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:
<BubblePopV2Metrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB">
  <Agility>5.1</Agility>
  <BubbleLogs>
    <BubbleLog>
      <BubbleType>SimpleBubble</BubbleType>
      <IsPopped>true</IsPopped>
      <PopTime>6.1</PopTime>
      <PoppedInWhichQuadrant>4</PoppedInWhichQuadrant>
      <ReactionTime>2.1</ReactionTime>
      <ResponseTime>3.1</ResponseTime>
      <Spawntime>5.1</Spawntime>
      <WhichHand>LeftHand</WhichHand>
    </BubbleLog>
    <BubbleLog>
      <BubbleType>SimpleBubble</BubbleType>
      <IsPopped>true</IsPopped>
      <PopTime>6.1</PopTime>
      <PoppedInWhichQuadrant>4</PoppedInWhichQuadrant>
      <ReactionTime>2.1</ReactionTime>
      <ResponseTime>3.1</ResponseTime>
      <Spawntime>5.1</Spawntime>
      <WhichHand>LeftHand</WhichHand>
    </BubbleLog>
  </BubbleLogs>
  <CorrectBubblesCaught>23</CorrectBubblesCaught>
  <CorrectBubblesSpawned>22</CorrectBubblesSpawned>
  <EnemyBubblesCaught>24</EnemyBubblesCaught>
  <EnemyBubblesSpawned>25</EnemyBubblesSpawned>
  <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>
  <IsSuccessful>true</IsSuccessful>
  <Left_Hand_Hits>6</Left_Hand_Hits>
  <Left_Hand_Incorrect_Hit>8</Left_Hand_Incorrect_Hit>
  <Left_Hand_Left_Side_Correct>10</Left_Hand_Left_Side_Correct>
  <Left_Hand_Left_Side_Incorrect>12</Left_Hand_Left_Side_Incorrect>
  <Left_Hand_Right_Side_Correct>11</Left_Hand_Right_Side_Correct>
  <Left_Hand_Right_Side_Incorrect_Hit>13</Left_Hand_Right_Side_Incorrect_Hit>
  <Left_Side_Correct>18</Left_Side_Correct>
  <Left_Side_Incorrect>20</Left_Side_Incorrect>
  <LevelNumber>2</LevelNumber>
  <LivesRemaining>26</LivesRemaining>
  <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>
  <Right_Hand_Hits>7</Right_Hand_Hits>
  <Right_Hand_Incorrect_Hit>9</Right_Hand_Incorrect_Hit>
  <Right_Hand_Left_Side_Correct>14</Right_Hand_Left_Side_Correct>
  <Right_Hand_Left_Side_Incorrect>16</Right_Hand_Left_Side_Incorrect>
  <Right_Hand_Right_Side_Correct>15</Right_Hand_Right_Side_Correct>
  <Right_Hand_Right_Side_Incorrect_Hit>17</Right_Hand_Right_Side_Incorrect_Hit>
  <Right_Side_Correct>19</Right_Side_Correct>
  <Right_Side_Incorrect_Hit>21</Right_Side_Incorrect_Hit>
  <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>
  <TotalTime>4.1</TotalTime>
  <UserzID>sample string 1</UserzID>
</BubblePopV2Metrics>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.