POST api/KPKindDo

[AuthFilter] 修改

Request Information

URI Parameters

None.

Body Parameters

实例

KPKindDo
NameDescriptionTypeAdditional information
Id

Id

integer

None.

XuHao

序号

integer

None.

Title

名称

string

None.

AddTime

上传时间

date

None.

UpdateTime

修改时间

date

None.

UpLoadFile

上传文件

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "XuHao": 1,
  "Title": "sample string 2",
  "AddTime": "2021-06-19 04:36:17",
  "UpdateTime": "2021-06-19 04:36:17",
  "UpLoadFile": "sample string 3"
}

application/xml, text/xml

Sample:
<KPKindDo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoT4.EFDo">
  <AddTime>2021-06-19T04:36:17.42575+08:00</AddTime>
  <Id>1</Id>
  <Title>sample string 2</Title>
  <UpLoadFile>sample string 3</UpLoadFile>
  <UpdateTime>2021-06-19T04:36:17.42575+08:00</UpdateTime>
  <XuHao>1</XuHao>
</KPKindDo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

KPKindDoResult
NameDescriptionTypeAdditional information
errorcode

返回代码

integer

None.

errormsg

返回代码说明

string

None.

datarow

科普计划申报文件上传

KPKindDo

None.

Response Formats

application/json, text/json

Sample:
{
  "errorcode": 1,
  "errormsg": "sample string 2",
  "datarow": {
    "Id": 1,
    "XuHao": 1,
    "Title": "sample string 2",
    "AddTime": "2021-06-19 04:36:17",
    "UpdateTime": "2021-06-19 04:36:17",
    "UpLoadFile": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<KPKindDoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoT4.EFDo">
  <datarow>
    <AddTime>2021-06-19T04:36:17.4267265+08:00</AddTime>
    <Id>1</Id>
    <Title>sample string 2</Title>
    <UpLoadFile>sample string 3</UpLoadFile>
    <UpdateTime>2021-06-19T04:36:17.4267265+08:00</UpdateTime>
    <XuHao>1</XuHao>
  </datarow>
  <errorcode>1</errorcode>
  <errormsg>sample string 2</errormsg>
</KPKindDoResult>