OliverH | Posts: 28

Get Field Values

0 votes
Hi team, There's a guide named Field Values from your Feature Guides where I've found a function in SDK to get all field values in one shot: eslClient.getFieldValues( packageId ) My question is, is there an endpoint URL for the same function in REST? Currently, we have to iterate all fields in the package. Thanks

Duo_Liang | Posts: 3776

Reply to: Get Field Values

0 votes
Hi Oliver, Yes, there's an API for retrieving Field Summary:
GET /api/packages/{packageId}/fieldSummary
And this is a sample response: [ { "signerId": "client", "documentId": "Sample_Position_Extraction", "fieldId": "EMOrqWxo6agO", "fieldName": "client_date", "fieldValue": "2018-11-28T16:13:48Z" }, { "signerId": "client", "documentId": "Sample_Position_Extraction", "fieldId": "2QqqkLY9oSs5", "fieldName": "company", "fieldValue": "onespan" }, {...}, {...} ] Hope this could help! Duo

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off