Retrieving entity questionnaire answers

When an entity has finished processing, you can retrieve the answers from the questionnaire, product, and plan selection logic blocks.

If your flow contains a questionnaire or product and plan logic block using Flow Logic, use this endpoint to retrieve the answers inputted by the entity during the verification process.


Retrieving questionnaire answers

POST /api-entity-questionnaire

Retrieve entity questionnaire, product, and plan selection answers.

NameValue

Content-Type

multipart/form-data

Authorization

Bearer YOUR_TOKEN

Body

NameTypeDescription

applicantId

string

Unique applicantId generated on entity creation (required)

Request

curl --location 'https://enterprise.personr.co/api/1.1/wf/api-entity-questionnaire' \
--form 'applicantId="4242424242424x424242424242424242"'

Response

{
    "status": "success",
    "response": {
        "flow": "Know Your Business",
        "questionIds": [
            "Question ID string",
            "Question ID string"
        ],
        "flowQuestions": [
            "Question 1",
            "Question 2"
        ],
        "flowAnswers": [
            "Answer 1",
            "Answer 2"
        ],
        "selectedPlans": [
            "Selected plan name",
            "Another selected plan name"
        ],
        "selectedPlanIds": [
            "Selected plan ID",
            "Another selected plan ID"
        ],
        "selectedProducts": [
            "Selected product name",
            "Another selected product name"
        ],
        "selectedProductIds": [
            "Selected product ID",
            "Another selected product ID"
        ]
    }
}

Last updated