deletePurchasePaymentNoteFile function
DELETE /api/{api_version}/purchase_payments/{purchase_payment_id}/notes/{pp_note_id}/files/{file_id}
Delete one attachment, by the attachment's uuid; 204.
No typed view. Read response.map.
Implementation
Future<ApiResponse<Object?>> deletePurchasePaymentNoteFile(
ExsitedClient client,
Object purchasePaymentId,
Object ppNoteId,
Object fileId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendDeleteRequest(PurchasePaymentsUrls.purchasePaymentNoteFile,
pathParams: {
'purchase_payment_id': purchasePaymentId,
'pp_note_id': ppNoteId,
'file_id': fileId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat);