POST api/cart/NewPartialOrder
Request Information
URI Parameters
None.
Body Parameters
CartRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
None. |
|
| OrderType | integer |
None. |
|
| UserId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| TableId | integer |
None. |
|
| CouponCode | string |
None. |
|
| Discount | decimal number |
None. |
|
| ParentId | integer |
None. |
|
| Quantity | integer |
None. |
|
| StockId | integer |
None. |
|
| ReMark | string |
None. |
|
| Amount | decimal number |
None. |
|
| ExternalOrderId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderId": 1,
"OrderType": 2,
"UserId": 3,
"CustomerId": 4,
"TableId": 5,
"CouponCode": "sample string 6",
"Discount": 1.1,
"ParentId": 7,
"Quantity": 8,
"StockId": 1,
"ReMark": "sample string 9",
"Amount": 1.1,
"ExternalOrderId": "sample string 10"
}
application/xml, text/xml
Sample:
<CartRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models"> <Amount>1.1</Amount> <CouponCode>sample string 6</CouponCode> <CustomerId>4</CustomerId> <Discount>1.1</Discount> <ExternalOrderId>sample string 10</ExternalOrderId> <OrderId>1</OrderId> <OrderType>2</OrderType> <ParentId>7</ParentId> <Quantity>8</Quantity> <ReMark>sample string 9</ReMark> <StockId>1</StockId> <TableId>5</TableId> <UserId>3</UserId> </CartRequestModel>
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.