PUT api/Statistics/SaveStats
Request Information
URI Parameters
None.
Body Parameters
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": "49845e47-8fa6-4b29-b75a-95ca87465010", "DatePassed": "2025-08-29T01:45:42.7490893+00:00", "Persents": 3, "Time": 1, "WPM": 1, "Mistakes": 4, "Symbols": 5, "Words": 6, "LiteralWpm": 7, "IsSpelling": true, "IsNH": true, "Id": "f793757c-ceb8-431c-947b-c89047fadc89", "DatePast": "2025-08-29T01:45:42.7490893+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":"49845e47-8fa6-4b29-b75a-95ca87465010","DatePassed":"2025-08-29T01:45:42.7490893+00:00","Persents":3,"Time":1,"WPM":1,"Mistakes":4,"Symbols":5,"Words":6,"LiteralWpm":7,"IsSpelling":true,"IsNH":true,"Id":"f793757c-ceb8-431c-947b-c89047fadc89","DatePast":"2025-08-29T01:45:42.7490893+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.