POST api/Dashboard/SaveFreeWriting
Request Information
URI Parameters
None.
Body Parameters
FreeWritingItemModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserInfoId | globally unique identifier |
None. |
|
AuthorName | string |
None. |
|
Title | string |
None. |
|
CraeteDate | date |
None. |
|
Words | Collection of FreeWritingWordModel |
None. |
|
Text | string |
None. |
|
Period | integer |
None. |
|
Number | integer |
None. |
|
CorrectTypedWords | integer |
None. |
|
WPM | integer |
None. |
|
MaxWPM | integer |
None. |
|
AverageCharactersPerWord | integer |
None. |
|
TeacherComments | Collection of string |
None. |
|
PreviousFreeWritingId | integer |
None. |
|
NextFreeWritingId | integer |
None. |
|
IsLast | boolean |
None. |
|
IsTeachers | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsTeachers": true, "Id": 1, "UserInfoId": "3302ba3f-7980-4064-be10-d3f43eabcacc", "AuthorName": "sample string 3", "Title": "sample string 4", "CraeteDate": "2025-08-29T01:43:43.7783062+00:00", "Words": [ { "Id": 1, "Text": "sample string 2", "IsCorrect": true, "FreeWritingId": 4, "Order": 5 }, { "Id": 1, "Text": "sample string 2", "IsCorrect": true, "FreeWritingId": 4, "Order": 5 } ], "Text": "sample string 6", "Period": 7, "Number": 8, "CorrectTypedWords": 9, "WPM": 10, "MaxWPM": 11, "AverageCharactersPerWord": 12, "TeacherComments": [ "sample string 1", "sample string 2" ], "PreviousFreeWritingId": 1, "NextFreeWritingId": 1, "IsLast": true }
application/octet-stream, text/plain
Sample:
{"IsTeachers":true,"Id":1,"UserInfoId":"3302ba3f-7980-4064-be10-d3f43eabcacc","AuthorName":"sample string 3","Title":"sample string 4","CraeteDate":"2025-08-29T01:43:43.7783062+00:00","Words":[{"Id":1,"Text":"sample string 2","IsCorrect":true,"FreeWritingId":4,"Order":5},{"Id":1,"Text":"sample string 2","IsCorrect":true,"FreeWritingId":4,"Order":5}],"Text":"sample string 6","Period":7,"Number":8,"CorrectTypedWords":9,"WPM":10,"MaxWPM":11,"AverageCharactersPerWord":12,"TeacherComments":["sample string 1","sample string 2"],"PreviousFreeWritingId":1,"NextFreeWritingId":1,"IsLast":true}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.