Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bu yöntem, sağlanan rezervasyon kimliğine göre bir kullanıcının rezervasyon durumunu döndürür.
İstek
GetBookingStatusRequest
Döndürülen değer
GetBookingStatusResponse
// Request to get booking status and prepayment status for a Booking.messageGetBookingStatusRequest{// ID of the existing booking (required)stringbooking_id=1;}// Response for the GetBookingStatus RPC with booking status and prepayment// status.messageGetBookingStatusResponse{// 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;}
BookingStatus spesifikasyonunu burada bulabilirsiniz.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[[["This method retrieves the status of a booking using a provided booking ID."],["The request requires a `booking_id` and returns a `GetBookingStatusResponse` containing the `booking_id`, `booking_status`, and `prepayment_status`."],["`BookingStatus` provides details on the overall state of the booking and is further defined in external documentation."],["`PrepaymentStatus` indicates the status of any advance payment associated with the booking, including whether it was provided, refunded, or credited."]]],["The method uses a `GetBookingStatusRequest` containing a booking ID to retrieve a `GetBookingStatusResponse`. The response includes the booking ID, `BookingStatus`, and `PrepaymentStatus`. `PrepaymentStatus` can be `PREPAYMENT_NOT_PROVIDED`, `PREPAYMENT_PROVIDED`, `PREPAYMENT_REFUNDED`, or `PREPAYMENT_CREDITED`. Updating prepayment status from `PREPAYMENT_PROVIDED` to `PREPAYMENT_REFUNDED` initiates a refund. `PREPAYMENT_CREDITED` means the user received a voucher for the booking.\n"]]