POST api/WorkKindDo

[AuthFilter] 修改

Request Information

URI Parameters

None.

Body Parameters

实例

WorkKindDo
NameDescriptionTypeAdditional information
Id

ID

integer

None.

ParentId

类别

integer

None.

TiTle

标题

string

None.

BranchName

分会名称

string

None.

AddTime

增加时间

date

None.

Remarks

备注

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ParentId": 1,
  "TiTle": "sample string 2",
  "BranchName": "sample string 3",
  "AddTime": "2021-06-19 05:46:01",
  "Remarks": "sample string 4"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WorkKindDoResult
NameDescriptionTypeAdditional information
errorcode

返回代码

integer

None.

errormsg

返回代码说明

string

None.

datarow

学会分类

WorkKindDo

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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