Skip to main content

Booking


Method#

This method allows a customer to register for an offering/plan for a trip.

suspend fun booking(bookingBody: BookingBody): BookingResponse

Request Model#

Represents the structure of the BookingBody object required to register for a planned event.

data class BookingBody(val customer: Customer, val id: String)data class Customer(  val birthDate: String,   val email: String,   val firstName: String,   val lastName: String,   val middleName: String)