POST api/orders/removeitem

Request Information

URI Parameters

None.

Body Parameters

OrderItem
NameDescriptionTypeAdditional information
OrderItemId

integer

None.

ProductId

integer

None.

OrderId

integer

None.

Quantity

decimal number

None.

UnitPrice

decimal number

None.

TaxAmount

decimal number

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderItemId": 1,
  "ProductId": 2,
  "OrderId": 3,
  "Quantity": 4.0,
  "UnitPrice": 5.0,
  "TaxAmount": 6.0,
  "UserId": 7
}

application/xml, text/xml

Sample:
<OrderItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRestuarantWebAPI.Models">
  <OrderId>3</OrderId>
  <OrderItemId>1</OrderItemId>
  <ProductId>2</ProductId>
  <Quantity>4</Quantity>
  <TaxAmount>6</TaxAmount>
  <UnitPrice>5</UnitPrice>
  <UserId>7</UserId>
</OrderItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.