POST api/User/Add_to_topupcart
Request Information
URI Parameters
None.
Body Parameters
modaddtopupto_cart| Name | Description | Type | Additional information |
|---|---|---|---|
| regno | string |
None. |
|
| to_regno | string |
None. |
|
| ProdId | string |
None. |
|
| Prod_code | string |
None. |
|
| Quantity | string |
None. |
|
| Price | string |
None. |
|
| DP | string |
None. |
|
| ProductName | string |
None. |
|
| product_image | string |
None. |
|
| GST | integer |
None. |
|
| tot_gst | decimal number |
None. |
|
| BV | decimal number |
None. |
|
| PV | decimal number |
None. |
|
| DP_Before_GST | string |
None. |
|
| HSN | string |
None. |
|
| type | integer |
None. |
|
| Packtype | string |
None. |
|
| discount | decimal number |
None. |
|
| package_type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"regno": "sample string 1",
"to_regno": "sample string 2",
"ProdId": "sample string 3",
"Prod_code": "sample string 4",
"Quantity": "sample string 5",
"Price": "sample string 6",
"DP": "sample string 7",
"ProductName": "sample string 8",
"product_image": "sample string 9",
"GST": 10,
"tot_gst": 11.0,
"BV": 12.0,
"PV": 13.0,
"DP_Before_GST": "sample string 14",
"HSN": "sample string 15",
"type": 16,
"Packtype": "sample string 17",
"discount": 18.0,
"package_type": 19
}
text/html
Sample:
{"regno":"sample string 1","to_regno":"sample string 2","ProdId":"sample string 3","Prod_code":"sample string 4","Quantity":"sample string 5","Price":"sample string 6","DP":"sample string 7","ProductName":"sample string 8","product_image":"sample string 9","GST":10,"tot_gst":11.0,"BV":12.0,"PV":13.0,"DP_Before_GST":"sample string 14","HSN":"sample string 15","type":16,"Packtype":"sample string 17","discount":18.0,"package_type":19}
application/xml, text/xml
Sample:
<modaddtopupto_cart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nexxoglobal_API.Models"> <BV>12</BV> <DP>sample string 7</DP> <DP_Before_GST>sample string 14</DP_Before_GST> <GST>10</GST> <HSN>sample string 15</HSN> <PV>13</PV> <Packtype>sample string 17</Packtype> <Price>sample string 6</Price> <ProdId>sample string 3</ProdId> <Prod_code>sample string 4</Prod_code> <ProductName>sample string 8</ProductName> <Quantity>sample string 5</Quantity> <discount>18</discount> <package_type>19</package_type> <product_image>sample string 9</product_image> <regno>sample string 1</regno> <to_regno>sample string 2</to_regno> <tot_gst>11</tot_gst> <type>16</type> </modaddtopupto_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.