POST v3/orders/create

Request Information

URI Parameters

None.

Body Parameters

AppQuickOrderRequest
NameDescriptionTypeAdditional information
id

integer

None.

customerId

string

None.

currency

string

None.

deliveryCost

decimal number

None.

subtotal

decimal number

None.

discount

decimal number

None.

total

decimal number

None.

companyMessage

string

None.

createdBy

string

None.

items

Collection of ItemDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "customerId": "sample string 2",
  "currency": "sample string 3",
  "deliveryCost": 4.0,
  "subtotal": 5.0,
  "discount": 6.0,
  "total": 7.0,
  "companyMessage": "sample string 8",
  "createdBy": "sample string 9",
  "items": [
    {
      "id": 1,
      "productId": 2,
      "description": "sample string 3",
      "quantity": 4,
      "unitPrice": 5.0,
      "total": 6.0,
      "isDiscountPrice": true
    },
    {
      "id": 1,
      "productId": 2,
      "description": "sample string 3",
      "quantity": 4,
      "unitPrice": 5.0,
      "total": 6.0,
      "isDiscountPrice": true
    }
  ]
}

application/xml, text/xml

Sample:
<AppQuickOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <companyMessage>sample string 8</companyMessage>
  <createdBy>sample string 9</createdBy>
  <currency>sample string 3</currency>
  <customerId>sample string 2</customerId>
  <deliveryCost>4</deliveryCost>
  <discount>6</discount>
  <id>1</id>
  <items>
    <ItemDTO>
      <description>sample string 3</description>
      <id>1</id>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>2</productId>
      <quantity>4</quantity>
      <total>6</total>
      <unitPrice>5</unitPrice>
    </ItemDTO>
    <ItemDTO>
      <description>sample string 3</description>
      <id>1</id>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>2</productId>
      <quantity>4</quantity>
      <total>6</total>
      <unitPrice>5</unitPrice>
    </ItemDTO>
  </items>
  <subtotal>5</subtotal>
  <total>7</total>
</AppQuickOrderRequest>

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.