DELETE api/KPlanDo/{id}

[AuthFilter] 删除(并且删除外键记录)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

KPlanDoResult
NameDescriptionTypeAdditional information
errorcode

返回代码

integer

None.

errormsg

返回代码说明

string

None.

datarow

科普计划申报

KPlanDo

None.

Response Formats

application/json, text/json

Sample:
{
  "errorcode": 1,
  "errormsg": "sample string 2",
  "datarow": {
    "Id": 1,
    "XuHao": 1,
    "TiTle": "sample string 2",
    "UserId": 1,
    "BranchName": "sample string 3",
    "AddTime": "2021-06-19 05:03:52",
    "ZWChecked": true,
    "MSChecked": true,
    "UpFile": "sample string 4",
    "Year": "sample string 5",
    "Remarked": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<KPlanDoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoT4.EFDo">
  <datarow>
    <AddTime>2021-06-19T05:03:52.1122734+08:00</AddTime>
    <BranchName>sample string 3</BranchName>
    <Id>1</Id>
    <MSChecked>true</MSChecked>
    <Remarked>sample string 6</Remarked>
    <TiTle>sample string 2</TiTle>
    <UpFile>sample string 4</UpFile>
    <UserId>1</UserId>
    <XuHao>1</XuHao>
    <Year>sample string 5</Year>
    <ZWChecked>true</ZWChecked>
  </datarow>
  <errorcode>1</errorcode>
  <errormsg>sample string 2</errormsg>
</KPlanDoResult>