GET api/KindDo/{id}

[AuthFilter] 读取

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id

integer

Required

Body Parameters

None.

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 04:37:50",
    "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-19T04:37:50.5497734+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>