Retrieve Drug

Retrieves the details of a specific drug.

Request

GET /clinical/v1/drug/:id

Path Parameters

id string : required

The identifier can be a NDC9, NDC10, NDC11, UPC, or RxCUI.


Query Parameters

No parameters

Example

curl -XGET 'https://platform.wellviasolutions.com/clinical/v1/drug/{drugid}' \
    -u 'Bearer:{your_token}'
GET https://platform.wellviasolutions.com/clinical/v1/drug/`{drugid}` HTTP/1.1
using WellViaSDK.Clinical;

const string apiSubscriptionKey = "your_api_subscription_key";
var _clnClient = new WellViaClinicalServiceClient(subscriptionKey: apiSubscriptionKey);

string drugId = "`{drugid}`";
var drg = await _clnClient.GetDrugAsync(id: drugId);

Response

A drug object if a valid identifier was provided.