GET api/HeadquarterPharmacyLocations/{id}

Retrieves details of a single pharmacy location associated with a pharmacy headquarter using its unique identifier. This endpoint can be used in combination with the HeadquarterPharmacyLocationDeltas endpoint to keep a local copy of the pharmacy location data in sync with the server.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the pharmacy location.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An IHttpActionResult containing the details of the specified pharmacy location if found, NotFound if no such location exists, or InternalServerError in case of an unexpected exception.

HeadquarterPharmacyLocationModel
NameDescriptionTypeAdditional information
ID

integer

None.

NPI

string

None.

LocationName

string

None.

City

string

None.

StateCode

string

None.

Comment

string

None.

PrimaryPharmacyType

string

None.

NCPDP

string

None.

PrimaryRelationshipCode

string

None.

PharmacyHeadquarterNo

integer

None.

Response Formats

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

Sample:
{
  "id": 1,
  "npi": "sample string 2",
  "locationName": "sample string 3",
  "city": "sample string 4",
  "stateCode": "sample string 5",
  "comment": "sample string 6",
  "primaryPharmacyType": "sample string 7",
  "ncpdp": "sample string 8",
  "primaryRelationshipCode": "sample string 9",
  "pharmacyHeadquarterNo": 10
}