POST api/Factory/SetState

“SetState”的文档。

Request Information

Parameters

NameDescriptionAdditional information
posdate
“posdate”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "topNumber": 2,
  "orderid": "sample string 3",
  "isSave": true,
  "orderids": "sample string 5",
  "dmspath": "sample string 6"
}

application/xml, text/xml

Sample:
<LoginF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YII.ZXY.Web.API.Controllers">
  <dmspath>sample string 6</dmspath>
  <isSave>true</isSave>
  <orderid>sample string 3</orderid>
  <orderids>sample string 5</orderids>
  <token>sample string 1</token>
  <topNumber>2</topNumber>
</LoginF>

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 'LoginF'.

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>