previewBookingChange function
Future<ApiResponse<Object?> >
previewBookingChange(
- ExsitedClient client,
- Object bookingId,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/booking/{booking_id}/change/preview
Preview a booking change, the changeBooking body; nothing is changed.
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> previewBookingChange(
ExsitedClient client,
Object bookingId,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(BookingsUrls.bookingChangePreview,
pathParams: {'booking_id': bookingId},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);