POST api/ProductOrder/Add_to_cart
Request Information
URI Parameters
None.
Body Parameters
modaddto_cart| Name | Description | Type | Additional information |
|---|---|---|---|
| regno | string |
None. |
|
| productid | integer |
None. |
|
| product_code | string |
None. |
|
| quantity | integer |
None. |
|
| product_price | string |
None. |
|
| offer_price | string |
None. |
|
| product_Name | string |
None. |
|
| product_image | string |
None. |
|
| gst_per | integer |
None. |
|
| gst_amt | decimal number |
None. |
|
| BV | integer |
None. |
|
| dp_before_gst | string |
None. |
|
| HSN | string |
None. |
|
| item_type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"regno": "sample string 1",
"productid": 2,
"product_code": "sample string 3",
"quantity": 4,
"product_price": "sample string 5",
"offer_price": "sample string 6",
"product_Name": "sample string 7",
"product_image": "sample string 8",
"gst_per": 9,
"gst_amt": 10.0,
"BV": 11,
"dp_before_gst": "sample string 12",
"HSN": "sample string 13",
"item_type": 14
}
text/html
Sample:
{"regno":"sample string 1","productid":2,"product_code":"sample string 3","quantity":4,"product_price":"sample string 5","offer_price":"sample string 6","product_Name":"sample string 7","product_image":"sample string 8","gst_per":9,"gst_amt":10.0,"BV":11,"dp_before_gst":"sample string 12","HSN":"sample string 13","item_type":14}
application/xml, text/xml
Sample:
<modaddto_cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nexxoglobal_API.Models"> <BV>11</BV> <HSN>sample string 13</HSN> <dp_before_gst>sample string 12</dp_before_gst> <gst_amt>10</gst_amt> <gst_per>9</gst_per> <item_type>14</item_type> <offer_price>sample string 6</offer_price> <product_Name>sample string 7</product_Name> <product_code>sample string 3</product_code> <product_image>sample string 8</product_image> <product_price>sample string 5</product_price> <productid>2</productid> <quantity>4</quantity> <regno>sample string 1</regno> </modaddto_cart>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.