GET api/UserManagement/DeleteDepartment?departmentId={departmentId}

Delete department which is not assigned with users.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
departmentId

Department id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Department delete status

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>