POST api/Users/SaveClass
Request Information
URI Parameters
None.
Body Parameters
UserClassInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 255 |
|
| StudentsNo | integer |
None. |
|
| AvgScore | integer |
None. |
|
| LastAccess | date |
None. |
|
| Index | integer |
None. |
|
| TeacherId | globally unique identifier |
None. |
|
| TeacherSubAdminId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "d1a3ca7e-a426-4750-be9f-f8a20dcdcfbc",
"Name": "sample string 1",
"StudentsNo": 1,
"AvgScore": 1,
"LastAccess": "2026-05-06T12:35:02.7159428+00:00",
"Index": 2,
"TeacherId": "a15a8171-36f5-4d29-a526-ef4b4bfa90f2",
"TeacherSubAdminId": "89e0d14a-f9af-4fe8-a497-5aa254539b53"
}
application/octet-stream, text/plain
Sample:
{"Id":"d1a3ca7e-a426-4750-be9f-f8a20dcdcfbc","Name":"sample string 1","StudentsNo":1,"AvgScore":1,"LastAccess":"2026-05-06T12:35:02.7159428+00:00","Index":2,"TeacherId":"a15a8171-36f5-4d29-a526-ef4b4bfa90f2","TeacherSubAdminId":"89e0d14a-f9af-4fe8-a497-5aa254539b53"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.