POST api/HyClassSyc/UpgradeClass

“UpgradeClass”的文档。

Request Information

Parameters

NameDescriptionAdditional information
inModel
“inModel”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "oldclassno": 1,
  "newclassno": 2,
  "yeyptid": 3,
  "SrcFlag": "sample string 4"
}

application/xml, text/xml

Sample:
<HyClassSyc.UpgradeInPrame xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.WebApi.Models">
  <SrcFlag>sample string 4</SrcFlag>
  <newclassno>2</newclassno>
  <oldclassno>1</oldclassno>
  <yeyptid>3</yeyptid>
</HyClassSyc.UpgradeInPrame>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Model": {},
  "ErrorCode": -1,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OP.BLL.Model">
  <_x003C_ErrorMessage_x003E_k__BackingField>sample string 2</_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Model_x003E_k__BackingField />
</ResultModel>