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": "c9e141a0-6750-4ed0-aa8e-792aff51dd6c",
"DatePassed": "2026-05-06T12:36:24.1610284+00:00",
"Persents": 3,
"Time": 1,
"WPM": 1,
"Mistakes": 4,
"Symbols": 5,
"Words": 6,
"LiteralWpm": 7,
"IsSpelling": true,
"IsNH": true,
"Id": "be8a354c-49df-40e3-8ebb-6e123c8a5d4d",
"DatePast": "2026-05-06T12:36:24.1610284+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": "c9e141a0-6750-4ed0-aa8e-792aff51dd6c",
"DatePassed": "2026-05-06T12:36:24.1610284+00:00",
"Persents": 3,
"Time": 1,
"WPM": 1,
"Mistakes": 4,
"Symbols": 5,
"Words": 6,
"LiteralWpm": 7,
"IsSpelling": true,
"IsNH": true,
"Id": "be8a354c-49df-40e3-8ebb-6e123c8a5d4d",
"DatePast": "2026-05-06T12:36:24.1610284+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":"c9e141a0-6750-4ed0-aa8e-792aff51dd6c","DatePassed":"2026-05-06T12:36:24.1610284+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"be8a354c-49df-40e3-8ebb-6e123c8a5d4d","DatePast":"2026-05-06T12:36:24.1610284+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":"c9e141a0-6750-4ed0-aa8e-792aff51dd6c","DatePassed":"2026-05-06T12:36:24.1610284+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"be8a354c-49df-40e3-8ebb-6e123c8a5d4d","DatePast":"2026-05-06T12:36:24.1610284+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.