POST api/FishMunchies

Request Information

URI Parameters

None.

Body Parameters

FishMunchiesModel
NameDescriptionTypeAdditional information
UserzID

globally unique identifier

None.

TimePlayed

date

None.

UserID

string

None.

GameID

globally unique identifier

None.

TotalTime

decimal number

None.

CorrectShapeSpawnCount

decimal number

None.

CorrectShapeCaughtCount

decimal number

None.

WrongShapeSpawnCount

decimal number

None.

WrongShapeCaughtCount

decimal number

None.

CorrectShape

string

None.

Score

decimal number

None.

LevelNumber

integer

None.

MaxLevel

integer

None.

Hand

HandType

None.

IsSuccessful

boolean

None.

Pictures

Collection of PictureClass

None.

Request Formats

application/json, text/json

Sample:
{
  "UserzID": "49c1ed60-8590-4a0f-8723-2ab0143345c5",
  "TimePlayed": "2024-12-06T15:39:23.4578942+00:00",
  "UserID": "sample string 3",
  "GameID": "71be13ab-d74e-4d2a-aabc-c8509deace92",
  "TotalTime": 5.1,
  "CorrectShapeSpawnCount": 6.1,
  "CorrectShapeCaughtCount": 7.1,
  "WrongShapeSpawnCount": 8.1,
  "WrongShapeCaughtCount": 9.1,
  "CorrectShape": "sample string 10",
  "Score": 11.1,
  "LevelNumber": 12,
  "MaxLevel": 13,
  "Hand": 0,
  "IsSuccessful": true,
  "Pictures": [
    {
      "GameTime": 1.1,
      "PicID": "a25f1138-d693-461e-a291-fd7d2259e21a"
    },
    {
      "GameTime": 1.1,
      "PicID": "a25f1138-d693-461e-a291-fd7d2259e21a"
    }
  ]
}

application/xml, text/xml

Sample:
<FishMunchiesController.FishMunchies xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
  <CorrectShape>sample string 10</CorrectShape>
  <CorrectShapeCaughtCount>7.1</CorrectShapeCaughtCount>
  <CorrectShapeSpawnCount>6.1</CorrectShapeSpawnCount>
  <GameID>71be13ab-d74e-4d2a-aabc-c8509deace92</GameID>
  <Hand>RIGHT</Hand>
  <IsSuccessful>true</IsSuccessful>
  <LevelNumber>12</LevelNumber>
  <MaxLevel>13</MaxLevel>
  <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>a25f1138-d693-461e-a291-fd7d2259e21a</d2p1:PicID>
    </d2p1:PictureClass>
    <d2p1:PictureClass>
      <d2p1:GameTime>1.1</d2p1:GameTime>
      <d2p1:PicID>a25f1138-d693-461e-a291-fd7d2259e21a</d2p1:PicID>
    </d2p1:PictureClass>
  </Pictures>
  <Score>11.1</Score>
  <TimePlayed>2024-12-06T15:39:23.4578942+00:00</TimePlayed>
  <TotalTime>5.1</TotalTime>
  <UserID>sample string 3</UserID>
  <UserzID>49c1ed60-8590-4a0f-8723-2ab0143345c5</UserzID>
  <WrongShapeCaughtCount>9.1</WrongShapeCaughtCount>
  <WrongShapeSpawnCount>8.1</WrongShapeSpawnCount>
</FishMunchiesController.FishMunchies>

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.