The following provides a complete BookingService definition using the 3 methods
above:
// Manages slot leases and bookings for an inventory of appointmentsserviceBookingService{// Creates a new leaserpcCreateLease(CreateLeaseRequest)returns(CreateLeaseResponse){}// Creates a booking for which a lease existsrpcCreateBooking(CreateBookingRequest)returns(CreateBookingResponse){}// Updates an existing bookingrpcUpdateBooking(UpdateBookingRequest)returns(UpdateBookingResponse){}}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["This page outlines the implementation of a booking server using API v0, which enables the Actions Center to create appointments, bookings, or reservations."],["The API interface, based on gRPC, requires the implementation of three core methods: CreateLease, CreateBooking, and UpdateBooking."],["The implementation involves utilizing resource types like Lease and Booking, which are defined within the provided specifications, to manage slots and reservations."],["API v0 is intended for existing integrations only and new integrations should refer to the instructions for the latest version."],["You can download the service definition in proto format and implement the provided methods, which should return a gRPC status code."]]],["To integrate with Actions Center for bookings, implement a gRPC-based API server. This involves using API v0 service definition (not for new integrations) and familiarizing yourself with `Lease` and `Booking` resource types. Implement the `CreateLease`, `CreateBooking`, and `UpdateBooking` methods within the `BookingService` to manage slot holds and reservations. Each method should return gRPC status codes. Download the service definition in proto format to start. Utilize API V3 for new integrations.\n"]]