This endpoint specifies what will be sent to your Employee Webhook. Zeal POSTs a request containing an The Employee Object when it has been updated or deleted. You can update and test the webhook URL you want Zeal to hit in the 'API' Page of the Zeal Dashboard.
Request Body
attribute | type | description |
---|---|---|
test | boolean | Whether the employee was updated or deleted in Test Mode |
type | string | The operation that was applied to this employee |
Other The Employee Object fields
Returns
Doesn't return anything but rather POSTs the updated or deleted Employee Object to webhook URL
Raw Content Example
{
"type": "update",
"test": true,
"companyID": "083472985",
"business_name": "Test Company",
"onboarded": true,
"start_date": "2019-03-25",
"term_date": null,
"employment_status": "live",
"employeeID": "1234567890",
"first_name": "Fake",
"last_name": "Employee",
"ssn": "123456789",
"phone_number": "+13456778934",
"email": "[email protected]",
"title": "Manager",
"working_state": "CA",
"dob": "1990-08-01",
"default_pay_schedule": "daily",
"default_wage": 20,
"default_ot_wage": 30,
"default_dt_wage": 40,
"address": "1 Market St.",
"city": "San Francisco",
"state": "CA",
"zip": "10000"
}