How to fetch only selected document using DMS media filter API?

I have some requirement to fetch some selected document like pan, aadhar etc based on docName or docType.

How I can achieve using DMS media filter API?

Hi @naveen.gupta, I am assuming that you have configured your DMS Filter API. Now to fetch specific documents, you can pass the “Media Data Object” parameters like docBundleId for example.

I’ve shared a sample request in the screenshot below. In this request, you can alter the “mediaDataFilters” based on your requirements. I have added a dummy media data ‘docBundleId’ for this example:

Since I didn’t upload any document for this Doc Bundle Id, I got an empty array in the ‘Response’ below.

But upon providing valid media data in the request, you can fetch the required document.

1 Like

@harman_singh Thanks but I want selected document,
e.g

  • on Screen1 => I need Aadhaar Image and Address Proof Image
  • on Screen2 => I need Aadhaar Image and Photo Image.

We cann’t bundled here, if bundled then extra document image will show on both screen.

@naveen.gupta I will connect with you shortly to discuss the entire use-case.