POST api/KitsKitchen
Request Information
URI Parameters
None.
Body Parameters
KitsKitchenName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
None. |
|
TimePlayed | date |
None. |
|
GameID | globally unique identifier |
None. |
|
TotalTime | decimal number |
None. |
|
CorrectAnswers | integer |
None. |
|
WrongAnswers | integer |
None. |
|
RecipeName | string |
None. |
|
Hand | KitsKitchenHandType |
None. |
|
Pictures | Collection of PictureClass |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "9548584e-ae2f-4bee-9f73-332f241871dd", "TimePlayed": "2024-12-06T15:41:30.2747566+00:00", "GameID": "b0af5440-a65c-4846-a1b4-956865dce148", "TotalTime": 4.1, "CorrectAnswers": 5, "WrongAnswers": 6, "RecipeName": "sample string 7", "Hand": 0, "Pictures": [ { "GameTime": 1.1, "PicID": "67cbd4dd-6169-46ba-a337-51d0cbe01478" }, { "GameTime": 1.1, "PicID": "67cbd4dd-6169-46ba-a337-51d0cbe01478" } ] }
application/xml, text/xml
Sample:
<KitsKitchenController.KitsKitchen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <CorrectAnswers>5</CorrectAnswers> <GameID>b0af5440-a65c-4846-a1b4-956865dce148</GameID> <Hand>RIGHT</Hand> <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>67cbd4dd-6169-46ba-a337-51d0cbe01478</d2p1:PicID> </d2p1:PictureClass> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>67cbd4dd-6169-46ba-a337-51d0cbe01478</d2p1:PicID> </d2p1:PictureClass> </Pictures> <RecipeName>sample string 7</RecipeName> <TimePlayed>2024-12-06T15:41:30.2747566+00:00</TimePlayed> <TotalTime>4.1</TotalTime> <UserzID>9548584e-ae2f-4bee-9f73-332f241871dd</UserzID> <WrongAnswers>6</WrongAnswers> </KitsKitchenController.KitsKitchen>
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.