GET api/Drugs/GetImageForPrescription?prescriptionCode={prescriptionCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| prescriptionCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PrescriptionMongo| Name | Description | Type | Additional information |
|---|---|---|---|
| _id | ObjectId |
None. |
|
| imageValue | string |
None. |
|
| prescriptionId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"_id": "000000000000000000000000",
"imageValue": "sample string 1",
"prescriptionId": 2
}
application/xml, text/xml
Sample:
<BLDrug.PrescriptionMongo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.TablesManagement">
<_id xmlns:d2p1="http://schemas.datacontract.org/2004/07/MongoDB.Bson">
<d2p1:_a>0</d2p1:_a>
<d2p1:_b>0</d2p1:_b>
<d2p1:_c>0</d2p1:_c>
</_id>
<imageValue>sample string 1</imageValue>
<prescriptionId>2</prescriptionId>
</BLDrug.PrescriptionMongo>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.