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": "f7194339-fa95-4190-ab75-769c3064a564",
  "Name": "sample string 1",
  "StudentsNo": 1,
  "AvgScore": 1,
  "LastAccess": "2026-02-02T20:46:35.1117206+00:00",
  "Index": 2,
  "TeacherId": "b1ef20a7-f2db-42b4-8285-17704345883f",
  "TeacherSubAdminId": "55da9ff2-b455-4ab2-8291-0a5ceb04581d"
}

application/octet-stream, text/plain

Sample:
{"Id":"f7194339-fa95-4190-ab75-769c3064a564","Name":"sample string 1","StudentsNo":1,"AvgScore":1,"LastAccess":"2026-02-02T20:46:35.1117206+00:00","Index":2,"TeacherId":"b1ef20a7-f2db-42b4-8285-17704345883f","TeacherSubAdminId":"55da9ff2-b455-4ab2-8291-0a5ceb04581d"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.