POST api/Patient/Appointmentbooking

Request Information

URI Parameters

None.

Body Parameters

ClsPatient_appointment
NameDescriptionTypeAdditional information
Visit_No

string

None.

Date

string

None.

Appointment_Time

string

None.

Patient_ID

string

None.

Doctor_Name

string

None.

Complaint_Detail

string

None.

created_by

string

None.

Doctor_Id

string

None.

Appointment_Type

string

None.

Branch_Code

string

None.

Branch_Name

string

None.

Age_Year

string

None.

Age_Month

string

None.

Age_Days

string

None.

Type

string

None.

Patient_Name

string

None.

Patient_Phone_No

string

None.

Appointment_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Visit_No": "sample string 1",
  "Date": "sample string 2",
  "Appointment_Time": "sample string 3",
  "Patient_ID": "sample string 4",
  "Doctor_Name": "sample string 5",
  "Complaint_Detail": "sample string 6",
  "created_by": "sample string 7",
  "Doctor_Id": "sample string 8",
  "Appointment_Type": "sample string 9",
  "Branch_Code": "sample string 10",
  "Branch_Name": "sample string 11",
  "Age_Year": "sample string 12",
  "Age_Month": "sample string 13",
  "Age_Days": "sample string 14",
  "Type": "sample string 15",
  "Patient_Name": "sample string 16",
  "Patient_Phone_No": "sample string 17",
  "Appointment_ID": "sample string 18"
}

application/xml, text/xml

Sample:
<ClsPatient_appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityLayer">
  <Age_Days>sample string 14</Age_Days>
  <Age_Month>sample string 13</Age_Month>
  <Age_Year>sample string 12</Age_Year>
  <Appointment_ID>sample string 18</Appointment_ID>
  <Appointment_Time>sample string 3</Appointment_Time>
  <Appointment_Type>sample string 9</Appointment_Type>
  <Branch_Code>sample string 10</Branch_Code>
  <Branch_Name>sample string 11</Branch_Name>
  <Complaint_Detail>sample string 6</Complaint_Detail>
  <Date>sample string 2</Date>
  <Doctor_Id>sample string 8</Doctor_Id>
  <Doctor_Name>sample string 5</Doctor_Name>
  <Patient_ID>sample string 4</Patient_ID>
  <Patient_Name>sample string 16</Patient_Name>
  <Patient_Phone_No>sample string 17</Patient_Phone_No>
  <Type>sample string 15</Type>
  <Visit_No>sample string 1</Visit_No>
  <created_by>sample string 7</created_by>
</ClsPatient_appointment>

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 'ClsPatient_appointment'.

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.