POST api/doctor/unavailablePeriod/add

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

UnavailablePeriodCreateViewModel
NameDescriptionTypeAdditional information
PeriodFromDateTime

date

Required

PeriodToDateTime

date

Required

ReasonID

integer

Required

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PeriodFromDateTime": "2019-10-22T22:33:17.5517531-04:00",
  "PeriodToDateTime": "2019-10-22T22:33:17.5517531-04:00",
  "ReasonID": 3,
  "Notes": "sample string 4"
}

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
}