GET api/portalstorelocations/{networkID}?memberid={memberid}&zipCode={zipCode}&page={page}&pageSize={pageSize}

Gets store locations by network and member's location details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
networkID

Network ID.

integer

Required

memberid

Member ID.

integer

Required

zipCode

Optional zip code for the price check to use when searching for pharmacy locations. If provided, it will be used instead of the member's address. This may be useful if the member’s address is incorrect or if a different location is desired.

string

None.

page

Page number for pagination, default is 1.

integer

Default value is 1

pageSize

Results per page, max 20.

integer

Default value is 20

Body Parameters

None.

Response Information

Resource Description

List of store locations for specified network and member.

PagedResultModelOfPortalStoreLocationModel
NameDescriptionTypeAdditional information
PageNumber

integer

None.

PageCount

integer

None.

PageSize

integer

None.

Items

Collection of PortalStoreLocationModel

None.

TotalRecordCount

integer

None.

Response Formats

application/json, text/json, application/json-patch+json

Sample:
{
  "pageNumber": 1,
  "pageCount": 2,
  "pageSize": 3,
  "items": [
    {
      "id": 1,
      "networkID": 2,
      "storeNCPDP": "sample string 3",
      "storeNPI": "sample string 4",
      "storeName": "sample string 5",
      "latitude": 1.0,
      "longitude": 1.0,
      "distance": 1.0,
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "state": "sample string 9",
      "zip": "sample string 10",
      "telephoneNumber": "sample string 11",
      "faxNumber": "sample string 12",
      "hours": "sample string 13",
      "customAttribute1": "sample string 14",
      "customAttribute2": "sample string 15",
      "customAttribute3": "sample string 16",
      "primaryPharmacyType": "sample string 17"
    },
    {
      "id": 1,
      "networkID": 2,
      "storeNCPDP": "sample string 3",
      "storeNPI": "sample string 4",
      "storeName": "sample string 5",
      "latitude": 1.0,
      "longitude": 1.0,
      "distance": 1.0,
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "state": "sample string 9",
      "zip": "sample string 10",
      "telephoneNumber": "sample string 11",
      "faxNumber": "sample string 12",
      "hours": "sample string 13",
      "customAttribute1": "sample string 14",
      "customAttribute2": "sample string 15",
      "customAttribute3": "sample string 16",
      "primaryPharmacyType": "sample string 17"
    }
  ],
  "totalRecordCount": 4
}