POST api/UserManagement/UpdateDepartment

Update department details

Request Information

URI Parameters

None.

Body Parameters

Department details

Department
NameDescriptionTypeAdditional information
DepartmentId

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DepartmentId": 1,
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto.User">
  <DepartmentId>1</DepartmentId>
  <Name>sample string 3</Name>
  <OrganizationId>2</OrganizationId>
</Department>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
StatusCode

StatusCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 1000,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enTT.ZS.Dto">
  <Data>true</Data>
  <Message>sample string 1</Message>
  <Result />
  <StatusCode>Success</StatusCode>
</ResponseOfboolean>