Skip to main content

EventCheckInRecords

Event Check-In Records

This object represents check-ins to an event. These are typically family members and friends of the deceased.

Insert or update (upsert) an Event Check-In Record

Uniqueness is determined based on a combination of the event unique identifier and the external ID. If a record with the same event's unique identifier and external unique identifier already exists, the existing record will be updated. Otherwise, a new record will be created.

New data is merged with existing data. See clarification below for details.

Parameters

event_unique_identifier
Requiredstring

The unique identifier of the event. See Events for more information.

external_identifier
Requiredstring

The external identifier of this event check-in record, to enforce uniqueness. This is the identifier of the event check-in record in your system.

visitor_full_name
Requiredstring

The name of the visitor.

visitor_phone_number
RequiredE164_string

The visitor's phone number, formatted as an E164 string (e.g. +14155552671).

visitor_relationship_to_deceased
(optional)string

The visitor's relationship to the deceased (e.g. 'spouse', 'child', 'parent', etc.).

visitor_interested_in_pre_planning
(optional)boolean

Whether the visitor is interested in pre-planning (true or false).

visitor_email_address
(optional)string

The visitor's email address.

Returns

A dictionary representing the created or updated event check-in record.

POST
/v1/event_check_in_records/upsert
curl -X POST https://api.mogulbridge.com/v1/event_check_in_records/upsert \
-u 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: \
-d event_unique_identifier='evt_SE9g1uGPTLUcPpxVBtdnl' \
-d external_identifier='visitor-external-identifier-friend' \
-d visitor_full_name='Mary Johnson' \
-d visitor_phone_number='%2B14155552676' \
-d visitor_relationship_to_deceased='Friend' \
-d visitor_interested_in_pre_planning=true \
-d visitor_email_address='mary.johnson@example.com'
RESPONSE
{
  "object": "event_check_in_record",
  "external_identifier": "visitor-external-identifier-friend",
  "inserted_at": "2024-01-08T22:20:52Z",
  "location_unique_identifier": "loc_XFRitug2hXD3ESq6NXRfo",
  "public_data": {
    "visitor_email_address": "mary.johnson@example.com",
    "visitor_interested_in_pre_planning": true,
    "visitor_relationship_to_deceased": "Friend"
  },
  "unique_identifier": "ecr_Hkpebuckt2vi0nAYFpXbv",
  "updated_at": "2024-01-08T22:25:05Z",
  "visitor_full_name": "Mary Johnson",
  "visitor_phone_number": "+14155552676"
}