POST api/Pharmacy/GetPharmacyList

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

ResponseOfPharmacyListModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

PharmacyListModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "PharmacyList": [
      {
        "PharmacyId": 1,
        "PharmacyName": "sample string 2",
        "Time": "sample string 3",
        "Address": "sample string 4",
        "City": "sample string 5",
        "State": "sample string 6",
        "Country": "sample string 7",
        "Pincode": "sample string 8",
        "ImageUrl": "sample string 9",
        "ImageName": "sample string 10",
        "Rating": 11.1,
        "Lattitude": 12.1,
        "Longitude": 13.1
      },
      {
        "PharmacyId": 1,
        "PharmacyName": "sample string 2",
        "Time": "sample string 3",
        "Address": "sample string 4",
        "City": "sample string 5",
        "State": "sample string 6",
        "Country": "sample string 7",
        "Pincode": "sample string 8",
        "ImageUrl": "sample string 9",
        "ImageName": "sample string 10",
        "Rating": 11.1,
        "Lattitude": 12.1,
        "Longitude": 13.1
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfPharmacyListModel0FwUrXNb 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.ManagePharmacy">
    <d2p1:PharmacyList>
      <d2p1:PharmacyDetailsModel>
        <d2p1:Address>sample string 4</d2p1:Address>
        <d2p1:City>sample string 5</d2p1:City>
        <d2p1:Country>sample string 7</d2p1:Country>
        <d2p1:ImageName>sample string 10</d2p1:ImageName>
        <d2p1:ImageUrl>sample string 9</d2p1:ImageUrl>
        <d2p1:Lattitude>12.1</d2p1:Lattitude>
        <d2p1:Longitude>13.1</d2p1:Longitude>
        <d2p1:PharmacyId>1</d2p1:PharmacyId>
        <d2p1:PharmacyName>sample string 2</d2p1:PharmacyName>
        <d2p1:Pincode>sample string 8</d2p1:Pincode>
        <d2p1:Rating>11.1</d2p1:Rating>
        <d2p1:State>sample string 6</d2p1:State>
        <d2p1:Time>sample string 3</d2p1:Time>
      </d2p1:PharmacyDetailsModel>
      <d2p1:PharmacyDetailsModel>
        <d2p1:Address>sample string 4</d2p1:Address>
        <d2p1:City>sample string 5</d2p1:City>
        <d2p1:Country>sample string 7</d2p1:Country>
        <d2p1:ImageName>sample string 10</d2p1:ImageName>
        <d2p1:ImageUrl>sample string 9</d2p1:ImageUrl>
        <d2p1:Lattitude>12.1</d2p1:Lattitude>
        <d2p1:Longitude>13.1</d2p1:Longitude>
        <d2p1:PharmacyId>1</d2p1:PharmacyId>
        <d2p1:PharmacyName>sample string 2</d2p1:PharmacyName>
        <d2p1:Pincode>sample string 8</d2p1:Pincode>
        <d2p1:Rating>11.1</d2p1:Rating>
        <d2p1:State>sample string 6</d2p1:State>
        <d2p1:Time>sample string 3</d2p1:Time>
      </d2p1:PharmacyDetailsModel>
    </d2p1:PharmacyList>
  </Result>
  <Status>3</Status>
</ResponseOfPharmacyListModel0FwUrXNb>