PUT api/Statistics/SaveStats
Request Information
URI Parameters
None.
Body Parameters
StatisticViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ModuleId | integer |
None. |
|
| UserId | globally unique identifier |
None. |
|
| DatePassed | date |
None. |
|
| Persents | integer |
None. |
|
| Time | integer |
None. |
|
| WPM | integer |
None. |
|
| Mistakes | integer |
None. |
|
| Symbols | integer |
None. |
|
| Words | integer |
None. |
|
| LiteralWpm | integer |
None. |
|
| IsSpelling | boolean |
None. |
|
| IsNH | boolean |
None. |
|
| Id | globally unique identifier |
None. |
|
| DatePast | date |
None. |
|
| Score | decimal number |
None. |
|
| CorrectTypedWord | Collection of CorrectTypedWord |
None. |
|
| NextModuleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ModuleId": 1,
"UserId": "7e2a335f-fb48-4791-b5b9-e1b32ce6658a",
"DatePassed": "2026-02-02T20:46:37.8106083+00:00",
"Persents": 3,
"Time": 1,
"WPM": 1,
"Mistakes": 4,
"Symbols": 5,
"Words": 6,
"LiteralWpm": 7,
"IsSpelling": true,
"IsNH": true,
"Id": "3ef32a18-0446-4da4-be54-fc20d8b31068",
"DatePast": "2026-02-02T20:46:37.8106083+00:00",
"Score": 12.1,
"CorrectTypedWord": [
{
"Correct": "sample string 1",
"Typed": "sample string 2",
"IsCorrect": true
},
{
"Correct": "sample string 1",
"Typed": "sample string 2",
"IsCorrect": true
}
],
"NextModuleId": 1
}
application/octet-stream, text/plain
Sample:
{"ModuleId":1,"UserId":"7e2a335f-fb48-4791-b5b9-e1b32ce6658a","DatePassed":"2026-02-02T20:46:37.8106083+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"3ef32a18-0446-4da4-be54-fc20d8b31068","DatePast":"2026-02-02T20:46:37.8106083+00:00","Score":12.1,"CorrectTypedWord":[{"Correct":"sample string 1","Typed":"sample string 2","IsCorrect":true},{"Correct":"sample string 1","Typed":"sample string 2","IsCorrect":true}],"NextModuleId":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.