deletePurchaseOrderNoteFile function
DELETE /api/{api_version}/purchase_orders/{purchase_order_id}/notes/{purchase_order_note_id}/files/{purchase_order_file_id}
Delete one attachment, by the purchase order's code and the attachment's
uuid; 204.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> deletePurchaseOrderNoteFile(
ExsitedClient client,
Object purchaseOrderId,
Object purchaseOrderNoteId,
Object purchaseOrderFileId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendDeleteRequest(PurchaseOrdersUrls.purchaseOrderNoteFile,
pathParams: {
'purchase_order_id': purchaseOrderId,
'purchase_order_note_id': purchaseOrderNoteId,
'purchase_order_file_id': purchaseOrderFileId
},
raiseOnError: raiseOnError,
responseFormat: responseFormat);