Tour request example

Prev

This is an example of the data sent by a tour request event. The values in categorySpecificData will be included if the information has been captured.

{
    "type":"tour.create",
    "timestamp":"2025-04-01T10:26:10.344522Z",
    "data":{
        "id": 12345,
        "category": {
            "id": 20,
            "name": "Onsite Tour/Consultation Request"
        },
        "member": {
            "id": 123456,
            "name": "Hallamshire",
            "postcode": "RG17 9PY"
         },
         "group": {
            "id": 786543,
            "name": "Hallamshire Care Group",
            "postcode": "RG17 9PY"
         },
         "emailto": "manager@example.com",
         "emailfrom": "johnsmith@example.com",
         "entrydate": "2025-04-01 10:26:07",
         "bodycontent": "<p><strong>Booking Details</strong><br><br><strong>First Name:</strong> John<br><br><strong>Last Name:</strong> Smith<br><br><strong>Email Address:</strong> johnsmith@example.com<br><br><strong>Contact Number:</strong> 01488 684321<br><br><strong><strong>Child DOB</strong>: 21/08/2023<br><strong>Ideal Start Date:</strong> 25/03/2026<br>Preferred Date & Time:</strong>Tuesday 1st April 2025 at 11:00<br><br><strong>Comments:</strong><br>Afternoons preferable.</p>",
         "firstname": "John",
         "surname": "Smith",
         "address1": null,
         "address2": null,
         "address3": null,
         "town": null,
         "postcode": null,
         "telephone": "01488 684321",
         "isAnonymised": "No",
         "categorySpecificData": {
             "bookingDate": "Tuesday 1st April 2025",
             "bookingDateTime": "2025-04-01T11:00:00+01:00",
             "bookingTime": "11:00",
             "bookingType": "Onsite Tour/Consultation",
             "comment": "Afternoons preferable.",
             "bookingChildDob": "2025-03-01",
             "bookingChildStartDate": "2025-06-01"
         }
    }
}