getBookingCustomObjectsInstance function
Future<ApiResponse<BookingCustomObject> >
getBookingCustomObjectsInstance(
- ExsitedClient client,
- Object bookingId,
- Object customObjectId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/booking/{booking_id}/custom_objects_instances/{custom_object_id}
The server's alias of getBookingCustomObject.
Implementation
Future<ApiResponse<BookingCustomObject>> getBookingCustomObjectsInstance(
ExsitedClient client,
Object bookingId,
Object customObjectId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(BookingsUrls.bookingCustomObjectsInstance,
pathParams: {
'booking_id': bookingId,
'custom_object_id': customObjectId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: BookingCustomObject.fromMap);