POST api/networks/{networkid}/networkpharmacyheadquarters

Posts a new network pharmacy headquarter object to the specified network record

Request Information

URI Parameters

NameDescriptionTypeAdditional information
networkid

Network identifier

integer

Required

Body Parameters

The network pharmacy headquarter to add

NetworkPharmacyHeadquarterConsolidatedModel
NameDescriptionTypeAdditional information
PharmacyHeadquarterNo

Gets or sets the pharmacy headquarter identifier

integer

None.

PharmacyHeadquarterName

Gets or sets the pharmacy headquarter name

string

None.

PharmacyHeadquarterInactive

Gets or sets whether the pharmacy headquarter is inactive

boolean

None.

PlanNo

Gets or sets the Plan number

integer

None.

PlanName

Gets or sets the Plan name

string

None.

NetworkNo

Gets or sets the Network number

integer

None.

NetworkName

Gets or sets the Network name

string

None.

Comment

Gets or sets the comment for the network pharmacy headquarter

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.

Request Formats

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

Sample:
{
  "url": "sample string 6",
  "id": 7,
  "pharmacyHeadquarterNo": 1,
  "pharmacyHeadquarterName": "sample string 2",
  "pharmacyHeadquarterInactive": true,
  "planNo": 1,
  "planName": "sample string 3",
  "networkNo": 1,
  "networkName": "sample string 4",
  "comment": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The newly added network pharmacy headquarter object

NetworkPharmacyHeadquarterConsolidatedModel
NameDescriptionTypeAdditional information
PharmacyHeadquarterNo

Gets or sets the pharmacy headquarter identifier

integer

None.

PharmacyHeadquarterName

Gets or sets the pharmacy headquarter name

string

None.

PharmacyHeadquarterInactive

Gets or sets whether the pharmacy headquarter is inactive

boolean

None.

PlanNo

Gets or sets the Plan number

integer

None.

PlanName

Gets or sets the Plan name

string

None.

NetworkNo

Gets or sets the Network number

integer

None.

NetworkName

Gets or sets the Network name

string

None.

Comment

Gets or sets the comment for the network pharmacy headquarter

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 6",
  "id": 7,
  "pharmacyHeadquarterNo": 1,
  "pharmacyHeadquarterName": "sample string 2",
  "pharmacyHeadquarterInactive": true,
  "planNo": 1,
  "planName": "sample string 3",
  "networkNo": 1,
  "networkName": "sample string 4",
  "comment": "sample string 5"
}