POST api/v1/DT/Enquiries

Request Information

URI Parameters

None.

Body Parameters

DentalEnquiries
NameDescriptionTypeAdditional information
FirstName

string

None.

Surname

string

None.

Phone

string

None.

Email

string

None.

Clinic

string

None.

EnquiryType

string

None.

PreferredTime

string

None.

HowHeard

string

None.

EnquiryNotes

string

None.

DentalIssues

string

None.

DentalHistory

string

None.

Lifestyle

string

None.

RecentToothExtraction

string

None.

MarketingConsent

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "Surname": "sample string 2",
  "Phone": "sample string 3",
  "Email": "sample string 4",
  "Clinic": "sample string 5",
  "EnquiryType": "sample string 6",
  "PreferredTime": "sample string 7",
  "HowHeard": "sample string 8",
  "EnquiryNotes": "sample string 9",
  "DentalIssues": "sample string 10",
  "DentalHistory": "sample string 11",
  "Lifestyle": "sample string 12",
  "RecentToothExtraction": "sample string 13",
  "MarketingConsent": "sample string 14"
}

application/xml, text/xml

Sample:
<DentalEnquiries xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bupa.SP.Common.API.Models">
  <Clinic>sample string 5</Clinic>
  <DentalHistory>sample string 11</DentalHistory>
  <DentalIssues>sample string 10</DentalIssues>
  <Email>sample string 4</Email>
  <EnquiryNotes>sample string 9</EnquiryNotes>
  <EnquiryType>sample string 6</EnquiryType>
  <FirstName>sample string 1</FirstName>
  <HowHeard>sample string 8</HowHeard>
  <Lifestyle>sample string 12</Lifestyle>
  <MarketingConsent>sample string 14</MarketingConsent>
  <Phone>sample string 3</Phone>
  <PreferredTime>sample string 7</PreferredTime>
  <RecentToothExtraction>sample string 13</RecentToothExtraction>
  <Surname>sample string 2</Surname>
</DentalEnquiries>

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

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.