Retrieves a list of RSVPs, with the specified paging, filtering, and sorting.
Query RSVPs runs with these defaults, which you can override:
createdDate is sorted in ASC order.paging.limit is 100.paging.offset is 0.By default, each RSVP includes only basic fields such as id, eventId, contactId and status. To read check-in status, pass fields: ["DETAILS"], which requires the WIX_EVENTS.READ_RSVP_DETAILS permission. The response then includes:
guestList.guests[].checkInDetails.checkedIn and checkInDate: Check-in status of each guest.fullyCheckedIn: Whether all of the RSVP's guests are checked in. An RSVP with additional guests is false until every guest is checked in.checkedInGuestCount: Number of checked-in guests.To check whether a specific guest is checked in, call Get RSVP with the RSVP ID and fields: ["DETAILS"], find the guest in guestList.guests by guestId, and read checkInDetails.checkedIn. A contact can have more than one RSVP for an event, so don't identify an RSVP by eventId and contactId alone. You can filter by fullyCheckedIn without requesting DETAILS.
To learn about working with Query methods, see API Query Language, Sorting and Paging, and Field Projection.
Note: This method is quite slow. Use the following filter pairs for the most optimal speed:
eventId and statuseventId and fullyCheckedIneventId and memberIdeventId and contactIdeventId and createdDate| Property | Filters | Sort |
|---|---|---|
_id | $eq, $ne, $in, $nin, $exists | None |
eventId | $eq, $ne, $in, $nin, $exists | None |
memberId | $eq, $ne, $in, $nin, $exists | None |
contactId | $eq, $ne, $in, $nin, $exists | None |
status | $eq, $ne, $in, $nin | Sort: ASC, DESC |
fullyCheckedIn | $eq, $ne, $in, $nin | Sort: ASC, DESC |
_updatedDate | $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | Sort: ASC, DESC |
_createdDate | $eq, $ne, $in, $nin, $gt, $gte, $lt, $lte | Sort: ASC, DESC |
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.