This article provides details on the ‘Invitee/Guest Event Registration Cancelled’ integration point.
JSON Message Structure
This is an example of the JSON message for this integration point. The data represents the attendee that cancelled the registration.
{
"eventType": "InviteeOrGuestCancelled",
"messageTime": "2044-04-03T17:14:42.823Z",
"messageStub": "fb8fcfce-691d-4ef1-a4bf-3239105f2eb9",
"message": [
{
"contactStub": "C8841527-B089-40D2-B580-E5C604E2E347",
"workStateCode": "",
"contactSourceId": "",
"isGuest": false,
"prefix": "",
"workZipcode": "",
"contactType": "",
"updatedDate": "2044-04-03",
"workCity": "",
"homeCity": "",
"registrationDate": "2044-04-03",
"profileImageUrl": "",
"homeZipcode": "",
"homeFax": "",
"contactTypeStub": "00000000-0000-0000-0000-000000000000",
"nickName": "",
"homePhone": "",
"workFax": "",
"eventForInvitee": {
"eventTitle": "Soccer Tournament",
"eventLocation": "Stadium",
"eventStartDate": "2018-05-25 18:00:00.0",
"eventEndDate": "2022-05-29 22:00:00.0",
"eventDescription": "Come join us for the soccer tournament.",
"eventCode": "WRN3DBTCMX9",
"eventPlannerFirstName": "Finn",
"eventPlannerLastName": "Lambert",
"eventPlannerPrefix": "",
"eventPlannerTitle": "Head Planner",
"eventPlannerCompany": "Soccer Planning",
"eventCustomFields": [
{
"id": "F28721F0-0EC7-4B0B-9918-66AB741BE000",
"name": "League Match?",
"value": "Yes"
}
],
"eventTimeZoneName": "Eastern Time"
},
"workAddress1": "",
"workAddress2": "",
"firstName": "Jay",
"workAddress3": "",
"confirmationNumber": "VQNB3XNFS5X",
"mobilePhone": "",
"responseMethod": "Self-Responded",
"registrationType": "",
"eventStub": "0B4C4410-1D46-43CD-A903-E8CF9DE6ADE5",
"orders": [
{
"orderNumber": "K2NGH9GY393",
"orderDate": "2044-04-03",
"orderDetails": [
{
"productName": "Match 1",
"orderFee": "0.00",
"orderQuantity": 1,
"orderAmount": "0.00",
"paidAmount": "0.00",
"orderType": "charge",
"registrant": {
"name": "Juliano, Jay",
"isGuest": false,
"inviteeStub": "3F768180-8195-4F3A-9698-ED3C550DEF00"
}
},
{
"productName": "Match 2",
"orderFee": "0.00",
"orderQuantity": 1,
"orderAmount": "0.00",
"paidAmount": "0.00",
"orderType": "charge",
"registrant": {
"name": "Lambert, Finn",
"isGuest": false,
"inviteeStub": "3F768180-8195-4F3A-9698-ED3C550DEF00"
}
}
}
]
}
],
"designation": "",
"homeCountry": "",
"lastName": "Juliano",
"eligibleCredits": "0.00",
"gender": "",
"customFields": [],
"workCountry": "",
"title": "",
"homeStateCode": "",
"referenceId": "",
"optedOut": "no",
"totalCredits": "0.00",
"workState": "",
"company": "",
"participantStatus": false,
"registrationPath": "Registration Option",
"accountStub": "C4AD3933-0FED-4379-B602-CB56B1D832C5",
"email": "example@test.com",
"ccEmail": "",
"contactTypeCode": "",
"visibleOnAttendeeList": 1,
"fullName": "Jay Juliano",
"dateOfBirth": "",
"homeState": "",
"inviteeStub": "3F768180-8195-4F3A-9698-ED3C550DEF00",
"invitationBy": "No Invitation",
"homeAddress3": "",
"homeAddress2": "",
"unsubscribed": "no",
"workCountryCode": "",
"homeAddress1": "",
"inviteeStatus": "Cancelled",
"internalNote": "",
"middleName": "",
"workPhone": ""
}
]
}
Understanding the JSON Message
- Arrays: The
customFields
,eventCustomFields
,orders
arrays are dynamic; they changes over time as planners add or remove custom fields, and the attendee adds elements to their order. - Empty Fields: Fields appearing as empty (
""
) indicate no data is available for that field.