getBookingCustomObject function
Future<ApiResponse<BookingCustomObject> >
getBookingCustomObject(
- ExsitedClient client,
- Object bookingId,
- Object customObjectId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/booking/{booking_id}/custom_objects/{custom_object_id}
One custom object with the booking's instances of it.
Implementation
Future<ApiResponse<BookingCustomObject>> getBookingCustomObject(
ExsitedClient client,
Object bookingId,
Object customObjectId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(BookingsUrls.bookingCustomObject,
pathParams: {
'booking_id': bookingId,
'custom_object_id': customObjectId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingCustomObject.fromMap);