POST api/Teachers/UpdateClasses

Request Information

URI Parameters

None.

Body Parameters

SubAdminManageModel
NameDescriptionTypeAdditional information
Classes

Collection of SubAdminClassModel

None.

SubAdminId

globally unique identifier

None.

SubAdminName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Classes": [
    {
      "Id": "c326c14c-d3bf-45f9-98cf-1d6edf8fb38f",
      "Name": "sample string 2",
      "Assigned": true
    },
    {
      "Id": "c326c14c-d3bf-45f9-98cf-1d6edf8fb38f",
      "Name": "sample string 2",
      "Assigned": true
    }
  ],
  "SubAdminId": "1cc3f20b-f5c9-48bd-8db8-a125009bf7ef",
  "SubAdminName": "sample string 2"
}

application/octet-stream, text/plain

Sample:
{"Classes":[{"Id":"c326c14c-d3bf-45f9-98cf-1d6edf8fb38f","Name":"sample string 2","Assigned":true},{"Id":"c326c14c-d3bf-45f9-98cf-1d6edf8fb38f","Name":"sample string 2","Assigned":true}],"SubAdminId":"1cc3f20b-f5c9-48bd-8db8-a125009bf7ef","SubAdminName":"sample string 2"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.