POST api/NewBalanceIt

Request Information

URI Parameters

None.

Body Parameters

NewBalanceItResults
NameDescriptionTypeAdditional information
UserzID

globally unique identifier

Required

TotalTime

decimal number

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

LevelNumber

integer

Required

Range: inclusive between 1 and 100

NumberOfStars

integer

Required

Range: inclusive between 0 and 10000

MaxLevelUnlocked

integer

Required

Range: inclusive between 0 and 100

Score

integer

Required

Range: inclusive between 0 and 10000

LevelSuccessful

boolean

Required

Pictures

Collection of PictureClass

None.

GameMode

integer

Range: inclusive between 1 and 3

TotalBalanceTime

decimal number

Required

Range: inclusive between 0 and 10000

ObjectivesToCompleteNumber

integer

Required

Range: inclusive between 0 and 10000

NumberOfObjectsSpawned

integer

Required

Range: inclusive between 0 and 10000

NumberOfAttempts

integer

Required

Range: inclusive between 0 and 10000

LogAboveChestTotalTime

decimal number

Required

Range: inclusive between 0 and 10000

LeftTiltTotalTime

decimal number

Required

Range: inclusive between 0 and 10000

RightTiltTotalTime

decimal number

Required

Range: inclusive between 0 and 10000

NoTiltTotalTime

decimal number

Required

Range: inclusive between 0 and 10000

ReactionTime

decimal number

Required

Range: inclusive between 0 and 10000

ResponseTime

decimal number

Range: inclusive between 0 and 10000

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "7f0e3025-6391-474c-a43f-73e5ab6a4a7e",
  "TotalTime": 2.1,
  "Quadrant1": 3.1,
  "Quadrant2": 4.1,
  "Quadrant3": 5.1,
  "Quadrant4": 6.1,
  "LevelNumber": 7,
  "NumberOfStars": 8,
  "MaxLevelUnlocked": 9,
  "Score": 10,
  "LevelSuccessful": true,
  "Pictures": [
    {
      "GameTime": 1.1,
      "PicID": "f233b45a-62f3-456f-adca-35e6165f9dd9"
    },
    {
      "GameTime": 1.1,
      "PicID": "f233b45a-62f3-456f-adca-35e6165f9dd9"
    }
  ],
  "GameMode": 12,
  "TotalBalanceTime": 13.1,
  "ObjectivesToCompleteNumber": 14,
  "NumberOfObjectsSpawned": 15,
  "NumberOfAttempts": 16,
  "LogAboveChestTotalTime": 17.1,
  "LeftTiltTotalTime": 18.1,
  "RightTiltTotalTime": 19.1,
  "NoTiltTotalTime": 20.1,
  "ReactionTime": 21.1,
  "ResponseTime": 22.1
}

application/xml, text/xml

Sample:
<NewBalanceItResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <GameMode>12</GameMode>
  <LeftTiltTotalTime>18.1</LeftTiltTotalTime>
  <LevelNumber>7</LevelNumber>
  <LevelSuccessful>true</LevelSuccessful>
  <LogAboveChestTotalTime>17.1</LogAboveChestTotalTime>
  <MaxLevelUnlocked>9</MaxLevelUnlocked>
  <NoTiltTotalTime>20.1</NoTiltTotalTime>
  <NumberOfAttempts>16</NumberOfAttempts>
  <NumberOfObjectsSpawned>15</NumberOfObjectsSpawned>
  <NumberOfStars>8</NumberOfStars>
  <ObjectivesToCompleteNumber>14</ObjectivesToCompleteNumber>
  <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>f233b45a-62f3-456f-adca-35e6165f9dd9</d2p1:PicID>
    </d2p1:PictureClass>
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>f233b45a-62f3-456f-adca-35e6165f9dd9</d2p1:PicID>
    </d2p1:PictureClass>
  </Pictures>
  <Quadrant1>3.1</Quadrant1>
  <Quadrant2>4.1</Quadrant2>
  <Quadrant3>5.1</Quadrant3>
  <Quadrant4>6.1</Quadrant4>
  <ReactionTime>21.1</ReactionTime>
  <ResponseTime>22.1</ResponseTime>
  <RightTiltTotalTime>19.1</RightTiltTotalTime>
  <Score>10</Score>
  <TotalBalanceTime>13.1</TotalBalanceTime>
  <TotalTime>2.1</TotalTime>
  <UserzID>7f0e3025-6391-474c-a43f-73e5ab6a4a7e</UserzID>
</NewBalanceItResults>

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.