POST api/drugprofiles/{drugprofileid}/drugprofilegpis

Creates a new global drug profile GPI.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
drugprofileid

The drug profile ID associated with the new GPI.

integer

Required

Body Parameters

The drug profile GPI model to add.

DrugProfileGPIModel
NameDescriptionTypeAdditional 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.

DrugProfileGPIModel
NameDescriptionTypeAdditional 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"
}