Events
Method#
This method allows you to attach events to a booking
- Kotlin
- Java
- Swift
- JS
suspend fun postBooking(postBookingBody: PostBookingBody, bookingID: String): BookingResponsepublic BookingResponse postBooking(PostBookingBody postBookingBody,String bookingID)func postBooking(postBookingBody: PostBookingBody, bookingID: String, completionHandler: @escaping (BookingResponse?, Error?) -> Void)async function postBooking(postBookingBody,bookingID)Request Model#
Represents the structure of the PostBookingBody object required to add an event to a booking.
- Kotlin
- Java
- Swift
- JS
data class PostBookingBody(val operation: String, val origin: String)public class PostBookingBody { public String operation; public String origin;}struct PostBookingBody { let operation: String let origin: String}export interface PostBookingBody { operation: string origin: string}