Any questions

We are happy to help!

Question about Gecko Booking?

If you are unsure whether Gecko Booking is right for you, or if you have other questions, we would love to hear from you!

All good!
Please enter your name.
All good!
Please enter your email.
All good!
All good!
Please enter your question.

Fields marked with an * are required


Guides

Trin for trin-vejledninger til opsætning og brug af systemet.

Guides - Event participant: Sign up/cancel/edit

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:

  • [eventId] is replaced with the unique Id of the event the signup belongs to.
  • [customerId] is replaced with the unique Id of the customer who signed up.
  • [eventSignupId] is replaced with the signup's unique Id. Outside [each_signup_children_begin] [each_signup_children_end] it is the main signup's Id, and in between it is the individual participant's Id.
  • [eventSignupGuid] is replaced with the signup's unique GUID.
  • [eventSignupCreatedDate] is replaced with the date of the signup in the format DD/MM-YY, for example 06/11-26 (two digits in the year).
  • [eventSignupCreatedTime] is replaced with the time of the signup in the format HH:MM.
  • [signupNumSeats] is replaced with the number of seats on the signup. If the signup has no participants it is 1, otherwise the number of participants.
  • [each_eventField_begin] [each_eventField_end] is repeated for each signup field, where the following replacement codes can be used in between:
    • [eventFieldId] is replaced with the unique Id of the signup field.
    • [eventFieldName] is replaced with the name of the signup field.
    • [eventFieldValue] is replaced with the value filled in for the signup field. For a checkbox it is 1 (checked) or 0 (not checked).
    • [,] is replaced with a comma between the fields and is not placed after the last field.
  • [each_signup_children_begin] [each_signup_children_end] is repeated for each participant on the signup. If there are no participants, the block is removed and the list is empty. The codes above can be used in between, and [,] gives a comma between the participants.

In addition to the above, you can also use replacement codes from the following categories to build your own:


 


Try a Free and Non-Binding Demo of Gecko Booking & Administration

Fill out the form, and you will receive a demo as soon as possible.

All good!
Please enter the company name.
All good!
Please enter your phone number.
All good!
Please enter your name.

Fields marked with an * are required