POST api/v1/DT/Referrals

Request Information

URI Parameters

None.

Body Parameters

DentalReferrals
NameDescriptionTypeAdditional information
ReferralTreatment

string

None.

Otherreason

string

None.

Dentistname

string

None.

Clinicname

string

None.

ClinicAddress

string

None.

Clinicphonenumber

string

None.

clinicemail

string

None.

Patientname

string

None.

PatientDOB

string

None.

PatientAddressPostCode

string

None.

Patientemail

string

None.

Preferredclinic

string

None.

Howheard

string

None.

Status

string

None.

Notes

string

None.

ContactNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ReferralTreatment": "sample string 1",
  "Otherreason": "sample string 2",
  "Dentistname": "sample string 3",
  "Clinicname": "sample string 4",
  "ClinicAddress": "sample string 5",
  "Clinicphonenumber": "sample string 6",
  "clinicemail": "sample string 7",
  "Patientname": "sample string 8",
  "PatientDOB": "sample string 9",
  "PatientAddressPostCode": "sample string 10",
  "Patientemail": "sample string 11",
  "Preferredclinic": "sample string 12",
  "Howheard": "sample string 13",
  "Status": "sample string 14",
  "Notes": "sample string 15",
  "ContactNumber": "sample string 16"
}

application/xml, text/xml

Sample:
<DentalReferrals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bupa.SP.Common.API.Models">
  <ClinicAddress>sample string 5</ClinicAddress>
  <ClinicEmail>sample string 7</ClinicEmail>
  <ClinicName>sample string 4</ClinicName>
  <ClinicPhoneNumber>sample string 6</ClinicPhoneNumber>
  <ContactNumber>sample string 16</ContactNumber>
  <DentistName>sample string 3</DentistName>
  <HowHeard>sample string 13</HowHeard>
  <Notes>sample string 15</Notes>
  <OtherReason>sample string 2</OtherReason>
  <PatientAddressPostCode>sample string 10</PatientAddressPostCode>
  <PatientDOB>sample string 9</PatientDOB>
  <PatientEmail>sample string 11</PatientEmail>
  <PatientName>sample string 8</PatientName>
  <PreferredClinic>sample string 12</PreferredClinic>
  <ReferralTreatment>sample string 1</ReferralTreatment>
  <Status>sample string 14</Status>
</DentalReferrals>

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

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.