POST api/groups/{groupid}/drugprofiles/{drugprofileid}/drugprofilegpis
Creates a new drug profile GPI associated with a specified group.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
groupid |
The ID of the group. |
integer |
Required |
drugprofileid |
The drug profile ID associated with the new GPI. |
integer |
Required |
Body Parameters
The drug profile GPI model to add.
DrugProfileGPIModelName | Description | Type | Additional information |
---|---|---|---|
GenericProductIdentifier |
Gets or sets the GPI for the associated drug profile |
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 3", "id": 4, "genericProductIdentifier": "sample string 2" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns the newly created drug profile GPI model if successful; otherwise, returns an error message.
DrugProfileGPIModelName | Description | Type | Additional information |
---|---|---|---|
GenericProductIdentifier |
Gets or sets the GPI for the associated drug profile |
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 3", "id": 4, "genericProductIdentifier": "sample string 2" }