POST api/Employee/CreateOrUpdateDepartmentMaster
Request Information
URI Parameters
None.
Body Parameters
DeparmentMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Code | string |
None. |
|
| IsActive | boolean |
None. |
|
| HrmsId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"description": "sample string 2",
"code": "sample string 3",
"isActive": true,
"hrmsId": 5
}
application/xml, text/xml
Sample:
<DeparmentMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScribingSoftware.Model.DTO"> <Code>sample string 3</Code> <Description>sample string 2</Description> <HrmsId>5</HrmsId> <IsActive>true</IsActive> <Name>sample string 1</Name> </DeparmentMaster>
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.