POST api/EMEDNew/DoctorRespondBooking

Request Information

URI Parameters

None.

Body Parameters

DoctorRespondBookingModel
NameDescriptionTypeAdditional information
BookingId

string

None.

DoctorId

string

None.

Accept

boolean

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": "sample string 1",
  "DoctorId": "sample string 2",
  "Accept": true,
  "Reason": "sample string 4"
}

application/xml, text/xml

Sample:
<EMEDNewController.DoctorRespondBookingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emed.solution.Controllers">
  <Accept>true</Accept>
  <BookingId>sample string 1</BookingId>
  <DoctorId>sample string 2</DoctorId>
  <Reason>sample string 4</Reason>
</EMEDNewController.DoctorRespondBookingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DoctorRespondBookingModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.