PUT api/schedule/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Schedule
NameDescriptionTypeAdditional information
Id

integer

None.

StartTime

string

None.

EndTime

string

None.

WeekDays

string

None.

Subject_Id

integer

None.

Room_Id

integer

None.

Type

string

None.

FacultyID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "startTime": "sample string 2",
  "endTime": "sample string 3",
  "weekDays": "sample string 4",
  "subject_Id": 5,
  "room_Id": 6,
  "type": "sample string 7",
  "facultyID": 8
}

text/html

Sample:
{"id":1,"startTime":"sample string 2","endTime":"sample string 3","weekDays":"sample string 4","subject_Id":5,"room_Id":6,"type":"sample string 7","facultyID":8}

application/xml, text/xml

Sample:
<Schedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <EndTime>sample string 3</EndTime>
  <FacultyID>8</FacultyID>
  <Id>1</Id>
  <Room_Id>6</Room_Id>
  <StartTime>sample string 2</StartTime>
  <Subject_Id>5</Subject_Id>
  <Type>sample string 7</Type>
  <WeekDays>sample string 4</WeekDays>
</Schedule>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.