When an entity has finished processing, you can retrieve the verification results.
Verifications typically take ~2 minutes on average to process. When an entity has finished processing, use this endpoint to retrieve extracted registry data along with the verification result.
Retrieving the result
POST/api-entity-status
Retrieve the verification status, and extracted registry data.
var axios =require('axios');var FormData =require('form-data');var data =newFormData();data.append('applicantId','4242424242424x424242424242424242');var config = { method:'post',maxBodyLength:Infinity, url:'https://enterprise.personr.co/api/1.1/wf/api-entity-status', headers: { ...data.getHeaders() }, data : data};axios(config).then(function (response) {console.log(JSON.stringify(response.data));}).catch(function (error) {console.log(error);});
var form =newFormData();form.append("applicantId","4242424242424x424242424242424242");var settings = {"url":"https://enterprise.personr.co/api/1.1/wf/api-entity-status","method":"POST","timeout":0,"processData":false,"mimeType":"multipart/form-data","contentType":false,"data": form};$.ajax(settings).done(function (response) {console.log(response);});