POST api/v1/hR_EmployeeCrimeRecord
Request Information
URI Parameters
None.
Body Parameters
HR_EmployeeCrimeRecordVM| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeCrimeId | integer |
None. |
|
| employeeId | integer |
None. |
|
| crimeDate | date |
None. |
|
| offence | string |
None. |
|
| lawEnforcementEngency | string |
None. |
|
| penaltyEnforced | string |
None. |
|
| tenantId | integer |
None. |
|
| dateCreated | date |
None. |
|
| createdBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"employeeCrimeId": 1,
"employeeId": 1,
"crimeDate": "2025-10-27T09:28:42.6312509-07:00",
"offence": "sample string 2",
"lawEnforcementEngency": "sample string 3",
"penaltyEnforced": "sample string 4",
"tenantId": 1,
"dateCreated": "2025-10-27T09:28:42.6312509-07:00",
"createdBy": 5
}
application/xml, text/xml
Sample:
<HR_EmployeeCrimeRecordVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <createdBy>5</createdBy> <crimeDate>2025-10-27T09:28:42.6312509-07:00</crimeDate> <dateCreated>2025-10-27T09:28:42.6312509-07:00</dateCreated> <employeeCrimeId>1</employeeCrimeId> <employeeId>1</employeeId> <lawEnforcementEngency>sample string 3</lawEnforcementEngency> <offence>sample string 2</offence> <penaltyEnforced>sample string 4</penaltyEnforced> <tenantId>1</tenantId> </HR_EmployeeCrimeRecordVM>
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.