LISTING_CANDIDATE_SCHEDULE_TIMESLOT_BOOKING_REMOVED_CANDIDATE

When a candidate cancels a viewing time-slot in EverReal, the below payload is submitted as a notification.

interface IWebhookDispatcher<IListingTimeslotBookingAction> {
  uuid: string;
  operation: string;
  subdomain: string;
  language: string;
  createdAt: Date;
  data: IListingTimeslotBookingAction;
}


interface IListingTimeslotBookingAction {
  bookingId: string;
  invitationId: string;
  listing: {
    id: string;
    property: {
      id: string;
      objectId: string;
      type: PROPERTY_TYPE;
      address: {
        zip: string;
        city: string;
        streetNumber: string;
        streetName: string;
        placeId: string;
        location?: {
          lat?: number;
          lng?: number;
        };
      };
    };
    unit: {
      id: string;
      objectId: string;
      name: string;
      type: UNIT_TYPE;
    };
  };
  candidate: {
    id: string;
    email: string;
  };
  timeslot: {
    id: string;
    startDate: DateOrString;
    duration: number;
    responsibleUser: {
        id: string;
        email: string;
        firstName: string;
        lastName: string;
    }
  };
}

Last updated