PUT api/v1/hR_EmployeeCrimeRecord/{employeeId}/employeeId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeId | integer |
Required |
Body Parameters
HR_EmployeeCrimeRecordVMName | 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": "2024-11-24T10:05:20.37089-08:00", "offence": "sample string 2", "lawEnforcementEngency": "sample string 3", "penaltyEnforced": "sample string 4", "tenantId": 1, "dateCreated": "2024-11-24T10:05:20.37089-08: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>2024-11-24T10:05:20.37089-08:00</crimeDate> <dateCreated>2024-11-24T10:05:20.37089-08: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.