POST api/v1/hR_DepartmentUnit
Request Information
URI Parameters
None.
Body Parameters
HR_DepartmentUnitVMName | Description | Type | Additional information |
---|---|---|---|
departmentUnitId | integer |
None. |
|
name | string |
None. |
|
floor | string |
None. |
|
unitHeadId | integer |
None. |
|
createdBy | integer |
None. |
|
dateCreated | date |
None. |
|
approvedBy | integer |
None. |
|
dateApproved | date |
None. |
|
isDeleted | boolean |
None. |
|
dateDeleted | date |
None. |
|
deleteBy | integer |
None. |
|
tenantId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "departmentUnitId": 1, "name": "sample string 2", "floor": "sample string 3", "unitHeadId": 1, "createdBy": 1, "dateCreated": "2024-11-24T08:25:33.6259049-08:00", "approvedBy": 1, "dateApproved": "2024-11-24T08:25:33.6259049-08:00", "isDeleted": true, "dateDeleted": "2024-11-24T08:25:33.6259049-08:00", "deleteBy": 1, "tenantId": 1 }
application/xml, text/xml
Sample:
<HR_DepartmentUnitVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <approvedBy>1</approvedBy> <createdBy>1</createdBy> <dateApproved>2024-11-24T08:25:33.6259049-08:00</dateApproved> <dateCreated>2024-11-24T08:25:33.6259049-08:00</dateCreated> <dateDeleted>2024-11-24T08:25:33.6259049-08:00</dateDeleted> <deleteBy>1</deleteBy> <departmentUnitId>1</departmentUnitId> <floor>sample string 3</floor> <isDeleted>true</isDeleted> <name>sample string 2</name> <tenantId>1</tenantId> <unitHeadId>1</unitHeadId> </HR_DepartmentUnitVM>
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.