POST api/UnitDepartment/Update

单位修改部门

Request Information

URI Parameters

None.

Body Parameters

UpdateInput3
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

ID

编号

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": "6475c99a-1949-4cc0-9297-026f6cba3405",
  "ID": "b45fcf3a-5711-43a2-b5ea-29ea991a05d5",
  "ParentID": "f508db1d-49b6-4aea-8b34-9fe8d61fec57",
  "DepartmentName": "sample string 3",
  "IndexOrder": 1
}

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.