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": "582509ac-1201-4cca-a5fb-d6fb28cb2a68",
"Name": "sample string 1",
"StudentsNo": 1,
"AvgScore": 1,
"LastAccess": "2026-03-21T22:11:01.0698134+00:00",
"Index": 2,
"TeacherId": "b885b820-221c-429c-9c48-1f287f45a41f",
"TeacherSubAdminId": "1560d590-287e-44ab-9991-81bbc9688d10"
}
application/octet-stream, text/plain
Sample:
{"Id":"582509ac-1201-4cca-a5fb-d6fb28cb2a68","Name":"sample string 1","StudentsNo":1,"AvgScore":1,"LastAccess":"2026-03-21T22:11:01.0698134+00:00","Index":2,"TeacherId":"b885b820-221c-429c-9c48-1f287f45a41f","TeacherSubAdminId":"1560d590-287e-44ab-9991-81bbc9688d10"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream, text/plain
Sample:
Sample not available.