POST api/SaveOrder
Request Information
URI Parameters
None.
Body Parameters
OrderDetailName | Description | Type | Additional information |
---|---|---|---|
CUSTOMER_ID | integer |
None. |
|
ProductDetails | Collection of ProductDetail |
None. |
|
ADDRESS_ID | integer |
None. |
|
APPLY_COUPON_CODE | string |
None. |
|
SUB_TOTAL | decimal number |
None. |
|
TAX | decimal number |
None. |
|
DELIVERY_CHARGE | decimal number |
None. |
|
TOTAL_PAYABLE | decimal number |
None. |
|
EARNED_POINT | integer |
None. |
|
DELIVERY_TYPE | integer |
None. |
|
MODE_OF_PAYMENT | integer |
None. |
|
DELIVERY_DATE_TIME | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "CUSTOMER_ID": 1, "ProductDetails": [ { "PRODUCT_ID": 1, "QUANTITY_UNIT_ID": 2, "QUANTITY": 3.0 }, { "PRODUCT_ID": 1, "QUANTITY_UNIT_ID": 2, "QUANTITY": 3.0 } ], "ADDRESS_ID": 1, "APPLY_COUPON_CODE": "sample string 2", "SUB_TOTAL": 3.0, "TAX": 4.0, "DELIVERY_CHARGE": 5.0, "TOTAL_PAYABLE": 6.0, "EARNED_POINT": 7, "DELIVERY_TYPE": 8, "MODE_OF_PAYMENT": 9, "DELIVERY_DATE_TIME": "2024-12-23T04:58:41.7726393+05:30" }
application/xml, text/xml
Sample:
<OrderDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.BEEntities"> <ADDRESS_ID>1</ADDRESS_ID> <APPLY_COUPON_CODE>sample string 2</APPLY_COUPON_CODE> <CUSTOMER_ID>1</CUSTOMER_ID> <DELIVERY_CHARGE>5</DELIVERY_CHARGE> <DELIVERY_DATE_TIME>2024-12-23T04:58:41.7726393+05:30</DELIVERY_DATE_TIME> <DELIVERY_TYPE>8</DELIVERY_TYPE> <EARNED_POINT>7</EARNED_POINT> <MODE_OF_PAYMENT>9</MODE_OF_PAYMENT> <ProductDetails> <ProductDetail> <PRODUCT_ID>1</PRODUCT_ID> <QUANTITY>3</QUANTITY> <QUANTITY_UNIT_ID>2</QUANTITY_UNIT_ID> </ProductDetail> <ProductDetail> <PRODUCT_ID>1</PRODUCT_ID> <QUANTITY>3</QUANTITY> <QUANTITY_UNIT_ID>2</QUANTITY_UNIT_ID> </ProductDetail> </ProductDetails> <SUB_TOTAL>3</SUB_TOTAL> <TAX>4</TAX> <TOTAL_PAYABLE>6</TOTAL_PAYABLE> </OrderDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |