POST api/pharmacyheadquarters/{headquarterid}/headquarterglobalplanlists
Adds a global pricing plan to the specified pharmacy headquarter. Valid plan identifiers can be discovered by calling GET /api/networkplans?availableForHeadquarterId={headquarterid}.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| headquarterid |
Pharmacy Headquarter identifier |
integer |
Required |
Body Parameters
The global pricing plan to add.
HeadquarterGlobalPlanPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanNo |
Network plan identifier to tie to the pharmacy headquarter as global pricing. |
integer |
None. |
Request Formats
application/json, text/json, application/json-patch+json
Sample:
{
"planNo": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The newly added global pricing name value pair.
NameValuePairModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Display name value of name value pair |
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 2",
"id": 3,
"name": "sample string 1"
}