PersoneelContact::postUpdateΒΆ
{
"version": "0.1",
"data": {
"id": 412,
"type": "personeel",
"displaynaam": "Pieter de Peddelaar",
"naam": "",
"adres": null,
"postcode": null,
"plaats": null,
"landcode": "NL",
"provinciecode": null,
"website": null,
"btw_nummer": null,
"user_id": 12,
"bedrijf_id": 3,
"deactivated_at": null,
"image_filename": "",
"extra_fields": "[]",
"status": "actief",
"onchange": "mailen",
"veelgebruikt": false,
"betalen_vanaf": null,
"uitje_activiteit_herinnering": false,
"soort_klant": null,
"afdeling": null,
"factuur_adressering": null,
"send_automatic_bookingmails": true
},
"meta": {}
}
Explanation:
id: integer.
type: string. Allowed values: klant, leverancier, overig, personeel. For this webhook the value is personeel.
displaynaam: string. Derived from the linked main contact person or contact number.
naam: string. Empty for personeel contacts by design.
adres: string|null.
postcode: string|null.
plaats: string|null.
landcode: string|null. ISO 3166-1 alpha-2.
provinciecode: string|null. ISO 3166-2.
website: string|null.
btw_nummer: string|null.
user_id: integer|null. Linked sfGuardUser id when applicable.
bedrijf_id: integer.
deactivated_at: non-empty-string|null. Returned as ISO 8601 date-time when anonymised/deactivated.
image_filename: string.
extra_fields: string. JSON-encoded array.
status: enum. actief or passief.
onchange: enum. mailen or niks.
veelgebruikt: boolean.
betalen_vanaf: date|null. ISO 8601 date YYYY-MM-DD.
uitje_activiteit_herinnering: boolean.
soort_klant: string|null.
afdeling: string|null.
factuur_adressering: string|null. Multi-line, separated by n.
send_automatic_bookingmails: boolean.
Webhook selection: use PersoneelContact::postInsert for creations and PersoneelContact::postUpdate for updates.