PUT api/Statistics/UploadStats
Request Information
URI Parameters
None.
Body Parameters
Collection of 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": "fd32f7f0-e67c-438a-b381-dabc94e55e8d",
"DatePassed": "2026-02-02T20:47:16.5873958+00:00",
"Persents": 3,
"Time": 1,
"WPM": 1,
"Mistakes": 4,
"Symbols": 5,
"Words": 6,
"LiteralWpm": 7,
"IsSpelling": true,
"IsNH": true,
"Id": "9a684d76-0af2-4a72-832a-6b8391a1b1c6",
"DatePast": "2026-02-02T20:47:16.5873958+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
},
{
"ModuleId": 1,
"UserId": "fd32f7f0-e67c-438a-b381-dabc94e55e8d",
"DatePassed": "2026-02-02T20:47:16.5873958+00:00",
"Persents": 3,
"Time": 1,
"WPM": 1,
"Mistakes": 4,
"Symbols": 5,
"Words": 6,
"LiteralWpm": 7,
"IsSpelling": true,
"IsNH": true,
"Id": "9a684d76-0af2-4a72-832a-6b8391a1b1c6",
"DatePast": "2026-02-02T20:47:16.5873958+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":"fd32f7f0-e67c-438a-b381-dabc94e55e8d","DatePassed":"2026-02-02T20:47:16.5873958+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"9a684d76-0af2-4a72-832a-6b8391a1b1c6","DatePast":"2026-02-02T20:47:16.5873958+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},{"ModuleId":1,"UserId":"fd32f7f0-e67c-438a-b381-dabc94e55e8d","DatePassed":"2026-02-02T20:47:16.5873958+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"9a684d76-0af2-4a72-832a-6b8391a1b1c6","DatePast":"2026-02-02T20:47:16.5873958+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.