POST api/delete-department
Request Information
URI Parameters
None.
Body Parameters
DepartmentModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| DepartmentId | integer | 
                             None.  | 
                |
| DepartmentName | string | 
                             None.  | 
                |
| IsActive | boolean | 
                             None.  | 
                |
| createdBy | integer | 
                             None.  | 
                |
| modifiedBy | integer | 
                             None.  | 
                |
| UserId | integer | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "DepartmentId": 1,
  "DepartmentName": "sample string 1",
  "IsActive": true,
  "createdBy": 1,
  "modifiedBy": 1,
  "UserId": 1
}
        application/xml, text/xml
            Sample:
        <DepartmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.MasterData"> <DepartmentId>1</DepartmentId> <DepartmentName>sample string 1</DepartmentName> <IsActive>true</IsActive> <UserId>1</UserId> <createdBy>1</createdBy> <modifiedBy>1</modifiedBy> </DepartmentModel>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | 
                             None.  | 
                |
| Content | HttpContent | 
                             None.  | 
                |
| StatusCode | HttpStatusCode | 
                             None.  | 
                |
| ReasonPhrase | string | 
                             None.  | 
                |
| Headers | Collection of Object | 
                             None.  | 
                |
| RequestMessage | HttpRequestMessage | 
                             None.  | 
                |
| IsSuccessStatusCode | boolean | 
                             None.  |