POST api/customer/addtocart
Request Information
URI Parameters
None.
Body Parameters
LabAddToCartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| PlanTypeId | integer |
None. |
|
| PlanId | integer |
None. |
|
| UnitPrice | decimal number |
None. |
|
| InputLatlong | string |
None. |
|
| IpAddress | string |
None. |
|
| PcName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"PlanTypeId": 2,
"PlanId": 3,
"UnitPrice": 4.1,
"InputLatlong": "sample string 5",
"IpAddress": "sample string 6",
"PcName": "sample string 7"
}
application/xml, text/xml
Sample:
<LabAddToCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VELNO_API.Controllers"> <CustomerId>1</CustomerId> <InputLatlong>sample string 5</InputLatlong> <IpAddress>sample string 6</IpAddress> <PcName>sample string 7</PcName> <PlanId>3</PlanId> <PlanTypeId>2</PlanTypeId> <UnitPrice>4.1</UnitPrice> </LabAddToCartRequest>
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.