POST api/ScoopedIt

Request Information

URI Parameters

None.

Body Parameters

ScoopedIt
NameDescriptionTypeAdditional information
UserzID

globally unique identifier

Required

LevelNumber

integer

Required

Range: inclusive between 1 and 100

LevelSuccessful

boolean

Required

TotalTime

decimal number

Required

Range: inclusive between 0 and 10000

Score

integer

Required

Range: inclusive between 0 and 10000

NumberOfStars

integer

Required

Range: inclusive between 0 and 10000

TotalNormalScoops

integer

Required

Range: inclusive between 0 and 10000

NormalScoopsCaught

integer

Required

Range: inclusive between 0 and 10000

NormalScoopsMissed

integer

Required

Range: inclusive between 0 and 10000

TotalEnemies

integer

Required

Range: inclusive between 0 and 10000

EnemiesAvoided

integer

Required

Range: inclusive between 0 and 10000

TotalSpecialObjects

integer

Required

Range: inclusive between 0 and 10000

SpecialObjectsCaught

integer

Required

Range: inclusive between 0 and 10000

Quadrant1

decimal number

Required

Range: inclusive between 0 and 10000

Quadrant2

decimal number

Required

Range: inclusive between 0 and 10000

Quadrant3

decimal number

Required

Range: inclusive between 0 and 10000

Quadrant4

decimal number

Required

Range: inclusive between 0 and 10000

AverageReactionTime

decimal number

Required

Range: inclusive between 0 and 10000

AverageResponseTime

decimal number

Required

Range: inclusive between 0 and 10000

MaxLevel

integer

Required

Range: inclusive between 0 and 100

ScoopLogs

Collection of ScoopedLogs

None.

Pictures

Collection of PictureClass

None.

LeftCaughtCount

decimal number

Required

Range: inclusive between 0 and 10000

RightCaughtCount

decimal number

Required

Range: inclusive between 0 and 10000

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "b00505bb-cf49-47db-a808-fb9861796adb",
  "LevelNumber": 2,
  "LevelSuccessful": true,
  "TotalTime": 4.1,
  "Score": 5,
  "NumberOfStars": 6,
  "TotalNormalScoops": 7,
  "NormalScoopsCaught": 8,
  "NormalScoopsMissed": 9,
  "TotalEnemies": 10,
  "EnemiesAvoided": 11,
  "TotalSpecialObjects": 12,
  "SpecialObjectsCaught": 13,
  "Quadrant1": 14.1,
  "Quadrant2": 15.1,
  "Quadrant3": 16.1,
  "Quadrant4": 17.1,
  "AverageReactionTime": 18.1,
  "AverageResponseTime": 19.1,
  "MaxLevel": 20,
  "ScoopLogs": [
    {
      "TypeOfBall": 0,
      "IsCollected": true,
      "ConeInitialPosX": 2.1,
      "ConeInitialPosY": 3.1,
      "ConeRaycastedPosX": 4.1,
      "ConeRaycastedPosY": 5.1,
      "ScoopCaughtPosX": 6.1,
      "ScoopCaughtPosY": 7.1,
      "ReactionTime": 8.1,
      "ResponseTime": 9.1
    },
    {
      "TypeOfBall": 0,
      "IsCollected": true,
      "ConeInitialPosX": 2.1,
      "ConeInitialPosY": 3.1,
      "ConeRaycastedPosX": 4.1,
      "ConeRaycastedPosY": 5.1,
      "ScoopCaughtPosX": 6.1,
      "ScoopCaughtPosY": 7.1,
      "ReactionTime": 8.1,
      "ResponseTime": 9.1
    }
  ],
  "Pictures": [
    {
      "GameTime": 1.1,
      "PicID": "227b4831-8622-4e26-b4ef-6448ff43ab5e"
    },
    {
      "GameTime": 1.1,
      "PicID": "227b4831-8622-4e26-b4ef-6448ff43ab5e"
    }
  ],
  "LeftCaughtCount": 21.1,
  "RightCaughtCount": 22.1
}

application/xml, text/xml

Sample:
<ScoopedIt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <AverageReactionTime>18.1</AverageReactionTime>
  <AverageResponseTime>19.1</AverageResponseTime>
  <EnemiesAvoided>11</EnemiesAvoided>
  <LeftCaughtCount>21.1</LeftCaughtCount>
  <LevelNumber>2</LevelNumber>
  <LevelSuccessful>true</LevelSuccessful>
  <MaxLevel>20</MaxLevel>
  <NormalScoopsCaught>8</NormalScoopsCaught>
  <NormalScoopsMissed>9</NormalScoopsMissed>
  <NumberOfStars>6</NumberOfStars>
  <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>227b4831-8622-4e26-b4ef-6448ff43ab5e</d2p1:PicID>
    </d2p1:PictureClass>
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>227b4831-8622-4e26-b4ef-6448ff43ab5e</d2p1:PicID>
    </d2p1:PictureClass>
  </Pictures>
  <Quadrant1>14.1</Quadrant1>
  <Quadrant2>15.1</Quadrant2>
  <Quadrant3>16.1</Quadrant3>
  <Quadrant4>17.1</Quadrant4>
  <RightCaughtCount>22.1</RightCaughtCount>
  <ScoopLogs>
    <ScoopedLogs>
      <ConeInitialPosX>2.1</ConeInitialPosX>
      <ConeInitialPosY>3.1</ConeInitialPosY>
      <ConeRaycastedPosX>4.1</ConeRaycastedPosX>
      <ConeRaycastedPosY>5.1</ConeRaycastedPosY>
      <IsCollected>true</IsCollected>
      <ReactionTime>8.1</ReactionTime>
      <ResponseTime>9.1</ResponseTime>
      <ScoopCaughtPosX>6.1</ScoopCaughtPosX>
      <ScoopCaughtPosY>7.1</ScoopCaughtPosY>
      <TypeOfBall>SimpleBall</TypeOfBall>
    </ScoopedLogs>
    <ScoopedLogs>
      <ConeInitialPosX>2.1</ConeInitialPosX>
      <ConeInitialPosY>3.1</ConeInitialPosY>
      <ConeRaycastedPosX>4.1</ConeRaycastedPosX>
      <ConeRaycastedPosY>5.1</ConeRaycastedPosY>
      <IsCollected>true</IsCollected>
      <ReactionTime>8.1</ReactionTime>
      <ResponseTime>9.1</ResponseTime>
      <ScoopCaughtPosX>6.1</ScoopCaughtPosX>
      <ScoopCaughtPosY>7.1</ScoopCaughtPosY>
      <TypeOfBall>SimpleBall</TypeOfBall>
    </ScoopedLogs>
  </ScoopLogs>
  <Score>5</Score>
  <SpecialObjectsCaught>13</SpecialObjectsCaught>
  <TotalEnemies>10</TotalEnemies>
  <TotalNormalScoops>7</TotalNormalScoops>
  <TotalSpecialObjects>12</TotalSpecialObjects>
  <TotalTime>4.1</TotalTime>
  <UserzID>b00505bb-cf49-47db-a808-fb9861796adb</UserzID>
</ScoopedIt>

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.