POST api/dentist/GetCount

Request Information

URI Parameters

None.

Body Parameters

DentistCountSearchModel
NameDescriptionTypeAdditional information
Filter

SearchModel

None.

MaxDistanceInKm

decimal number

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Filter": {
    "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"
  },
  "MaxDistanceInKm": 1.1,
  "Longitude": 2.1,
  "Latitude": 3.1
}

application/xml, text/xml

Sample:
<DentistCountSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
  <Filter>
    <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>
  </Filter>
  <Latitude>3.1</Latitude>
  <Longitude>2.1</Longitude>
  <MaxDistanceInKm>1.1</MaxDistanceInKm>
</DentistCountSearchModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.