POST api/OrderCustomer/AddOrUpdate

Request Information

URI Parameters

None.

Body Parameters

AddOrUpdateOrderItemCustomerModel
NameDescriptionTypeAdditional information
Id

integer

None.

UnitPrice

decimal number

None.

AdjustedPrice

decimal number

None.

Quantity

integer

None.

ProductId

globally unique identifier

None.

OrderId

globally unique identifier

None.

Note

string

None.

IsCreate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UnitPrice": 1.0,
  "AdjustedPrice": 2.0,
  "Quantity": 3,
  "ProductId": "9aa9f1b3-d6e7-43cc-9275-739a14ad2355",
  "OrderId": "1920e614-7135-45cd-bfef-606392e8956b",
  "Note": "sample string 5",
  "IsCreate": true
}

application/xml, text/xml

Sample:
<AddOrUpdateOrderItemCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.OrderCustomer">
  <AdjustedPrice>2</AdjustedPrice>
  <Id>1</Id>
  <IsCreate>true</IsCreate>
  <Note>sample string 5</Note>
  <OrderId>1920e614-7135-45cd-bfef-606392e8956b</OrderId>
  <ProductId>9aa9f1b3-d6e7-43cc-9275-739a14ad2355</ProductId>
  <Quantity>3</Quantity>
  <UnitPrice>1</UnitPrice>
</AddOrUpdateOrderItemCustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.