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": "c1f44189-b737-41bd-b835-8b8f6fc65ebf",
  "ParentID": "9f43260c-1bd3-4f01-9e3d-ae2b3c9cbbfb",
  "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.