GET api/drugprofiles/{drugprofileid}/drugprofilendcs/{id}
Retrieves a single global drug profile NDC by ID for a given drug profile.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| drugprofileid |
The drug profile ID associated with the NDC. |
integer |
Required |
| id |
The ID of the drug profile NDC to retrieve. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns the drug profile NDC model if found; otherwise, returns NotFound.
DrugProfileNDCModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NDC |
Gets or sets the NDC associated with the 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,
"ndc": "sample string 2"
}