POST api/pharmacyheadquarters/{headquarterID}/unassignedpharmacies
Posts a collection of DataQProviderIDs to an existing pharmacy headquarter.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
headquarterID |
The Pharmacy Headquarter Identifier. |
integer |
Required |
Body Parameters
The collection of DataQProviderIDs to be added.
Collection of DataQProviderRequestModelName | Description | Type | Additional information |
---|---|---|---|
DataQProviderID |
Data Q Provider Identifier |
string |
None. |
Request Formats
application/json, text/json, application/json-patch+json
Sample:
[ { "dataQProviderID": "sample string 1" }, { "dataQProviderID": "sample string 1" } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataQProviderID and the Pharmacy Location that was just added to the database.
Collection of DataQProviderResponseModelName | Description | Type | Additional information |
---|---|---|---|
DataQProviderID |
Data Q Provider Identifier |
string |
None. |
PharmacyLocationNo |
Gets or sets the pharmacy location for this resource |
integer |
None. |
PharmacyLocationUrl |
Gets or sets the pharmacy location url for this resource |
string |
None. |
Response Formats
application/json, text/json, application/json-patch+json
Sample:
[ { "dataQProviderID": "sample string 1", "pharmacyLocationNo": 1, "pharmacyLocationUrl": "sample string 2" }, { "dataQProviderID": "sample string 1", "pharmacyLocationNo": 1, "pharmacyLocationUrl": "sample string 2" } ]