POST api/NewFlashDash

Request Information

URI Parameters

None.

Body Parameters

NewFlashDashResults
NameDescriptionTypeAdditional information
UserzID

globally unique identifier

Required

TotalTime

decimal number

Required

TotalCoins

decimal number

Required

TotalLaneSwitched

decimal number

Required

MotorMovement

decimal number

Required

LevelNumber

integer

Required

IsSuccessful

boolean

Required

MaxLevelUnlocked

integer

Required

Score

integer

Required

TotalCoinsCollected

decimal number

Required

NoOfLaneSwitched

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "620537e0-b4ed-4ff9-a778-15bf8e420205",
  "TotalTime": 1.1,
  "TotalCoins": 2.1,
  "TotalLaneSwitched": 3.1,
  "MotorMovement": 4.1,
  "LevelNumber": 5,
  "IsSuccessful": true,
  "MaxLevelUnlocked": 7,
  "Score": 8,
  "TotalCoinsCollected": 9.1,
  "NoOfLaneSwitched": 10.1
}

application/xml, text/xml

Sample:
<NewFlashDashController.NewFlashDashResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <IsSuccessful>true</IsSuccessful>
  <LevelNumber>5</LevelNumber>
  <MaxLevelUnlocked>7</MaxLevelUnlocked>
  <MotorMovement>4.1</MotorMovement>
  <NoOfLaneSwitched>10.1</NoOfLaneSwitched>
  <Score>8</Score>
  <TotalCoins>2.1</TotalCoins>
  <TotalCoinsCollected>9.1</TotalCoinsCollected>
  <TotalLaneSwitched>3.1</TotalLaneSwitched>
  <TotalTime>1.1</TotalTime>
  <UserzID>620537e0-b4ed-4ff9-a778-15bf8e420205</UserzID>
</NewFlashDashController.NewFlashDashResults>

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.