POST | /drugs/packaged/bulk/ndc | ||
---|---|---|---|
POST | /drugs/packages |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ndc | body | string[] | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /drugs/packaged/bulk/ndc HTTP/1.1
Host: drugapi.alisonline.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetPackagedDrugs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Boca.DrugApi.ServiceModel">
<Ndc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</Ndc>
</GetPackagedDrugs>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfPackagedDrugDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Boca.DrugApi.ServiceModel.Types"> <PackagedDrugDto> <AdverseEffects> <AdverseEffectDto> <EffectTypes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </EffectTypes> <IncidenceLevel>String</IncidenceLevel> <Name>String</Name> <Onset>String</Onset> <Rank>0</Rank> <SeverityLevel>String</SeverityLevel> </AdverseEffectDto> </AdverseEffects> <ControlledSubstanceSchedule> <Description>String</Description> <Id>String</Id> </ControlledSubstanceSchedule> <DoseForm>String</DoseForm> <DrugId>String</DrugId> <EndDate>0001-01-01T00:00:00</EndDate> <GenericName>String</GenericName> <Gpi>String</Gpi> <Id>String</Id> <ImageId>String</ImageId> <IsGeneric>false</IsGeneric> <Labeler> <Id>String</Id> <Name>String</Name> </Labeler> <Name>String</Name> <Ndc>String</Ndc> <Packaging>String</Packaging> <Route>String</Route> <Upc>String</Upc> </PackagedDrugDto> </ArrayOfPackagedDrugDto>