POST api/Other/SaveDepartmentMaster
Request Information
URI Parameters
None.
Body Parameters
DepartmentSaveInputParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| DepartmentID | integer |
None. |
|
| Departmentname | string |
None. |
|
| Active | boolean |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DepartmentID": 1,
"Departmentname": "sample string 2",
"Active": true,
"CreatedBy": 4
}
application/xml, text/xml
Sample:
<DepartmentSaveInputParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenterAPI.Models"> <Active>true</Active> <CreatedBy>4</CreatedBy> <DepartmentID>1</DepartmentID> <Departmentname>sample string 2</Departmentname> </DepartmentSaveInputParameter>
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.