POST api/TimeTable
Request Information
URI Parameters
None.
Body Parameters
TimeTableName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
None. |
|
TimePlayed | date |
None. |
|
GameID | globally unique identifier |
None. |
|
TotalTime | decimal number |
None. |
|
TeamScore | integer |
None. |
|
PlayerScore | integer |
None. |
|
Current | integer |
None. |
|
Level | integer |
None. |
|
WrongHits | integer |
None. |
|
HitRate | decimal number |
None. |
|
Hand | TimeTableHandType |
None. |
|
Pictures | Collection of PictureClass |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "cbe3a72a-1df7-462e-bfce-bd49c52d76db", "TimePlayed": "2024-12-15T02:51:03.2109616+00:00", "GameID": "14c88e3b-52d3-4b0d-9f95-d35eca461c02", "TotalTime": 4.1, "TeamScore": 5, "PlayerScore": 6, "Current": 7, "Level": 8, "WrongHits": 9, "HitRate": 10.1, "Hand": 0, "Pictures": [ { "GameTime": 1.1, "PicID": "5df97dfe-15cf-4254-b69f-cb0cd62afb99" }, { "GameTime": 1.1, "PicID": "5df97dfe-15cf-4254-b69f-cb0cd62afb99" } ] }
application/xml, text/xml
Sample:
<TimeTableController.TimeTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <Current>7</Current> <GameID>14c88e3b-52d3-4b0d-9f95-d35eca461c02</GameID> <Hand>RIGHT</Hand> <HitRate>10.1</HitRate> <Level>8</Level> <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>5df97dfe-15cf-4254-b69f-cb0cd62afb99</d2p1:PicID> </d2p1:PictureClass> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>5df97dfe-15cf-4254-b69f-cb0cd62afb99</d2p1:PicID> </d2p1:PictureClass> </Pictures> <PlayerScore>6</PlayerScore> <TeamScore>5</TeamScore> <TimePlayed>2024-12-15T02:51:03.2109616+00:00</TimePlayed> <TotalTime>4.1</TotalTime> <UserzID>cbe3a72a-1df7-462e-bfce-bd49c52d76db</UserzID> <WrongHits>9</WrongHits> </TimeTableController.TimeTable>
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.