POST api/dentist/SearchDentist

Request Information

URI Parameters

None.

Body Parameters

SearchModel
NameDescriptionTypeAdditional information
Treatment

SearchTreatmentModelcs

None.

PracticeRatingMin

decimal number

None.

PracticeRatingMax

decimal number

None.

PriceMin

decimal number

None.

PriceMax

decimal number

None.

MaxDistanceInKm

decimal number

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

PaymentPlans

boolean

None.

Insurance

boolean

None.

OnlineChat

boolean

None.

OnlineBooking

boolean

None.

Category

string

None.

ServiceId

string

None.

Culture

string

None.

SearchText

string

None.

TreatmentId

integer

None.

User

string

None.

Take

integer

None.

Page

integer

None.

Sort

CheckDetails

None.

NhsDoctor

boolean

None.

PatientAcceptTypes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Treatment": {
    "Type": "sample string 1",
    "RatingMin": 2.1,
    "RatingMax": 3.1
  },
  "PracticeRatingMin": 1.1,
  "PracticeRatingMax": 1.1,
  "PriceMin": 1.1,
  "PriceMax": 2.1,
  "MaxDistanceInKm": 3.1,
  "Longitude": 4.1,
  "Latitude": 5.1,
  "PaymentPlans": true,
  "Insurance": true,
  "OnlineChat": true,
  "OnlineBooking": true,
  "Category": "sample string 6",
  "ServiceId": "sample string 7",
  "Culture": "sample string 8",
  "SearchText": "sample string 9",
  "TreatmentId": 10,
  "User": "sample string 11",
  "Take": 12,
  "Page": 13,
  "Sort": 1,
  "NhsDoctor": true,
  "PatientAcceptTypes": "sample string 14"
}

application/xml, text/xml

Sample:
<SearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
  <Category>sample string 6</Category>
  <Culture>sample string 8</Culture>
  <Insurance>true</Insurance>
  <Latitude>5.1</Latitude>
  <Longitude>4.1</Longitude>
  <MaxDistanceInKm>3.1</MaxDistanceInKm>
  <NhsDoctor>true</NhsDoctor>
  <OnlineBooking>true</OnlineBooking>
  <OnlineChat>true</OnlineChat>
  <Page>13</Page>
  <PatientAcceptTypes>sample string 14</PatientAcceptTypes>
  <PaymentPlans>true</PaymentPlans>
  <PracticeRatingMax>1.1</PracticeRatingMax>
  <PracticeRatingMin>1.1</PracticeRatingMin>
  <PriceMax>2.1</PriceMax>
  <PriceMin>1.1</PriceMin>
  <SearchText>sample string 9</SearchText>
  <ServiceId>sample string 7</ServiceId>
  <Sort>Email</Sort>
  <Take>12</Take>
  <Treatment>
    <RatingMax>3.1</RatingMax>
    <RatingMin>2.1</RatingMin>
    <Type>sample string 1</Type>
  </Treatment>
  <TreatmentId>10</TreatmentId>
  <User>sample string 11</User>
</SearchModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.