POST api/BrainGrub
Request Information
URI Parameters
None.
Body Parameters
BrainGrubModelName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
Required |
|
TimePlayed | date |
Required |
|
TotalTime | decimal number |
Required Range: inclusive between 0 and 10000 |
|
GameType | GameType |
Required |
|
IsSuccessful | boolean |
Required |
|
TimeInSeconds | integer |
Required Range: inclusive between 0 and 10000 |
|
NumberOfMoves | integer |
Required Range: inclusive between 0 and 10000 |
|
AverageTimeUntilCardPicked | decimal number |
Required Range: inclusive between 0 and 10000 |
|
Score | integer |
Required Range: inclusive between 0 and 10000 |
|
Lives | integer |
Required Range: inclusive between 0 and 4 |
|
HandType | HandType___ |
Required |
|
LevelNumber | integer |
Required Range: inclusive between 1 and 30 |
|
MaxLevelFreeMode | integer |
None. |
|
MaxLevelTimeMode | integer |
None. |
|
MaxLevelRememberMode | integer |
None. |
|
Pictures | Collection of PictureClass |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "18208d53-5241-4317-819c-761e18252235", "TimePlayed": "2025-06-21T02:45:53.3204162+00:00", "TotalTime": 3.1, "GameType": 0, "IsSuccessful": true, "TimeInSeconds": 5, "NumberOfMoves": 6, "AverageTimeUntilCardPicked": 7.1, "Score": 8, "Lives": 9, "HandType": 0, "LevelNumber": 10, "MaxLevelFreeMode": 11, "MaxLevelTimeMode": 12, "MaxLevelRememberMode": 13, "Pictures": [ { "GameTime": 1.1, "PicID": "d6f76b27-e5f9-4660-be02-bab3c3acd969" }, { "GameTime": 1.1, "PicID": "d6f76b27-e5f9-4660-be02-bab3c3acd969" } ] }
application/xml, text/xml
Sample:
<BrainGrubController.BrainGrub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <AverageTimeUntilCardPicked>7.1</AverageTimeUntilCardPicked> <GameType>freePlay</GameType> <HandType>RIGHT</HandType> <IsSuccessful>true</IsSuccessful> <LevelNumber>10</LevelNumber> <Lives>9</Lives> <MaxLevelFreeMode>11</MaxLevelFreeMode> <MaxLevelRememberMode>13</MaxLevelRememberMode> <MaxLevelTimeMode>12</MaxLevelTimeMode> <NumberOfMoves>6</NumberOfMoves> <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>d6f76b27-e5f9-4660-be02-bab3c3acd969</d2p1:PicID> </d2p1:PictureClass> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>d6f76b27-e5f9-4660-be02-bab3c3acd969</d2p1:PicID> </d2p1:PictureClass> </Pictures> <Score>8</Score> <TimeInSeconds>5</TimeInSeconds> <TimePlayed>2025-06-21T02:45:53.3204162+00:00</TimePlayed> <TotalTime>3.1</TotalTime> <UserzID>18208d53-5241-4317-819c-761e18252235</UserzID> </BrainGrubController.BrainGrub>
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.