edit contract
Testing Env
https://testhr.vodoglobal.com
Testing Env
https://testhr.vodoglobal.com
PUT
/api/v1/employee/3286/contracts/30
Last modified:2025-03-26 12:40:51
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://testhr.vodoglobal.com/api/v1/employee/3286/contracts/30' \
--header 'secure_business_key: 4765066450c0bd66325.48403130' \
--header 'uuid: 630ca2f4885f8' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"air_ticket_exchange": "15000",
"annual_leave": "10",
"annual_rewards": "40000",
"annual_salary": 480000,
"business_id": "259",
"company_bearing_ratio": "20",
"company_id": 259,
"contract_name": "test contract 2 edited",
"contributions": [
{
"value": "20000"
}
],
"created_at": "2024-10-10T21:54:59.000000Z",
"deleted_at": null,
"earnings": [
{
"value": "6000"
},
{
"value": "7000"
},
{
"value": "8000"
},
{
"value": "9000"
},
{
"value": "10000"
}
],
"employee_bearing_ratio": "10",
"employee_id": 3263,
"end_date": "2024/10/30",
"files": null,
"has_end": null,
"hourly_wage": 111,
"hr_officer_id": 601,
"id": 26,
"notes": "<p>this is test contract for <strong>editedFarrah Hinton edited </strong></p>\n<p>starts in <span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\"><strong>{start_date}</strong></span> <strong> </strong><span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p>ends in <strong>{end_date} </strong><span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p><em>test italic </em><span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p><ins>test underline </ins><span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p>test line thought <span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p>test font size <span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p>test font family <span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> </p>\n<p> <span style=\"color: rgb(42,46,55);background-color: rgb(255,255,255);font-size: medium;font-family: Arial, Helvetica, sans-serif;\">edited </span> s</p>\n",
"notice_period": "20",
"occupation_id": 61,
"schedule_time": {
"working_hours_from": "09:00",
"working_hours_to": "17:00"
},
"start_date": "2024/10/10",
"today_wage": 1333,
"updated_at": "2024-10-10T21:54:59.000000Z",
"work_schedule_select": "new",
"calendar_id": [1, 2, 3], // Example calendar IDs
"employment_type": "full_time" // Example employment type
}'
Response Response Example
{}
Request
Query Params
uuid
stringÂ
optional
Header Params
secure_business_key
stringÂ
required
Example:
{{secure_business_key}}
uuid
stringÂ
required
Example:
{{uuid}}
Accept
stringÂ
required
Example:
application/json
Body Params application/json