PUT api/Statistics/UploadStats
Request Information
URI Parameters
None.
Body Parameters
Collection of StatisticViewModelName | 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": "dd297da3-ee15-4802-ad0a-fa5d6b4aaa6f", "DatePassed": "2025-08-29T01:47:42.4707872+00:00", "Persents": 3, "Time": 1, "WPM": 1, "Mistakes": 4, "Symbols": 5, "Words": 6, "LiteralWpm": 7, "IsSpelling": true, "IsNH": true, "Id": "5cbf2d1c-87aa-4dfd-82d6-5acb2768d49b", "DatePast": "2025-08-29T01:47:42.4707872+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": "dd297da3-ee15-4802-ad0a-fa5d6b4aaa6f", "DatePassed": "2025-08-29T01:47:42.4707872+00:00", "Persents": 3, "Time": 1, "WPM": 1, "Mistakes": 4, "Symbols": 5, "Words": 6, "LiteralWpm": 7, "IsSpelling": true, "IsNH": true, "Id": "5cbf2d1c-87aa-4dfd-82d6-5acb2768d49b", "DatePast": "2025-08-29T01:47:42.4707872+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":"dd297da3-ee15-4802-ad0a-fa5d6b4aaa6f","DatePassed":"2025-08-29T01:47:42.4707872+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"5cbf2d1c-87aa-4dfd-82d6-5acb2768d49b","DatePast":"2025-08-29T01:47:42.4707872+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":"dd297da3-ee15-4802-ad0a-fa5d6b4aaa6f","DatePassed":"2025-08-29T01:47:42.4707872+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"5cbf2d1c-87aa-4dfd-82d6-5acb2768d49b","DatePast":"2025-08-29T01:47:42.4707872+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.