POST api/customer/add-to-cart-medicine
Request Information
URI Parameters
None.
Body Parameters
MedicineCartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| DrugId | integer |
None. |
|
| PrescriptionTypeId | integer |
None. |
|
| RemId | integer |
None. |
|
| Quantity | integer |
None. |
|
| InputLatlong | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"DrugId": 2,
"PrescriptionTypeId": 3,
"RemId": 4,
"Quantity": 5,
"InputLatlong": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicineCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VELNO_API.Controllers"> <CustomerId>1</CustomerId> <DrugId>2</DrugId> <InputLatlong>sample string 6</InputLatlong> <PrescriptionTypeId>3</PrescriptionTypeId> <Quantity>5</Quantity> <RemId>4</RemId> </MedicineCartRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.