Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Khi BatchAvailabilityLookup được phát hành, Máy chủ đặt phòng của bạn sẽ hiển thị tình trạng còn chỗ hiện tại của người bán và xác minh rằng các khung giờ hẹn được yêu cầu là hợp lệ và còn chỗ.
Để hoàn tất các tác vụ trong cột mốc BatchAvailabilityLookuptải trang và nhấp vào vị trí quảng cáo, bạn cần tạo và phân phối thành công cả hai phương thức để cho phép chế độ tích hợp của bạn trả về thông tin chính xác về tình trạng còn phòng theo thời gian thực.
Yêu cầu về tác vụ tải trang BatchAvailabilityLookup
90% trong số 20 phản hồi tải trang BatchAvailabilityLookup gần đây nhất của bạn không có lỗi.
Yêu cầu về tác vụ nhấp vào vị trí BatchAvailabilityLookup
95% trong số 20 phản hồi gần nhất của bạn khi nhấp vào BatchAvailabilityLookup không có lỗi.
100% trong số 20 BatchAvailabilityLookup lượt nhấp vào ô gần đây nhất của bạn không có lỗi.
Kiến thức cơ bản về BatchAvailabilityLookup
BatchAvailabilityLookup xác minh rằng chỉ những khung giờ hiện tại mới được trình bày cho người dùng trong quy trình đặt phòng. Bạn có thể gọi hàm này nhiều lần trong vòng đời của quy trình đặt phòng, chẳng hạn như khi tải trang và nhấp vào khung giờ, để hiển thị tình trạng còn chỗ phù hợp cho người dùng đang cố gắng đặt chỗ.
Tải trang BatchAvailabilityLookup
Khi người dùng nhấp vào Đặt bàn cho địa điểm của bạn trong bảng thông tin, yêu cầu BatchAvailabilityLookup sẽ được gọi khi tải trang và bao gồm nhiều vị trí cho chế độ xem danh sách. Tải trọng chứa nhiều khoảng thời gian mà Trung tâm hành động coi là có sẵn, dựa trên nội dung tải lên Nguồn cấp dữ liệu gần đây nhất của bạn hoặc bất kỳ RTU nào có sẵn trong khoảng thời gian đó.
Phản hồi phải bao gồm mọi yêu cầu về vị trí và tình trạng còn trống hiện tại của vị trí đó. Điều này ngăn người dùng đặt chỗ nhìn thấy những khung giờ không còn trống.
Nhấp vào vùng BatchAvailabilityLookup
Khi người dùng tìm thấy các khung giờ có thể đặt và nhấp vào một khung giờ, yêu cầu BatchAvailabilityLookup sẽ được gọi cho lượt nhấp vào khung giờ. Trong trường hợp này, chỉ có vị trí đã chọn được gửi.
Phản hồi phải thể hiện tình trạng còn trống thực tế của khung giờ hiện tại. Nếu đã được đặt trước khi nhấp vào khung giờ, hãy trả về rằng khung giờ đó không còn nữa.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],[],null,["# BatchAvailabilityLookup Ready\n\nWhen a `BatchAvailabilityLookup` is issued, your Booking Server displays current\nmerchant availability and verifies that the requested appointment slots are\nvalid and available.\n\nTo complete the `BatchAvailabilityLookup` page load and slot click milestone\ntasks, you need to successfully build and deliver both methods to let your\nintegration return accurate, real-time availability.\n| **Note:** If the `BatchAvailabilityLookup` response fails for any reason, slots are presented to the user based on your last Availability Feed upload. If unexpected slots appear, review the Booking Server dashboard in the Actions Center for errors.\n\nBatchAvailabilityLookup page load task requirements\n---------------------------------------------------\n\n- 90% of your last 20 `BatchAvailabilityLookup` page load responses have no errors.\n\nBatchAvailabilityLookup slot click task requirements\n----------------------------------------------------\n\n- 95% of your last 20 `BatchAvailabilityLookup` slot click responses have no failures.\n- 100% of your last 20 `BatchAvailabilityLookup` slot click responses have no errors.\n\nBatchAvailabilityLookup basics\n------------------------------\n\nThe `BatchAvailabilityLookup` verifies that only current slots are presented to\nusers during the reservation flow. It can be called multiple times during the\nbooking flow lifecycle, such as page load and slot click, to display proper\navailability to the user who attempts to book a reservation.\n\n### BatchAvailabilityLookup page load\n\nWhen a user clicks **Reserve a Table** for your venue in the placesheet, the\n`BatchAvailabilityLookup` request is called on page load and includes multiple\nslots for the list view. The payload contains numerous slots that the\nActions Center considers as available, based on your latest Feed uploads or any\nintervening availability RTUs.\n\nThe response must include every slot request and the current availability of the\nslot. This prevents the display of any unavailable slots to the user who makes\nthe reservation.\n\n### BatchAvailabilityLookup slot click\n\nWhen a user finds available slots for booking and clicks a slot, the\n`BatchAvailabilityLookup` request is called for slot click. In this case, only\nthe selected slot is sent.\n\nThe response must represent the current, actual availability of the slot. If\nit's booked out before the slot click, return that the slot isn't available.\n| **Warning:** False availability at slot click is considered an error. Your integration can get disabled if there are too many slot click errors. The high error rates for slot click indicate that your page load `BatchAvailabilityLookup` response doesn't reflect real-time inventory accurately."]]