POST api/Booking/Appointment_Insert

Request Information

URI Parameters

None.

Body Parameters

AppointmentsWithInsurance
NameDescriptionTypeAdditional information
app

Appointments

None.

ins

Insurance

None.

Request Formats

application/json, text/json

Sample:
{
  "app": {
    "appId": 1,
    "patId": 2,
    "app_fdate": "2020-10-28T12:02:36.2835189-06:00",
    "app_ftime": 4,
    "app_doctor": 5,
    "app_type": "sample string 6",
    "app_eligibility": "sample string 7",
    "app_Comments": "sample string 8"
  },
  "ins": {
    "iaId": 1,
    "ia_patId": 2,
    "ia_nameOnCard": "sample string 3",
    "ia_emiratesId": "sample string 4",
    "ia_memberId": "sample string 5",
    "ia_emailId": "sample string 6",
    "ia_phone": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<AppointmentsWithInsurance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lifeworks_api.Models">
  <app>
    <appId>1</appId>
    <app_Comments>sample string 8</app_Comments>
    <app_doctor>5</app_doctor>
    <app_eligibility>sample string 7</app_eligibility>
    <app_fdate>2020-10-28T12:02:36.2835189-06:00</app_fdate>
    <app_ftime>4</app_ftime>
    <app_type>sample string 6</app_type>
    <patId>2</patId>
  </app>
  <ins>
    <iaId>1</iaId>
    <ia_emailId>sample string 6</ia_emailId>
    <ia_emiratesId>sample string 4</ia_emiratesId>
    <ia_memberId>sample string 5</ia_memberId>
    <ia_nameOnCard>sample string 3</ia_nameOnCard>
    <ia_patId>2</ia_patId>
    <ia_phone>sample string 7</ia_phone>
  </ins>
</AppointmentsWithInsurance>

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

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.