POST api/pharmacyheadquarters/{headquarterID}/codes
Posts a new Relationship Code to a Pharmacy Headquarter.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
headquarterID |
The Pharmacy Headquarter Identifier. |
integer |
Required |
Body Parameters
The Pharmacy Headquarter Code model to add.
PharmacyHeadquarterCodeModelName | 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. |
Request 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" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PharmacyHeadquarterCodeModelName | 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" }