getInvoiceCustomObject function

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

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

One custom object with this invoice's instances of it.

No typed view. Read response.map.

Implementation

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