POST api/common/managerorders

Request Information

URI Parameters

None.

Body Parameters

Root
NameDescriptionTypeAdditional information
ref_id

integer

None.

delivery_address

string

None.

status

integer

None.

paymnetrefid

integer

None.

htmlbody

string

None.

is_paid

string

None.

total_payabel

integer

None.

orderDetails

Collection of OrderDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "ref_id": 1,
  "delivery_address": "sample string 2",
  "status": 3,
  "paymnetrefid": 4,
  "htmlbody": "sample string 5",
  "is_paid": "sample string 6",
  "total_payabel": 7,
  "orderDetails": [
    {
      "UserId": 1,
      "Img": "sample string 2",
      "Name": "sample string 3",
      "Price": 4,
      "Quantity": 5,
      "SavedAmt": 6,
      "ProductId": 7,
      "UnitId": 8
    },
    {
      "UserId": 1,
      "Img": "sample string 2",
      "Name": "sample string 3",
      "Price": 4,
      "Quantity": 5,
      "SavedAmt": 6,
      "ProductId": 7,
      "UnitId": 8
    }
  ]
}

application/xml, text/xml

Sample:
<Modal.Root xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VeggieMart.Models">
  <delivery_address>sample string 2</delivery_address>
  <htmlbody>sample string 5</htmlbody>
  <is_paid>sample string 6</is_paid>
  <orderDetails>
    <Modal.OrderDetail>
      <Img>sample string 2</Img>
      <Name>sample string 3</Name>
      <Price>4</Price>
      <ProductId>7</ProductId>
      <Quantity>5</Quantity>
      <SavedAmt>6</SavedAmt>
      <UnitId>8</UnitId>
      <UserId>1</UserId>
    </Modal.OrderDetail>
    <Modal.OrderDetail>
      <Img>sample string 2</Img>
      <Name>sample string 3</Name>
      <Price>4</Price>
      <ProductId>7</ProductId>
      <Quantity>5</Quantity>
      <SavedAmt>6</SavedAmt>
      <UnitId>8</UnitId>
      <UserId>1</UserId>
    </Modal.OrderDetail>
  </orderDetails>
  <paymnetrefid>4</paymnetrefid>
  <ref_id>1</ref_id>
  <status>3</status>
  <total_payabel>7</total_payabel>
</Modal.Root>

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.