Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Requête
GetBookingStatusRequest
Valeur renvoyée :
GetBookingStatusResponse
Codes d'erreur gRPC canoniques
NOT_FOUND (le partenaire ne reconnaît pas l'ID de réservation fourni)
// Request to get booking status and prepayment status for a// [ext.maps.booking.partner.v2.Booking]messageGetBookingStatusRequest{// ID of the existing booking (required)stringbooking_id=1;}// Response for the [ext.maps.booking.partner.v2.GetBookingStatus] RPC with// booking status and prepayment statusmessageGetBookingStatusResponse{// ID of the booking (required)stringbooking_id=1;// Status of the booking (required)BookingStatusbooking_status=2;// Prepayment status of the booking (required)PrepaymentStatusprepayment_status=3;}
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["`GetBookingStatusRequest` retrieves the status and prepayment status of a booking using the booking ID."],["`GetBookingStatusResponse` returns the booking ID, booking status (`BookingStatus`), and prepayment status (`PrepaymentStatus`)."],["If the booking ID is not found, a `NOT_FOUND` error is returned."]]],["The `GetBookingStatusRequest` requires a `booking_id` to retrieve booking information. The `GetBookingStatusResponse` returns the `booking_id`, the `booking_status`, and the `prepayment_status`. A `NOT_FOUND` error is returned if the provided `booking_id` is not recognized. This interaction allows partners to check the status and prepayment status of a booking by its ID.\n"]]