POST api/MedicalCenter/DoctorSchedule/Edit

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

DoctorScheduleCreateViewModel
NameDescriptionTypeAdditional information
ScheduleID

integer

None.

WeekdayID

integer

Required

DoctorID

integer

Required

TimeFrom

time interval

Required

TimeTo

time interval

Required

Request Formats

application/json, text/json

Sample:
{
  "ScheduleID": 1,
  "WeekdayID": 2,
  "DoctorID": 3,
  "TimeFrom": "00:00:00.1234567",
  "TimeTo": "00:00:00.1234567"
}

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Response

Object

None.

Errors

Object

None.

Authorized

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Response": {},
  "Errors": {},
  "Authorized": true
}