API

Get filenames of all existing Delivery Receipts


GET

👉🏿

End Point: /warehouse/orders/{orderID}/deliveryreceipt/files

This endpoint will fetch the name(s) of the files placed in respective Order’s Document Folder > DeliveryReceipt/OrderID.


Request Payload:

There is no structure for the request payload. The Endpoint itself will trigger the request, resulting in response payload.


Response Payload:

In response to the fetch request, the system returns the List of filenames, with order by recent to older. (reverse chronological).

{
  "filelist":
             [
              {
              "filename" : "CO387474.1.pdf",
              "lastmodifieddate" : "23/05/2024 17:00"
              },
              {
              "filename" : "CO85720431.pdf",
              "lastmodifieddate" : "05/23/2024 14:00"
              }
             ]
}