getInvoiceCustomObjectInstance function

Future<ApiResponse<Object?>> getInvoiceCustomObjectInstance(
  1. ExsitedClient client,
  2. Object invoiceId,
  3. Object customObjectId,
  4. Object instanceId, {
  5. bool? raiseOnError,
  6. String? responseFormat,
})

GET /api/{api_version}/invoices/{invoice_id}/custom_objects/{custom_object_id}/instances/{instance_id}

One instance of a custom object on an invoice.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> getInvoiceCustomObjectInstance(
  ExsitedClient client,
  Object invoiceId,
  Object customObjectId,
  Object instanceId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(InvoicesUrls.invoiceCustomObjectInstance,
        pathParams: {
          'invoice_id': invoiceId,
          'custom_object_id': customObjectId,
          'instance_id': instanceId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);