POST api/BrainGrubV2/TestingPostGameData

Request Information

URI Parameters

None.

Body Parameters

BrainGrubV2Model
NameDescriptionTypeAdditional information
UserzID

globally unique identifier

Required

Type

BrainGrubGameType

Required

LevelNumber

integer

Required

IsSuccessful

boolean

Required

TotalTime

decimal number

Required

GameData

Collection of BrainGrubGameData

Required

FPSDetail

FPSDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "b6bf87a2-e5ae-445b-adaa-9e0fb43c3a8b",
  "Type": 0,
  "LevelNumber": 2,
  "IsSuccessful": true,
  "TotalTime": 4.0,
  "GameData": [
    {
      "SNo": 1,
      "TotalClicks": 2,
      "RightClick": 3,
      "Normalized": 4.0,
      "LiveLost": 5,
      "Time": 6.0,
      "WaitTime": 7.0,
      "NoUserDetectedTime": 8.0,
      "NotEngagedTime": 9.0,
      "FirstTimeHitOnIdex": true,
      "ReactionTime": 11.0,
      "PauseTime": 12.0,
      "PauseClick": 13,
      "ObjectiveClick": true,
      "IndexHit": {
        "X": 1,
        "Y": 2
      }
    },
    {
      "SNo": 1,
      "TotalClicks": 2,
      "RightClick": 3,
      "Normalized": 4.0,
      "LiveLost": 5,
      "Time": 6.0,
      "WaitTime": 7.0,
      "NoUserDetectedTime": 8.0,
      "NotEngagedTime": 9.0,
      "FirstTimeHitOnIdex": true,
      "ReactionTime": 11.0,
      "PauseTime": 12.0,
      "PauseClick": 13,
      "ObjectiveClick": true,
      "IndexHit": {
        "X": 1,
        "Y": 2
      }
    }
  ],
  "FPSDetail": {
    "AvgFPS": 1.1,
    "MinFPS": 2.1,
    "MaxFPS": 3.1,
    "FPSBelow19Time": 4.1,
    "FPSBetween19And30Time": 5.1,
    "FPSAbove30Time": 6.1
  }
}

application/xml, text/xml

Sample:
<BrainGrubV2Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <FPSDetail 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>
  </FPSDetail>
  <GameData>
    <BrainGrubGameData>
      <FirstTimeHitOnIdex>true</FirstTimeHitOnIdex>
      <IndexHit>
        <X>1</X>
        <Y>2</Y>
      </IndexHit>
      <LiveLost>5</LiveLost>
      <NoUserDetectedTime>8</NoUserDetectedTime>
      <Normalized>4</Normalized>
      <NotEngagedTime>9</NotEngagedTime>
      <ObjectiveClick>true</ObjectiveClick>
      <PauseClick>13</PauseClick>
      <PauseTime>12</PauseTime>
      <ReactionTime>11</ReactionTime>
      <RightClick>3</RightClick>
      <SNo>1</SNo>
      <Time>6</Time>
      <TotalClicks>2</TotalClicks>
      <WaitTime>7</WaitTime>
    </BrainGrubGameData>
    <BrainGrubGameData>
      <FirstTimeHitOnIdex>true</FirstTimeHitOnIdex>
      <IndexHit>
        <X>1</X>
        <Y>2</Y>
      </IndexHit>
      <LiveLost>5</LiveLost>
      <NoUserDetectedTime>8</NoUserDetectedTime>
      <Normalized>4</Normalized>
      <NotEngagedTime>9</NotEngagedTime>
      <ObjectiveClick>true</ObjectiveClick>
      <PauseClick>13</PauseClick>
      <PauseTime>12</PauseTime>
      <ReactionTime>11</ReactionTime>
      <RightClick>3</RightClick>
      <SNo>1</SNo>
      <Time>6</Time>
      <TotalClicks>2</TotalClicks>
      <WaitTime>7</WaitTime>
    </BrainGrubGameData>
  </GameData>
  <IsSuccessful>true</IsSuccessful>
  <LevelNumber>2</LevelNumber>
  <TotalTime>4</TotalTime>
  <Type>Pattern</Type>
  <UserzID>b6bf87a2-e5ae-445b-adaa-9e0fb43c3a8b</UserzID>
</BrainGrubV2Model>

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.