GET api/PatientPharmacies?CPI={CPI}&Division={Division}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CPI

string

Required

Division

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PatientPharmacy
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

PHARMACY_ID

integer

None.

SEQ

integer

None.

OLD

integer

None.

PHARMACY

Pharmacy

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "PHARMACY_ID": 4,
    "SEQ": 5,
    "OLD": 1,
    "PHARMACY": {
      "PHARMACY_ID": 1,
      "NAME": "sample string 2",
      "CONTACT": "sample string 3",
      "PHONE1": "sample string 4",
      "PHONE2": "sample string 5",
      "FAX": "sample string 6",
      "CITY": "sample string 7",
      "STATE": "sample string 8",
      "ADDRESS": "sample string 9",
      "ZIPCODE": "sample string 10",
      "DIV_ID": 11,
      "OLD": 1
    }
  },
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "PHARMACY_ID": 4,
    "SEQ": 5,
    "OLD": 1,
    "PHARMACY": {
      "PHARMACY_ID": 1,
      "NAME": "sample string 2",
      "CONTACT": "sample string 3",
      "PHONE1": "sample string 4",
      "PHONE2": "sample string 5",
      "FAX": "sample string 6",
      "CITY": "sample string 7",
      "STATE": "sample string 8",
      "ADDRESS": "sample string 9",
      "ZIPCODE": "sample string 10",
      "DIV_ID": 11,
      "OLD": 1
    }
  }
]

application/octet-stream

Sample:
[{"ID":1,"CPI":"sample string 2","DIV_ID":3,"PHARMACY_ID":4,"SEQ":5,"OLD":1,"PHARMACY":{"PHARMACY_ID":1,"NAME":"sample string 2","CONTACT":"sample string 3","PHONE1":"sample string 4","PHONE2":"sample string 5","FAX":"sample string 6","CITY":"sample string 7","STATE":"sample string 8","ADDRESS":"sample string 9","ZIPCODE":"sample string 10","DIV_ID":11,"OLD":1}},{"ID":1,"CPI":"sample string 2","DIV_ID":3,"PHARMACY_ID":4,"SEQ":5,"OLD":1,"PHARMACY":{"PHARMACY_ID":1,"NAME":"sample string 2","CONTACT":"sample string 3","PHONE1":"sample string 4","PHONE2":"sample string 5","FAX":"sample string 6","CITY":"sample string 7","STATE":"sample string 8","ADDRESS":"sample string 9","ZIPCODE":"sample string 10","DIV_ID":11,"OLD":1}}]

application/xml, text/xml

Sample:
<ArrayOfPatientPharmacy xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PatientPharmacy>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <PHARMACY_ID>4</PHARMACY_ID>
    <SEQ>5</SEQ>
    <OLD>1</OLD>
    <PHARMACY>
      <PHARMACY_ID>1</PHARMACY_ID>
      <NAME>sample string 2</NAME>
      <CONTACT>sample string 3</CONTACT>
      <PHONE1>sample string 4</PHONE1>
      <PHONE2>sample string 5</PHONE2>
      <FAX>sample string 6</FAX>
      <CITY>sample string 7</CITY>
      <STATE>sample string 8</STATE>
      <ADDRESS>sample string 9</ADDRESS>
      <ZIPCODE>sample string 10</ZIPCODE>
      <DIV_ID>11</DIV_ID>
      <OLD>1</OLD>
    </PHARMACY>
  </PatientPharmacy>
  <PatientPharmacy>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <PHARMACY_ID>4</PHARMACY_ID>
    <SEQ>5</SEQ>
    <OLD>1</OLD>
    <PHARMACY>
      <PHARMACY_ID>1</PHARMACY_ID>
      <NAME>sample string 2</NAME>
      <CONTACT>sample string 3</CONTACT>
      <PHONE1>sample string 4</PHONE1>
      <PHONE2>sample string 5</PHONE2>
      <FAX>sample string 6</FAX>
      <CITY>sample string 7</CITY>
      <STATE>sample string 8</STATE>
      <ADDRESS>sample string 9</ADDRESS>
      <ZIPCODE>sample string 10</ZIPCODE>
      <DIV_ID>11</DIV_ID>
      <OLD>1</OLD>
    </PHARMACY>
  </PatientPharmacy>
</ArrayOfPatientPharmacy>