getBookingCustomObjectsInstances function

Future<ApiResponse<BookingCustomObjectList>> getBookingCustomObjectsInstances(
  1. ExsitedClient client,
  2. Object bookingId, {
  3. Map<String, Object?>? queryParams,
  4. bool? raiseOnError,
  5. String? responseFormat,
})

GET /api/{api_version}/booking/{booking_id}/custom_objects_instances

The server's alias of getBookingCustomObjects.

Implementation

Future<ApiResponse<BookingCustomObjectList>> getBookingCustomObjectsInstances(
  ExsitedClient client,
  Object bookingId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(BookingsUrls.bookingCustomObjectsInstances,
        pathParams: {'booking_id': bookingId},
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat,
        dtoDecoder: BookingCustomObjectList.fromMap);