POST api/MedicalCenter/DoctorUnavailablePeriod/Edit

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

UnavailablePeriodForDoctorsEditViewModel
NameDescriptionTypeAdditional information
UnavailablePeriodID

integer

Required

PeriodFromDateTime

date

Required

PeriodToDateTime

date

Required

ReasonID

integer

Required

DoctorID

integer

Required

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnavailablePeriodID": 1,
  "PeriodFromDateTime": "2019-10-22T22:11:04.675787-04:00",
  "PeriodToDateTime": "2019-10-22T22:11:04.675787-04:00",
  "ReasonID": 4,
  "DoctorID": 5,
  "Notes": "sample string 6"
}

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
}