Guides
Trin for trin-vejledninger til opsætning og brug af systemet.
Guides - Event participant: Sign up/cancel/edit
-
Guides
- General
- Booking
- Event
- Cash Register Add-On
- Gift Voucher Add-On
- Marketing Add-On
- Record Add-On
- Form Add-On
- Documents
- Online Payment Add-On
- SMS Add-On
- Integrations
- For developers
- API and webhooks
- REST API
- Webhooks
- Scheduled webhooks
- Create a webhook
- Event webhooks
- Booking: Create/edit/delete
- Customer: Newsletter subscribe/unsubscribe
- Reward program: Balance update
- Cash register: Completed sale
- Cash register: Completed sale - per line item
- Customer: Master data updated
- Cash register: Cash reconciliation
- Online paid/cancelled orders with customer attached
- Work hours: Create/edit/delete work hour
- Event: Create/edit/delete
- Event participant: Sign up/cancel/edit
- Questionnaire: Finish/edit
- Voucher: Completed transaction
- SSO - Single Sign On
- API and webhooks
Event participant: Sign up/cancel/edit
This webhook can be used to send data from an event signup when it is created, changed and/or deleted. On the individual webhook you choose under "Run at" whether it should run at Event signup, Event edit signup and/or Event unsubscription. When the action is performed, the webhook is added to a queue that is processed every 5 minutes. It can therefore take up to about 5 minutes before the webhook is sent. There is no replacement code that tells which of the three actions was performed. It is therefore recommended to create one webhook for each action and write the action yourself as text in the JSON, for example "CREATED", "EDITED" or "DELETED". If a participant on a signup is edited, the webhook is sent as an edit of the main signup, and the whole signup is sent with the edited values. Example of JSON that can be sent: |
{
"action": "CREATED",
"eventId": [eventId],
"customerId": "[customerId]",
"mainSignupId": "[eventSignupId]",
"mainSignupGUID": "[eventSignupGuid]",
"mainSignupFields": [[each_eventField_begin]
{
"fieldId": "[eventFieldId]",
"fieldName": "[eventFieldName]",
"fieldValue": "[eventFieldValue]"
}[,][each_eventField_end]
],
"signupCreatedDate": "[eventSignupCreatedDate]",
"signupCreatedTime": "[eventSignupCreatedTime]",
"totalSignupSeats": "[signupNumSeats]",
"subSignups": [[each_signup_children_begin]
{
"subSignupId": "[eventSignupId]",
"subSignupFields": [[each_eventField_begin]
{
"fieldId": "[eventFieldId]",
"fieldName": "[eventFieldName]",
"fieldValue": "[eventFieldValue]"
}[,][each_eventField_end]
]
}[,][each_signup_children_end]
]
}
The replacement codes in the example above will be replaced with the following data when the specific webhook runs:
|
In addition to the above, you can also use replacement codes from the following categories to build your own: |