POST api/Mobile/AddOrderService

“AddOrderService”的文档。

Request Information

Parameters

NameDescriptionAdditional information
formdata
“formdata”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "QAType": 2,
  "Imgs": "sample string 3",
  "Reason": "sample string 4",
  "BanNo": "sample string 5",
  "Tel": "sample string 6",
  "QQ": "sample string 7",
  "GeoData": "sample string 8"
}

application/xml, text/xml

Sample:
<OrderService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YII.ZXY.Model.Mobile.Form">
  <BanNo>sample string 5</BanNo>
  <GeoData>sample string 8</GeoData>
  <Imgs>sample string 3</Imgs>
  <OrderId>1</OrderId>
  <QAType>2</QAType>
  <QQ>sample string 7</QQ>
  <Reason>sample string 4</Reason>
  <Tel>sample string 6</Tel>
</OrderService>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Data": {},
  "Sound": 2,
  "Code": 3,
  "Msg": "sample string 4"
}