POST api/XyloMath
Request Information
URI Parameters
None.
Body Parameters
XyloMathName | Description | Type | Additional information |
---|---|---|---|
UserzID | globally unique identifier |
None. |
|
TimePlayed | date |
None. |
|
UserID | string |
None. |
|
GameID | globally unique identifier |
None. |
|
TotalTime | decimal number |
None. |
|
QuestionsCount | integer |
None. |
|
CorrectAnswersCount | integer |
None. |
|
WrongAnswersCount | integer |
None. |
|
AverageResponseTime | integer |
None. |
|
Score | integer |
None. |
|
Hand | HandType__ |
None. |
|
LevelNumber | integer |
None. |
|
MaxLevel | integer |
None. |
|
DidWin | boolean |
None. |
|
MaxLevelSubtraction | integer |
None. |
|
LevelType | integer |
None. |
|
Pictures | Collection of PictureClass |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserzID": "961d6482-7506-4df4-b5de-fd16fdb39ef1", "TimePlayed": "2024-12-15T02:42:16.0119204+00:00", "UserID": "sample string 3", "GameID": "34d7f64a-c33f-40a5-884b-fe35ff60f7e6", "TotalTime": 5.1, "QuestionsCount": 6, "CorrectAnswersCount": 7, "WrongAnswersCount": 8, "AverageResponseTime": 9, "Score": 10, "Hand": 0, "LevelNumber": 11, "MaxLevel": 12, "DidWin": true, "MaxLevelSubtraction": 14, "LevelType": 15, "Pictures": [ { "GameTime": 1.1, "PicID": "9b8511d9-d77d-4341-a7ec-3a11c48f8263" }, { "GameTime": 1.1, "PicID": "9b8511d9-d77d-4341-a7ec-3a11c48f8263" } ] }
application/xml, text/xml
Sample:
<XyloMathController.XyloMath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Controllers"> <AverageResponseTime>9</AverageResponseTime> <CorrectAnswersCount>7</CorrectAnswersCount> <DidWin>true</DidWin> <GameID>34d7f64a-c33f-40a5-884b-fe35ff60f7e6</GameID> <Hand>RIGHT</Hand> <LevelNumber>11</LevelNumber> <LevelType>15</LevelType> <MaxLevel>12</MaxLevel> <MaxLevelSubtraction>14</MaxLevelSubtraction> <Pictures xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>9b8511d9-d77d-4341-a7ec-3a11c48f8263</d2p1:PicID> </d2p1:PictureClass> <d2p1:PictureClass> <d2p1:GameTime>1.1</d2p1:GameTime> <d2p1:PicID>9b8511d9-d77d-4341-a7ec-3a11c48f8263</d2p1:PicID> </d2p1:PictureClass> </Pictures> <QuestionsCount>6</QuestionsCount> <Score>10</Score> <TimePlayed>2024-12-15T02:42:16.0119204+00:00</TimePlayed> <TotalTime>5.1</TotalTime> <UserID>sample string 3</UserID> <UserzID>961d6482-7506-4df4-b5de-fd16fdb39ef1</UserzID> <WrongAnswersCount>8</WrongAnswersCount> </XyloMathController.XyloMath>
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.