POST api/approveOrder

Request Information

URI Parameters

None.

Body Parameters

Collection of ApproveOrderModel
NameDescriptionTypeAdditional information
id

string

None.

qty

string

None.

approvedTime

string

None.

approved

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "qty": "sample string 2",
    "approvedTime": "sample string 3",
    "approved": "sample string 4"
  },
  {
    "id": "sample string 1",
    "qty": "sample string 2",
    "approvedTime": "sample string 3",
    "approved": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApproveOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/capForm.Models">
  <ApproveOrderModel>
    <approved>sample string 4</approved>
    <approvedTime>sample string 3</approvedTime>
    <id>sample string 1</id>
    <qty>sample string 2</qty>
  </ApproveOrderModel>
  <ApproveOrderModel>
    <approved>sample string 4</approved>
    <approvedTime>sample string 3</approvedTime>
    <id>sample string 1</id>
    <qty>sample string 2</qty>
  </ApproveOrderModel>
</ArrayOfApproveOrderModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApproveOrderModel[]'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>