This topic contains 1 reply, has 2 voices, and was last updated by  Duo_Liang 1 week, 5 days ago.

  • Author
    Posts
  • Participant
    OliverH
    Member since: 11.10.2018
    Number of posts: 7

    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

    • This topic was modified 1 week, 6 days ago by  OliverH.
    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 531

    Score

    0

    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


    Duo Liang
    OneSpan Junior Technical Evangelist

You must be logged in to reply to this topic.