Events
#
MethodThis method allows you to attach events to a booking
- Kotlin
- Java
- Swift
- JS
suspend fun postBooking(postBookingBody: PostBookingBody, bookingID: String): BookingResponse
public BookingResponse postBooking(PostBookingBody postBookingBody,String bookingID)
func postBooking(postBookingBody: PostBookingBody, bookingID: String, completionHandler: @escaping (BookingResponse?, Error?) -> Void)
async function postBooking(postBookingBody,bookingID)
#
Request ModelRepresents 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}