POST api/Department/Save
Request Information
URI Parameters
None.
Body Parameters
DepartmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Department_Id | integer |
None. |
|
| Department_Name | string |
None. |
|
| Branch_Name | string |
None. |
|
| Created_By | string |
None. |
|
| Created_Date_Time | date |
None. |
|
| Updated_By | string |
None. |
|
| Updated_Date_Time | date |
None. |
|
| Status | character |
None. |
Request Formats
application/json, text/json
Sample:
{
"Department_Id": 1,
"Department_Name": "sample string 2",
"Branch_Name": "sample string 3",
"Created_By": "sample string 4",
"Created_Date_Time": "2025-12-05T23:02:58.2635531+05:30",
"Updated_By": "sample string 5",
"Updated_Date_Time": "2025-12-05T23:02:58.2635531+05:30",
"Status": "A"
}
application/xml, text/xml
Sample:
<DepartmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Committed_API.DTO"> <Branch_Name>sample string 3</Branch_Name> <Created_By>sample string 4</Created_By> <Created_Date_Time>2025-12-05T23:02:58.2635531+05:30</Created_Date_Time> <Department_Id>1</Department_Id> <Department_Name>sample string 2</Department_Name> <Status>65</Status> <Updated_By>sample string 5</Updated_By> <Updated_Date_Time>2025-12-05T23:02:58.2635531+05:30</Updated_Date_Time> </DepartmentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.