POST api/IsTrans/Requestdata

“Requestdata”的文档。

Request Information

Parameters

NameDescriptionAdditional information
model
“model”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "schoolid": "sample string 1",
  "UserInfo": {
    "username": "sample string 1",
    "key": "sample string 2"
  },
  "Parameters": {
    "date": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<Request.InPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
  <Parameters>
    <date>sample string 1</date>
  </Parameters>
  <UserInfo>
    <key>sample string 2</key>
    <username>sample string 1</username>
  </UserInfo>
  <schoolid>sample string 1</schoolid>
</Request.InPrame>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'InPrame'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "result": {
    "status": {
      "msg": "sample string 1"
    },
    "data": {
      "haschange": "sample string 1"
    }
  }
}

application/xml, text/xml

Sample:
<ResultModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
  <_x003C_result_x003E_k__BackingField>
    <data>
      <haschange>sample string 1</haschange>
    </data>
    <status>
      <msg>sample string 1</msg>
    </status>
  </_x003C_result_x003E_k__BackingField>
</ResultModels>