POST api/YkUser/BindingUser

“BindingUser”的文档。

Request Information

Parameters

NameDescriptionAdditional information
inModel
“inModel”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "schoolid": 1,
  "UserInfo": {
    "username": "sample string 1",
    "pwd": "sample string 2",
    "key": "sample string 3"
  }
}

application/xml, text/xml

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

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

Response Information

Response body formats

application/json, text/json

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

application/xml, text/xml

Sample:
<JiCaiResult 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 />
    <dataCount>2</dataCount>
    <status>
      <msg>sample string 1</msg>
    </status>
  </_x003C_result_x003E_k__BackingField>
</JiCaiResult>