POST api/WhatsTheTimeV2/PostGameData

Request Information

URI Parameters

None.

Body Parameters

WhatsTheTimeV2Metrics
NameDescriptionTypeAdditional information
Hand

integer

Required

Range: inclusive between 0 and 1

QuizDetail

Collection of WhatsTheTimeQuizDetail

Required

UserzID

string

Required

AvgFPS

decimal number

Required

Range: inclusive between 0 and 5000

MinFPS

decimal number

Required

Range: inclusive between 0 and 5000

MaxFPS

decimal number

Required

Range: inclusive between 0 and 5000

FPSBelow19Time

decimal number

Required

Range: inclusive between 0 and 5000

FPSBetween19And30Time

decimal number

Required

Range: inclusive between 0 and 5000

FPSAbove30Time

decimal number

Required

Range: inclusive between 0 and 5000

TotalTime

decimal number

Required

Range: inclusive between 0 and 500

EngagedTime

decimal number

Required

Range: inclusive between 0 and 500

NoUserFoundTime

decimal number

Required

Range: inclusive between 0 and 500

NoUserFoundCount

integer

Required

Range: inclusive between 0 and 1000

PauseCount

integer

Required

Range: inclusive between 0 and 1000

WaitTime

decimal number

Required

Range: inclusive between 0 and 500

PauseTime

decimal number

Required

Range: inclusive between 0 and 5000

Request Formats

application/json, text/json

Sample:
{
  "Hand": 1,
  "QuizDetail": [
    {
      "Type": 0,
      "Hour": 1,
      "Minutes": 0,
      "LivesUsed": 2,
      "TotalTime": 3.1,
      "IsLevelSuccessful": true,
      "CompletedOnFirstTry": true
    },
    {
      "Type": 0,
      "Hour": 1,
      "Minutes": 0,
      "LivesUsed": 2,
      "TotalTime": 3.1,
      "IsLevelSuccessful": true,
      "CompletedOnFirstTry": true
    }
  ],
  "UserzID": "sample string 2",
  "AvgFPS": 3.1,
  "MinFPS": 4.1,
  "MaxFPS": 5.1,
  "FPSBelow19Time": 6.1,
  "FPSBetween19And30Time": 7.1,
  "FPSAbove30Time": 8.1,
  "TotalTime": 9.1,
  "EngagedTime": 10.1,
  "NoUserFoundTime": 11.1,
  "NoUserFoundCount": 12,
  "PauseCount": 13,
  "WaitTime": 14.1,
  "PauseTime": 15.1
}

application/xml, text/xml

Sample:
<WhatsTheTimeV2Metrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers.MongoDB">
  <EngagedTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">10.1</EngagedTime>
  <NoUserFoundCount xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">12</NoUserFoundCount>
  <NoUserFoundTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">11.1</NoUserFoundTime>
  <PauseCount xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">13</PauseCount>
  <PauseTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">15.1</PauseTime>
  <TotalTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">9.1</TotalTime>
  <WaitTime xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">14.1</WaitTime>
  <AvgFPS xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">3.1</AvgFPS>
  <FPSAbove30Time xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">8.1</FPSAbove30Time>
  <FPSBelow19Time xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">6.1</FPSBelow19Time>
  <FPSBetween19And30Time xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">7.1</FPSBetween19And30Time>
  <MaxFPS xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">5.1</MaxFPS>
  <MinFPS xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">4.1</MinFPS>
  <UserzID xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">sample string 2</UserzID>
  <Hand>1</Hand>
  <QuizDetail>
    <WhatsTheTimeQuizDetail>
      <CompletedOnFirstTry>true</CompletedOnFirstTry>
      <Hour>1</Hour>
      <IsLevelSuccessful>true</IsLevelSuccessful>
      <LivesUsed>2</LivesUsed>
      <Minutes>Zero</Minutes>
      <TotalTime>3.1</TotalTime>
      <Type>TextToAnalog</Type>
    </WhatsTheTimeQuizDetail>
    <WhatsTheTimeQuizDetail>
      <CompletedOnFirstTry>true</CompletedOnFirstTry>
      <Hour>1</Hour>
      <IsLevelSuccessful>true</IsLevelSuccessful>
      <LivesUsed>2</LivesUsed>
      <Minutes>Zero</Minutes>
      <TotalTime>3.1</TotalTime>
      <Type>TextToAnalog</Type>
    </WhatsTheTimeQuizDetail>
  </QuizDetail>
</WhatsTheTimeV2Metrics>

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.