Posts: 47 mailtodanish How to get all documents id of a package. Sunday, December 30, 2018 at 09:55pm 0 votes How to get all documents id of a package. I have package id and want document Id of all documents those are part of this package. December 30 Created January 21 Last Updated 5 years ago Last Reply 1 Replies 107 Views 2 Users 0 Likes 0 Links Answered by Duo_Liang Posts: 3775 Approved Answer Duo_Liang Reply to: How to get all documents id of a package. Monday, December 31, 2018 at 01:25am 0 votes Hi there, Try this code below: DocumentPackage package1 = eslClient.getPackage(new PackageId("fH72KjmieKD7TYBr0z-huqVbMf0=")); List documentIds = new ArrayList(); for (Document document : package1.getDocuments()) { documentIds.add(document.getId().getId()); } System.out.println("documentIds = "+documentIds); Hope this could help! Duo Duo Liang OneSpan Evangelism and Partner Integrations Developer Log in or register to post comments
Posts: 3775 Approved Answer Duo_Liang Reply to: How to get all documents id of a package. Monday, December 31, 2018 at 01:25am 0 votes Hi there, Try this code below: DocumentPackage package1 = eslClient.getPackage(new PackageId("fH72KjmieKD7TYBr0z-huqVbMf0=")); List documentIds = new ArrayList(); for (Document document : package1.getDocuments()) { documentIds.add(document.getId().getId()); } System.out.println("documentIds = "+documentIds); Hope this could help! Duo Duo Liang OneSpan Evangelism and Partner Integrations Developer Log in or register to post comments
Reply to: How to get all documents id of a package.
Monday, December 31, 2018 at 01:25amDuo Liang OneSpan Evangelism and Partner Integrations Developer