POST api/MedicalCenter/DoctorUnavailablePeriod/Add

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

UnavailablePeriodForDoctorsCreateViewModel
NameDescriptionTypeAdditional information
PeriodFromDateTime

date

Required

PeriodToDateTime

date

Required

ReasonID

integer

Required

Notes

string

None.

DoctorID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "PeriodFromDateTime": "2019-10-22T22:37:08.010736-04:00",
  "PeriodToDateTime": "2019-10-22T22:37:08.010736-04:00",
  "ReasonID": 3,
  "Notes": "sample string 4",
  "DoctorID": 5
}

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
}