POST api/v1/hR_Department
Request Information
URI Parameters
None.
Body Parameters
HR_DepartmentVMName | Description | Type | Additional information |
---|---|---|---|
departmentId | integer |
None. |
|
name | string |
None. |
|
floor | string |
None. |
|
hOD | 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:
{ "departmentId": 1, "name": "sample string 2", "floor": "sample string 3", "hOD": 1, "createdBy": 1, "dateCreated": "2024-11-24T08:57:25.4972389-08:00", "approvedBy": 1, "dateApproved": "2024-11-24T08:57:25.4972389-08:00", "isDeleted": true, "dateDeleted": "2024-11-24T08:57:25.4972389-08:00", "deleteBy": 1, "tenantId": 1 }
application/xml, text/xml
Sample:
<HR_DepartmentVM 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:57:25.4972389-08:00</dateApproved> <dateCreated>2024-11-24T08:57:25.4972389-08:00</dateCreated> <dateDeleted>2024-11-24T08:57:25.4972389-08:00</dateDeleted> <deleteBy>1</deleteBy> <departmentId>1</departmentId> <floor>sample string 3</floor> <hOD>1</hOD> <isDeleted>true</isDeleted> <name>sample string 2</name> <tenantId>1</tenantId> </HR_DepartmentVM>
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.