POST api/TimeTable/UpdateTimeSchedule

Request Information

URI Parameters

None.

Body Parameters

TImeTableDTO
NameDescriptionTypeAdditional information
subject

string

None.

teacher

string

None.

className

string

None.

section

string

None.

id

integer

None.

classId

integer

None.

sectionId

integer

None.

teacherId

integer

None.

dayOfWeek

integer

None.

subjectId

integer

None.

Period

integer

None.

fromTime

date

None.

toTime

date

None.

isActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "subject": "sample string 1",
  "teacher": "sample string 2",
  "className": "sample string 3",
  "section": "sample string 4",
  "id": 5,
  "classId": 6,
  "sectionId": 7,
  "teacherId": 8,
  "dayOfWeek": 9,
  "subjectId": 10,
  "period": 11,
  "fromTime": "2026-06-22T02:22:09.5789069-07:00",
  "toTime": "2026-06-22T02:22:09.5789069-07:00",
  "isActive": true
}

application/xml, text/xml

Sample:
<TImeTableDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models.DTO">
  <Period xmlns="http://schemas.datacontract.org/2004/07/Models">11</Period>
  <classId xmlns="http://schemas.datacontract.org/2004/07/Models">6</classId>
  <dayOfWeek xmlns="http://schemas.datacontract.org/2004/07/Models">9</dayOfWeek>
  <fromTime xmlns="http://schemas.datacontract.org/2004/07/Models">2026-06-22T02:22:09.5789069-07:00</fromTime>
  <id xmlns="http://schemas.datacontract.org/2004/07/Models">5</id>
  <isActive xmlns="http://schemas.datacontract.org/2004/07/Models">true</isActive>
  <sectionId xmlns="http://schemas.datacontract.org/2004/07/Models">7</sectionId>
  <subjectId xmlns="http://schemas.datacontract.org/2004/07/Models">10</subjectId>
  <teacherId xmlns="http://schemas.datacontract.org/2004/07/Models">8</teacherId>
  <toTime xmlns="http://schemas.datacontract.org/2004/07/Models">2026-06-22T02:22:09.5789069-07:00</toTime>
  <className>sample string 3</className>
  <section>sample string 4</section>
  <subject>sample string 1</subject>
  <teacher>sample string 2</teacher>
</TImeTableDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseResult
NameDescriptionTypeAdditional information
statusCode

integer

None.

status

boolean

None.

message

string

None.

data

Object

None.

ErrorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "status": true,
  "message": "sample string 3",
  "data": {},
  "errorCode": 5
}

application/xml, text/xml

Sample:
<ApiResponseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ErrorCode>5</ErrorCode>
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statusCode>1</statusCode>
</ApiResponseResult>