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": "ea07ade1-2760-4bd8-bfed-a8400a8e623c",
  "ID": "4f05b787-acc1-4153-a242-6a3852f11c3d",
  "ParentID": "d5f1cdb6-a183-431f-be74-b4625062c639",
  "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.