POST api/UnitDepartment/Insert

单位添加部门

Request Information

URI Parameters

None.

Body Parameters

InsertInput7
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

ParentID

上级编号[顶级Guid.Empty 00000000-0000-0000-0000-000000000000]

globally unique identifier

None.

DepartmentName

名称[最多20个汉字]

string

None.

IndexOrder

部门排序

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "6f6bae6a-abbb-4115-8f75-e22092a0b2c3",
  "ParentID": "f8db4055-fbd2-48f1-b70f-1f2a281333a4",
  "DepartmentName": "sample string 3",
  "IndexOrder": 4
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.