POST api/KindDo

[AuthFilter] 修改

Request Information

URI Parameters

None.

Body Parameters

实例

KindDo
NameDescriptionTypeAdditional information
Id

ID

integer

None.

ParentId

类别

integer

None.

TiTle

标题

string

None.

AddTime

增加时间

date

None.

Remarks

备注

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ParentId": 1,
  "TiTle": "sample string 2",
  "AddTime": "2021-06-19 05:18:12",
  "Remarks": "sample string 3"
}

application/xml, text/xml

Sample:
<KindDo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoT4.EFDo">
  <AddTime>2021-06-19T05:18:12.8427422+08:00</AddTime>
  <Id>1</Id>
  <ParentId>1</ParentId>
  <Remarks>sample string 3</Remarks>
  <TiTle>sample string 2</TiTle>
</KindDo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

KindDoResult
NameDescriptionTypeAdditional information
errorcode

返回代码

integer

None.

errormsg

返回代码说明

string

None.

datarow

分类表

KindDo

None.

Response Formats

application/json, text/json

Sample:
{
  "errorcode": 1,
  "errormsg": "sample string 2",
  "datarow": {
    "Id": 1,
    "ParentId": 1,
    "TiTle": "sample string 2",
    "AddTime": "2021-06-19 05:18:12",
    "Remarks": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<KindDoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoT4.EFDo">
  <datarow>
    <AddTime>2021-06-19T05:18:12.8427422+08:00</AddTime>
    <Id>1</Id>
    <ParentId>1</ParentId>
    <Remarks>sample string 3</Remarks>
    <TiTle>sample string 2</TiTle>
  </datarow>
  <errorcode>1</errorcode>
  <errormsg>sample string 2</errormsg>
</KindDoResult>