POST api/SearchDoctor/SearchDoctorToRefer

Request Information

URI Parameters

None.

Body Parameters

CommonRequest
NameDescriptionTypeAdditional information
Request

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Request": "sample string 1"
}

application/xml, text/xml

Sample:
<CommonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <Request>sample string 1</Request>
</CommonRequest>

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

Response Information

Resource Description

ResponseOfSearchDoctorResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

SearchDoctorResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "DoctorList": [
      {
        "DoctorId": 1,
        "DoctorName": "sample string 2",
        "SpecializationId": 3,
        "Specialization": "sample string 4",
        "Experience": 5,
        "DoctorAddress": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "MobileNumber": "sample string 8",
        "CountryCode": 1,
        "Latitude": 9.1,
        "Longitude": 10.1,
        "SlotId": 11,
        "IsActive": true
      },
      {
        "DoctorId": 1,
        "DoctorName": "sample string 2",
        "SpecializationId": 3,
        "Specialization": "sample string 4",
        "Experience": 5,
        "DoctorAddress": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "MobileNumber": "sample string 8",
        "CountryCode": 1,
        "Latitude": 9.1,
        "Longitude": 10.1,
        "SlotId": 11,
        "IsActive": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfSearchDoctorResponseneWPoQUG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.SearchDoctor">
    <d2p1:DoctorList>
      <d2p1:SearchDoctorData>
        <d2p1:CountryCode>1</d2p1:CountryCode>
        <d2p1:DoctorAddress>sample string 6</d2p1:DoctorAddress>
        <d2p1:DoctorId>1</d2p1:DoctorId>
        <d2p1:DoctorName>sample string 2</d2p1:DoctorName>
        <d2p1:Experience>5</d2p1:Experience>
        <d2p1:IsActive>true</d2p1:IsActive>
        <d2p1:Latitude>9.1</d2p1:Latitude>
        <d2p1:Longitude>10.1</d2p1:Longitude>
        <d2p1:MobileNumber>sample string 8</d2p1:MobileNumber>
        <d2p1:ProfileImageUrl>sample string 7</d2p1:ProfileImageUrl>
        <d2p1:SlotId>11</d2p1:SlotId>
        <d2p1:Specialization>sample string 4</d2p1:Specialization>
        <d2p1:SpecializationId>3</d2p1:SpecializationId>
      </d2p1:SearchDoctorData>
      <d2p1:SearchDoctorData>
        <d2p1:CountryCode>1</d2p1:CountryCode>
        <d2p1:DoctorAddress>sample string 6</d2p1:DoctorAddress>
        <d2p1:DoctorId>1</d2p1:DoctorId>
        <d2p1:DoctorName>sample string 2</d2p1:DoctorName>
        <d2p1:Experience>5</d2p1:Experience>
        <d2p1:IsActive>true</d2p1:IsActive>
        <d2p1:Latitude>9.1</d2p1:Latitude>
        <d2p1:Longitude>10.1</d2p1:Longitude>
        <d2p1:MobileNumber>sample string 8</d2p1:MobileNumber>
        <d2p1:ProfileImageUrl>sample string 7</d2p1:ProfileImageUrl>
        <d2p1:SlotId>11</d2p1:SlotId>
        <d2p1:Specialization>sample string 4</d2p1:Specialization>
        <d2p1:SpecializationId>3</d2p1:SpecializationId>
      </d2p1:SearchDoctorData>
    </d2p1:DoctorList>
  </Result>
  <Status>3</Status>
</ResponseOfSearchDoctorResponseneWPoQUG>