GET api/Medications/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MedicationName | Description | Type | Additional information |
---|---|---|---|
MED_ID | integer |
None. |
|
GENERIC_NAME | string |
None. |
|
DIV_ID | integer |
None. |
|
OLD | integer |
None. |
|
brands | Collection of MedicationBrand |
None. |
Response Formats
application/json, text/json
Sample:
{ "MED_ID": 1, "GENERIC_NAME": "sample string 2", "DIV_ID": 3, "OLD": 1, "brands": [ { "ID": 1, "BRAND_NAME": "sample string 2", "MED_ID": 3, "SIZE": "sample string 4", "UNIT": "sample string 5", "FORM": "sample string 6", "ROUTE": "sample string 7", "OLD": 1 }, { "ID": 1, "BRAND_NAME": "sample string 2", "MED_ID": 3, "SIZE": "sample string 4", "UNIT": "sample string 5", "FORM": "sample string 6", "ROUTE": "sample string 7", "OLD": 1 } ] }
application/octet-stream
Sample:
{"MED_ID":1,"GENERIC_NAME":"sample string 2","DIV_ID":3,"OLD":1,"brands":[{"ID":1,"BRAND_NAME":"sample string 2","MED_ID":3,"SIZE":"sample string 4","UNIT":"sample string 5","FORM":"sample string 6","ROUTE":"sample string 7","OLD":1},{"ID":1,"BRAND_NAME":"sample string 2","MED_ID":3,"SIZE":"sample string 4","UNIT":"sample string 5","FORM":"sample string 6","ROUTE":"sample string 7","OLD":1}]}