POST api/BrainGrub
Request Information
URI Parameters
None.
Body Parameters
BrainGrubModel| Name | 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": "95e7a8ec-5bb4-4dbe-9c02-550e30ab7ae7",
"TimePlayed": "2025-12-21T15:06:17.9361764+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": "f316203a-75fe-4ec3-b4d3-3db2e02eac46"
},
{
"GameTime": 1.1,
"PicID": "f316203a-75fe-4ec3-b4d3-3db2e02eac46"
}
]
}
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>f316203a-75fe-4ec3-b4d3-3db2e02eac46</d2p1:PicID>
</d2p1:PictureClass>
<d2p1:PictureClass>
<d2p1:GameTime>1.1</d2p1:GameTime>
<d2p1:PicID>f316203a-75fe-4ec3-b4d3-3db2e02eac46</d2p1:PicID>
</d2p1:PictureClass>
</Pictures>
<Score>8</Score>
<TimeInSeconds>5</TimeInSeconds>
<TimePlayed>2025-12-21T15:06:17.9361764+00:00</TimePlayed>
<TotalTime>3.1</TotalTime>
<UserzID>95e7a8ec-5bb4-4dbe-9c02-550e30ab7ae7</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.