Example Payloads - Classic Webhooks

Employee Events

 

employee.created

{ "Event": "employee.created", "System": "se__brouppsara", "SystemName": "", "Content": { "EmployeeId": "81ff7252-00ff-4d37-89de-4e4bf1beXXXX", "FirstName": "Sara", "LastName": "Liljefors", "PrivateEmail": "sara.liljefors@caspeco.se", "WorkEmail": "sara.liljefors@caspeco.se", "Enabled": true }, "TraceId": "78c7065e-5134-423b-af5a-308633fa8b40" }

 

employee.updated

Update first name

{ "Event": "employee.updated", "System": "se__brouppsara", "SystemName": "", "Content": { "EmployeeId": "81ff7252-00ff-4d37-89de-4e4bf1beXXXX", "FirstName": "Sara" }, "TraceId": "7b5e8b3a-6b55-4892-8756-662b3674981a" }

 

Update last name

{ "Event": "employee.updated", "System": "se__brouppsara", "SystemName": "", "Content": { "EmployeeId": "81ff7252-00ff-4d37-89de-4e4bf1beXXXX", "LastName": "Liljefors" }, "TraceId": "379f2436-f6c7-40f5-90cf-6792c7c0523f" }

 

Update first name and last name

 

Update private email

 

Update first name and private email

 

Update last name and private email

 

Update first name, last name and private email

 

Update profession

 

Update station

 

Update station and business unit

 

Update profession and station

 

Update profession, station and business unit

 

employment.ended

 

employee.enabled

An employee is set to enable (visible in Caspeco)

 

An employee is set to disabled (hidden in Caspeco)

 

employee.deleted