POST api/customer/BookDoctorConsultation

Request Information

URI Parameters

None.

Body Parameters

DoctorConsultationRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

SpecializationId

integer

None.

DoctorId

integer

None.

ScheduledDate

string

None.

ScheduledSlot

string

None.

Name

string

None.

Age

integer

None.

Gender

string

None.

Email

string

None.

Contact

string

None.

UTRNo

string

None.

PaymentAmount

decimal number

None.

InputLatlong

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "SpecializationId": 2,
  "DoctorId": 3,
  "ScheduledDate": "sample string 4",
  "ScheduledSlot": "sample string 5",
  "Name": "sample string 6",
  "Age": 7,
  "Gender": "sample string 8",
  "Email": "sample string 9",
  "Contact": "sample string 10",
  "UTRNo": "sample string 11",
  "PaymentAmount": 12.0,
  "InputLatlong": "sample string 13"
}

application/xml, text/xml

Sample:
<DoctorConsultationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VELNO_API.Controllers">
  <Age>7</Age>
  <Contact>sample string 10</Contact>
  <CustomerId>1</CustomerId>
  <DoctorId>3</DoctorId>
  <Email>sample string 9</Email>
  <Gender>sample string 8</Gender>
  <InputLatlong>sample string 13</InputLatlong>
  <Name>sample string 6</Name>
  <PaymentAmount>12</PaymentAmount>
  <ScheduledDate>sample string 4</ScheduledDate>
  <ScheduledSlot>sample string 5</ScheduledSlot>
  <SpecializationId>2</SpecializationId>
  <UTRNo>sample string 11</UTRNo>
</DoctorConsultationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.