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": "07f4e703-9466-4874-9d81-193e7825456e",
  "ID": "87759453-8b9f-49b3-a5a0-7119c6c154b1",
  "ParentID": "d8827aea-1073-42ad-a33c-269900492f0c",
  "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.