GET api/drugsearch/{drugName}?zipCode={zipCode}&localization={localization}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| drugName | string |
Required |
|
| zipCode | string |
None. |
|
| localization | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DrugModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DrugName | string |
None. |
|
| DrugIdentifier | string |
None. |
|
| DrugIdentifierAlt | 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 4",
"id": 5,
"drugName": "sample string 1",
"drugIdentifier": "sample string 2",
"drugIdentifierAlt": "sample string 3"
},
{
"url": "sample string 4",
"id": 5,
"drugName": "sample string 1",
"drugIdentifier": "sample string 2",
"drugIdentifierAlt": "sample string 3"
}
]