POST api/Users/SaveClass

Request Information

URI Parameters

None.

Body Parameters

UserClassInfo
NameDescriptionTypeAdditional 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": "ea39cf67-d28e-4866-a1cb-5202ca9b48fa",
  "Name": "sample string 1",
  "StudentsNo": 1,
  "AvgScore": 1,
  "LastAccess": "2025-08-29T01:32:29.1437087+00:00",
  "Index": 2,
  "TeacherId": "c05ede01-d96a-44a6-8b51-64e5e285ee64",
  "TeacherSubAdminId": "f175c301-c0b9-426d-b2c1-334e31464c62"
}

application/octet-stream, text/plain

Sample:
{"Id":"ea39cf67-d28e-4866-a1cb-5202ca9b48fa","Name":"sample string 1","StudentsNo":1,"AvgScore":1,"LastAccess":"2025-08-29T01:32:29.1437087+00:00","Index":2,"TeacherId":"c05ede01-d96a-44a6-8b51-64e5e285ee64","TeacherSubAdminId":"f175c301-c0b9-426d-b2c1-334e31464c62"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream, text/plain

Sample:

Sample not available.