POST api/WhatsTheTime
Request Information
URI Parameters
None.
Body Parameters
WhatsTheTime| Name | Description | Type | Additional information |
|---|---|---|---|
| UserzID | globally unique identifier |
None. |
|
| TimePlayed | date |
None. |
|
| UserID | string |
None. |
|
| GameID | globally unique identifier |
None. |
|
| TotalTime | decimal number |
None. |
|
| TimeForEachTurn | Collection of decimal number |
None. |
|
| Score | decimal number |
None. |
|
| LevelNumber | integer |
None. |
|
| MaxLevel | integer |
None. |
|
| Rank | integer |
None. |
|
| NoOfCorrectAnswers | integer |
None. |
|
| NoOfWrongAnswers | integer |
None. |
|
| Pictures | Collection of PictureClass |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserzID": "611a90d8-deef-46f0-93ba-64f780946cdc",
"TimePlayed": "2025-11-05T10:48:17.7718986+00:00",
"UserID": "sample string 3",
"GameID": "6306f260-f9d2-4aa4-9624-d13dabd63766",
"TotalTime": 5.1,
"TimeForEachTurn": [
1.1,
2.1
],
"Score": 6.1,
"LevelNumber": 7,
"MaxLevel": 8,
"Rank": 9,
"NoOfCorrectAnswers": 10,
"NoOfWrongAnswers": 11,
"Pictures": [
{
"GameTime": 1.1,
"PicID": "28ee9468-c0e1-4d4b-a9c6-0384a78fb039"
},
{
"GameTime": 1.1,
"PicID": "28ee9468-c0e1-4d4b-a9c6-0384a78fb039"
}
]
}
application/xml, text/xml
Sample:
<WhatsTheTimeController.WhatsTheTime xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers">
<GameID>6306f260-f9d2-4aa4-9624-d13dabd63766</GameID>
<LevelNumber>7</LevelNumber>
<MaxLevel>8</MaxLevel>
<NoOfCorrectAnswers>10</NoOfCorrectAnswers>
<NoOfWrongAnswers>11</NoOfWrongAnswers>
<Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models">
<d2p1:PictureClass>
<d2p1:GameTime>1.1</d2p1:GameTime>
<d2p1:PicID>28ee9468-c0e1-4d4b-a9c6-0384a78fb039</d2p1:PicID>
</d2p1:PictureClass>
<d2p1:PictureClass>
<d2p1:GameTime>1.1</d2p1:GameTime>
<d2p1:PicID>28ee9468-c0e1-4d4b-a9c6-0384a78fb039</d2p1:PicID>
</d2p1:PictureClass>
</Pictures>
<Rank>9</Rank>
<Score>6.1</Score>
<TimeForEachTurn xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:double>1.1</d2p1:double>
<d2p1:double>2.1</d2p1:double>
</TimeForEachTurn>
<TimePlayed>2025-11-05T10:48:17.7718986+00:00</TimePlayed>
<TotalTime>5.1</TotalTime>
<UserID>sample string 3</UserID>
<UserzID>611a90d8-deef-46f0-93ba-64f780946cdc</UserzID>
</WhatsTheTimeController.WhatsTheTime>
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.