Activity events
Some tooltip text!
• 3 minutes to read
• 3 minutes to read
These events are fired when appointment/document rows are changed:
activity.created
activity.changed
activity.deleted
Included FieldValues for activity events
The following fields are included in the FieldValues
property of the webhook payload for activity events:
activeDate
- date of the activityassociate_id
- ID of the associate who created the activitycontact_id
- ID of the contactdo_by
- date when the activity should be donedocument_id
- ID of the documentendDate
- date when the activity endsmodified_appointment_fields
- modified appointment fieldsmother_id
- ID of the mother activityperson_id
- ID of the personprivate
- private activityproject_id
- ID of the projectsale_id
- ID of the salestatus
- status of the activitytask_idx
- task indextype
- type of the activityupdated
- date of the last updateuserdef2_id
- user-defined field 2userdef_id
- user-defined field 1
Activity.created
POST /webhook HTTP/1.1
Content-Type: application/json; charset=utf-8
User-Agent: NetServer-Webhook/8.8.6684.1719
X-Superoffice-Event: activity.created
X-Superoffice-Eventid: 6aa6de53-f5c3-4dc6-af3e-746df45573b8
X-Superoffice-Signature: X1FmmRIXuzH8o0MDanva1lnuNZXoix6M0US1S64s+e8=
{
"EventId": "6aa6de53-f5c3-4dc6-af3e-746df45573b8",
"Timestamp": "2018-04-24T08:13:17.8445662Z",
"Changes": [
"appointment_id",
"suggestedDocumentId",
"status",
"task_idx",
"endDate",
"document_id",
"activeLinks",
"assignedBy",
"alarm",
"done",
"updatedCount",
"contact_id",
"emailId",
"lagTime",
"priority_idx",
"associate_id",
"userdef_id",
"group_idx",
"recurrenceRuleId",
"private",
"do_by",
"location",
"invitedPersonId",
"registered_associate_id",
"preferredTZLocation",
"updated",
"project_id",
"rejectReason",
"sale_id",
"person_id",
"activeDate",
"rejectCounter",
"color_index",
"suggestedAppointmentId",
"leadtime",
"registered",
"hasAlarm",
"alldayEvent",
"text_id",
"updated_associate_id",
"type",
"userdef2_id",
"freeBusy",
"source",
"isMilestone",
"mother_id"
],
"Event": "activity.created",
"PrimaryKey": 4039840,
"Entity": "activity",
"ContextIdentifier": "Default",
"ChangedByAssociateId": 37201,
"WebhookName": "Name you provided",
"FieldValues": {
"activeDate": "2025-05-14T16:04:09.1213772+02:00",
"associate_id": 5,
"contact_id": 1,
"do_by": "2025-05-14T16:04:09.1213772+02:00",
"document_id": 168,
"endDate": "0001-01-01T00:00:00",
"modified_appointment_fields": 0,
"mother_id": 0,
"person_id": 4,
"private": 0,
"project_id": 0,
"sale_id": 8,
"status": 3,
"task_idx": 54,
"type": 4,
"updated": "0001-01-01T00:00:00",
"userdef2_id": 0,
"userdef_id": 0
}
}
Activity.changed
{
"EventId": "e87ac619-c864-4881-89eb-07ca5521ee2c",
"Timestamp": "2018-04-24T08:18:42.089895Z",
"Changes": [
"appointment_id",
"status",
"done",
"updated",
"updated_associate_id",
"updatedCount"
],
"Event": "activity.changed",
"PrimaryKey": 4039840,
"Entity": "activity",
"ContextIdentifier": "Default",
"ChangedByAssociateId": 316,
"WebhookName": "Name you provided"
}
Activity.deleted
{
"EventId": "e87ac619-c864-4881-89eb-07ca5521ee2c",
"Timestamp": "2018-04-24T08:18:42.089895Z",
"Changes": [],
"Values": {
"appointment_id": 4039840,
"contact_id": 1234,
"person_id": 0,
"project_id": 178105,
"sale_id": 0
},
"Event": "activity.deleted",
"PrimaryKey": 4039840,
"Entity": "activity",
"ContextIdentifier": "Default",
"ChangedByAssociateId": 316,
"WebhookName": "Name you provided"
}