קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שליחת בקשה
CreateBookingRequest
הערך המוחזר
CreateBookingResponse
תופעות לוואי
האפשרות CreateBooking מצריכה חכירה, ולכן היא לא תקפה להזמנות נוספות.
קודי שגיאה קנוניים של gRPC
INVALID_ARGUMENT אם ה-ClientInformation שסופק לא תקין, למשל: עקב
שדות חסרים
NOT_FOUND אם מזהה החכירה שסופק לא תקין.
RESOURCE_EXHAUSTED (אם משבצת הזמן לא זמינה מאז היצירה של
חכירה (lease), לדוגמה בגלל הזמנה סותרת)
ALREADY_EXISTS (אם ללקוח כבר יש הזמנה למשבצת הזמן)
// Request to create a [ext.maps.booking.partner.v0.Booking] for an inventory// slot. Consumes the lease.messageCreateBookingRequest{// The lease that is being confirmed to make this bookingLeaseReferencelease_ref=1;// Personal information of the client making the appointmentClientInformationclient_information=2;// Information about payments. If the booking request does not succeed,// payment authorizations are automatically canceled.PaymentInformationpayment_information=3;// The parameters to be used if the payment is processed by the partner// (i.e. payment_information.payment_processed_by is equal to// PROCESSED_BY_PARTNER).PaymentProcessingParameterspayment_processing_parameters=4;}// Response with the created [ext.maps.booking.partner.v0.Booking] for an// inventory slotmessageCreateBookingResponse{// The created bookingBookingbooking=1;// The updated user payment option used in this booking.// If a new payment option was purchased to pay for the booking, this should// be a newly created user payment option.// If an already purchased user payment option was used for this booking,// this should reflect an updated version of that user payment option.UserPaymentOptionuser_payment_option=2;}
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]
{"lastModified": "\u05e2\u05d3\u05db\u05d5\u05df \u05d0\u05d7\u05e8\u05d5\u05df: 2024-08-21 (\u05e9\u05e2\u05d5\u05df UTC)."}
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-08-21 (שעון UTC)."]]