GET api/pharmacyheadquarters/{headquarterID}/codes
Gets a collection of Pharmacy Headquarter Codes associated with the Pharmacy Headquarter Identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| headquarterID |
The Pharmacy Headquarter Identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A Pharmacy Headquarter Code
Collection of PharmacyHeadquarterCodeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
Code value |
string |
None. |
| RelationshipName |
Display name |
string |
None. |
| RelationshipType |
Display name of relationship code type |
string |
None. |
| Url |
Gets or sets the link representing a link back to the resource |
string |
None. |
| ID |
Gets or sets the identifier for the resource |
integer |
None. |
Response Formats
application/json, text/json, application/json-patch+json
Sample:
[
{
"url": "sample string 4",
"id": 5,
"code": "sample string 1",
"relationshipName": "sample string 2",
"relationshipType": "sample string 3"
},
{
"url": "sample string 4",
"id": 5,
"code": "sample string 1",
"relationshipName": "sample string 2",
"relationshipType": "sample string 3"
}
]