POST api/GhostMenace
Request Information
URI Parameters
None.
Body Parameters
GhostMenaceData| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | globally unique identifier |
None. |
|
| LeftFlipperHit | decimal number |
None. |
|
| RightFlipperHit | decimal number |
None. |
|
| Score | decimal number |
None. |
|
| TotalActiveTime | decimal number |
None. |
|
| RoundBumperHits | integer |
None. |
|
| StraightBumpersHit | integer |
None. |
|
| GhostMenaceGameLevel | GhostMenaceGameLevel |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "569eb615-39b9-4dfb-9cd5-bda34b1b8578",
"LeftFlipperHit": 2.1,
"RightFlipperHit": 3.1,
"Score": 4.1,
"TotalActiveTime": 5.1,
"RoundBumperHits": 6,
"StraightBumpersHit": 7,
"GhostMenaceGameLevel": 0
}
application/xml, text/xml
Sample:
<GhostMenaceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <GhostMenaceGameLevel>Level1</GhostMenaceGameLevel> <LeftFlipperHit>2.1</LeftFlipperHit> <RightFlipperHit>3.1</RightFlipperHit> <RoundBumperHits>6</RoundBumperHits> <Score>4.1</Score> <StraightBumpersHit>7</StraightBumpersHit> <TotalActiveTime>5.1</TotalActiveTime> <UserID>569eb615-39b9-4dfb-9cd5-bda34b1b8578</UserID> </GhostMenaceData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.