deleteInvoiceNoteFile function

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

DELETE /api/{api_version}/invoices/{invoice_id}/notes/{invoice_note_id}/files/{invoice_file_id}

Delete one attachment, by the attachment's uuid; 204.

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteInvoiceNoteFile(
  ExsitedClient client,
  Object invoiceId,
  Object noteId,
  Object fileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(InvoicesUrls.invoiceNoteFile,
        pathParams: {
          'invoice_id': invoiceId,
          'invoice_note_id': noteId,
          'invoice_file_id': fileId
        },
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);