POST OrderView/addOrder_group
This is for orderAdd Note :- Purchase Method For Online Payment--3 and For purchase wallet--2 , sale_type :- For Joining Sale---1 and For Repurchase Sale---2
Request Information
URI Parameters
None.
Body Parameters
order_master| Name | Description | Type | Additional information |
|---|---|---|---|
| depo_code | decimal number |
None. |
|
| user_type | string |
None. |
|
| distno | decimal number |
None. |
|
| sale_type | integer |
None. |
|
| purchase_method | integer |
None. |
|
| total_amount | decimal number |
None. |
|
| freight_charges | decimal number |
None. |
|
| other_charges | decimal number |
None. |
|
| round_off | decimal number |
None. |
|
| order_value | decimal number |
None. |
|
| total_PV | decimal number |
None. |
|
| total_BV | decimal number |
None. |
|
| package_id | integer |
None. |
|
| username | string |
None. |
|
| ref_no | string |
None. |
|
| shipdetails | shipingDetails |
None. |
|
| ItemList | Collection of orderItems |
None. |
|
| ItemList_offer | Collection of orderItems |
None. |
Request Formats
application/json, text/json
Sample:
{
"depo_code": 1.1,
"user_type": "sample string 2",
"distno": 3.1,
"sale_type": 4,
"purchase_method": 5,
"total_amount": 6.0,
"freight_charges": 7.0,
"other_charges": 8.0,
"round_off": 9.0,
"order_value": 10.0,
"total_PV": 11.0,
"total_BV": 12.0,
"package_id": 13,
"username": "sample string 14",
"ref_no": "sample string 15",
"shipdetails": {
"order_name": "sample string 1",
"mobile_no": "sample string 2",
"email_id": "sample string 3",
"order_address": "sample string 4",
"city": "sample string 5",
"pincode": "sample string 6",
"state_code": 7,
"dist_code": 8
},
"ItemList": [
{
"productid": 1,
"product_name": "sample string 2",
"mrp": 3.0,
"DP": 4.0,
"PV": 5.0,
"BV": 6.0,
"hsn_code": "sample string 7",
"taxrate": 8.0,
"qty": 9.0,
"item_rate": 10.0,
"totalPV": 11.0,
"totalBV": 12.0,
"amount": 13.0,
"package_id": 14,
"is_free": "sample string 15",
"offer_code": 16,
"distno": 17.0
},
{
"productid": 1,
"product_name": "sample string 2",
"mrp": 3.0,
"DP": 4.0,
"PV": 5.0,
"BV": 6.0,
"hsn_code": "sample string 7",
"taxrate": 8.0,
"qty": 9.0,
"item_rate": 10.0,
"totalPV": 11.0,
"totalBV": 12.0,
"amount": 13.0,
"package_id": 14,
"is_free": "sample string 15",
"offer_code": 16,
"distno": 17.0
}
],
"ItemList_offer": [
{
"productid": 1,
"product_name": "sample string 2",
"mrp": 3.0,
"DP": 4.0,
"PV": 5.0,
"BV": 6.0,
"hsn_code": "sample string 7",
"taxrate": 8.0,
"qty": 9.0,
"item_rate": 10.0,
"totalPV": 11.0,
"totalBV": 12.0,
"amount": 13.0,
"package_id": 14,
"is_free": "sample string 15",
"offer_code": 16,
"distno": 17.0
},
{
"productid": 1,
"product_name": "sample string 2",
"mrp": 3.0,
"DP": 4.0,
"PV": 5.0,
"BV": 6.0,
"hsn_code": "sample string 7",
"taxrate": 8.0,
"qty": 9.0,
"item_rate": 10.0,
"totalPV": 11.0,
"totalBV": 12.0,
"amount": 13.0,
"package_id": 14,
"is_free": "sample string 15",
"offer_code": 16,
"distno": 17.0
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |