POST api/cart/confirmorder

Request Information

URI Parameters

None.

Body Parameters

ConfirmOrderModel
NameDescriptionTypeAdditional information
OrderId

integer

None.

LocationId

integer

None.

PCode

string

None.

ParentId

string

None.

PaymentType

string

None.

Remark

string

None.

PaymentMethod

integer

None.

CustomerId

integer

None.

TableId

integer

None.

Discount

decimal number

None.

DiscountAmount

decimal number

None.

CartType

string

None.

TableNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "LocationId": 2,
  "PCode": "sample string 3",
  "ParentId": "sample string 4",
  "PaymentType": "sample string 5",
  "Remark": "sample string 6",
  "PaymentMethod": 1,
  "CustomerId": 7,
  "TableId": 8,
  "Discount": 9.1,
  "DiscountAmount": 10.1,
  "CartType": "sample string 11",
  "TableNumber": "sample string 12"
}

application/xml, text/xml

Sample:
<ConfirmOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models">
  <CartType>sample string 11</CartType>
  <CustomerId>7</CustomerId>
  <Discount>9.1</Discount>
  <DiscountAmount>10.1</DiscountAmount>
  <LocationId>2</LocationId>
  <OrderId>1</OrderId>
  <PCode>sample string 3</PCode>
  <ParentId>sample string 4</ParentId>
  <PaymentMethod>1</PaymentMethod>
  <PaymentType>sample string 5</PaymentType>
  <Remark>sample string 6</Remark>
  <TableId>8</TableId>
  <TableNumber>sample string 12</TableNumber>
</ConfirmOrderModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.