POST api/updateMLOrder

Request Information

URI Parameters

None.

Body Parameters

Collection of updateModel
NameDescriptionTypeAdditional information
admin

string

None.

id

string

None.

EmpId

string

None.

status

string

None.

approved

string

None.

approvedTime

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "admin": "sample string 1",
    "id": "sample string 2",
    "EmpId": "sample string 3",
    "status": "sample string 4",
    "approved": "sample string 5",
    "approvedTime": "sample string 6"
  },
  {
    "admin": "sample string 1",
    "id": "sample string 2",
    "EmpId": "sample string 3",
    "status": "sample string 4",
    "approved": "sample string 5",
    "approvedTime": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfupdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/capForm.Models">
  <updateModel>
    <EmpId>sample string 3</EmpId>
    <admin>sample string 1</admin>
    <approved>sample string 5</approved>
    <approvedTime>sample string 6</approvedTime>
    <id>sample string 2</id>
    <status>sample string 4</status>
  </updateModel>
  <updateModel>
    <EmpId>sample string 3</EmpId>
    <admin>sample string 1</admin>
    <approved>sample string 5</approved>
    <approvedTime>sample string 6</approvedTime>
    <id>sample string 2</id>
    <status>sample string 4</status>
  </updateModel>
</ArrayOfupdateModel>

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 'updateModel[]'.

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>