{"info":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","description":"<html><head></head><body><h1 id=\"veridocid-api\">VeriDocID API</h1>\n<p>Document Version 2.0.8</p>\n<hr>\n<p>With the VeriDocID API development documentation, we are sure that you can easily integrate our services.</p>\n<p>The services we offer are the following:</p>\n<ul>\n<li>Verification and validation of Identity Documents.</li>\n<li>CURP verification</li>\n<li>INE / IFE verification</li>\n<li>ID Verification with Scanner Images</li>\n<li>Colombian citizen card verification</li>\n<li>RFC validation</li>\n<li>Get Social Security Number (NSS)</li>\n<li>Get IMSS Work History</li>\n<li>CPE verification(Professional license)</li>\n<li>OCR extraction of Receipt of Residence<ul>\n<li>CFE</li>\n<li>Telmex</li>\n<li>Izzi</li>\n</ul>\n</li>\n<li>Registration and Fingerprint authentication</li>\n<li>Full credit report</li>\n<li>Electronic signatures</li>\n<li>Criminal records</li>\n<li>Telephone validation</li>\n<li>Email validation</li>\n<li>IP validation</li>\n<li>BlackList verification</li>\n</ul>\n<hr>\n<p>To consume the <strong>VeriDocID API</strong>, we have to login to obtain the <strong>Access Token</strong>, which allow us to consume the services available in the API.</p>\n<p>Base URL</p>\n<p><a href=\"https://veridocid.azure-api.net/api/\"><strong>https://veridocid.azure-api.net/api/</strong></a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"VeriDocID API","slug":"veridocid-api"}],"owner":"13807324","collectionId":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","publishedId":"TW6xooD3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-23T18:10:57.000Z"},"item":[{"name":"Identity Document Verification V2","item":[{"name":"01 - Verify Document","event":[{"listen":"test","script":{"id":"031ceaa8-4550-4c67-b1ee-efb88f8ba51a","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            if(_.get(req, 'id')) {","                pm.expect(resp.error).to.eql('Invalid content');","            } else {","                pm.expect(resp.error).to.eql('id field is missing');","            }","        });","    } else if (pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Response is a string\", function () {","            pm.expect(pm.response.text()).to.include(\"\");","            pm.collectionVariables.set(\"uuid\", pm.response.text());","        });","    }","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"7583960f-7497-4009-9441-5d96cc5f89e8","exec":["function makeid(length) {","   var result           = '';","   var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-';","   var charactersLength = characters.length;","   for ( var i = 0; i < length; i++ ) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","   }","   return result;","}","","const id = makeid(15)","","console.log(id)","","pm.collectionVariables.set(\"id\", `testing: ${id}`)"],"type":"text/javascript"}}],"id":"b7a7a554-afb1-44bf-8cb5-8891fbdb1c0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"frontImage\": \"B64\",\r\n    \"backImage\": \"B64\",\r\n    \"faceImage\": \"B64\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/verify","description":"<h2 id=\"create-a-verification\">Create a Verification</h2>\n<p>HTTPS POST method to create a new verification. You will receive a Verification UUID Identifier,<br />which you should store and use to check verification status and request verification results when they are ready.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id/verify</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Body: Json object</td>\n<td>- defined value by user, can be string or integer<br />- frontImage B64 Format<br />- backImage B64 Format - Optional, if the document has no reverse<br />- faceImage B64 Format - Optional, if verification does not require Selfie</td>\n</tr>\n</tbody>\n</table>\n</div><p>Note: If the verification does not require the back of the document or the selfie, this field should be removed from the request.</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>UUID</td>\n<td>UUID generated correctly</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","id","v2","verify"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"2c9dfa6a-e2ed-4d76-ad8e-a235a8684d27","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"frontImage\": \"B64 Image\",\r\n    \"backImage\": \"B64 Image\",\r\n    \"faceImage\": \"B64 Image\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/verify"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:40:39 GMT"}],"cookie":[],"responseTime":null,"body":"UUID Identifier"},{"id":"6348ef83-108d-475e-9940-31e5aff4cb27","name":"400 - Invalid content","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"frontImage\": \"B64 Image\",\r\n    \"backImage\": \"B64 Image\",\r\n    \"faceImage\": \"B64 Image\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/verify"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:43:16 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid content\"\n}"},{"id":"d3341ab0-1c36-4718-8194-3f6aa7e5caa3","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"id\",\r\n    \"frontImage\": \"B64 Image\",\r\n    \"backImage\": \"B64 Image\",\r\n    \"faceImage\": \"B64 Image\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/verify"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:44:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"}],"_postman_id":"b7a7a554-afb1-44bf-8cb5-8891fbdb1c0f"},{"name":"02 - Get Status","event":[{"listen":"test","script":{"exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('Verification not found');","        });","    } else if (pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(`Response should be ${pm.response.text()}`, function () {","            pm.expect(pm.response.text()).to.be.oneOf(['Checked', 'ManualChecking', 'WaitingChecking', 'ManualIdentification', 'WaitingIdentification']);","        });","    }","});"],"type":"text/javascript","id":"fc869432-c261-4bcf-a9ff-e31817b76347"}},{"listen":"prerequest","script":{"exec":["const uuid = null","","if(uuid){","    pm.collectionVariables.set('uuid', uuid)","}"],"type":"text/javascript","id":"34bfa583-ef8a-4cec-8992-11c9bf896cf0"}}],"id":"0bcb2de0-0a04-4289-8ff1-98462584b60c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"uuid\": \"uuid\"}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/status","description":"<h1 id=\"get-verification-status\">Get Verification Status</h1>\n<p>Use to check verification status and request verification results when they are ready.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id/status</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters---body-json\">Request Parameters - Body (Json)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>uuid</strong></td>\n<td>uuid obtained in the previous step, <br />when sending the images to verify.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HHTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Verification Status</td>\n<td><strong>WaitingChecking:</strong> waiting for verification checking<br /><strong>ManualIdentification:</strong> verification under reviewer identification<br /><strong>ManualChecking:</strong> verification under reviewer checking<br /></td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td></td>\n<td>Unauthorized, invalid token</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Error Message</td>\n<td>Transaction not found</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","id","v2","status"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"09dc2a98-41be-4e5d-9cf2-1635fe00724f","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"uuid\": \"invalid uuid\"}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/status"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:"},{"key":"Date","value":"Sun, 26 Apr 2020 20:22:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Verification not found\"\n}"},{"id":"265bfbd8-ac52-4b08-9699-3080473fc696","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"uuid\": \"uuid\"}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/status"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:"},{"key":"Date","value":"Sun, 26 Apr 2020 20:22:03 GMT"}],"cookie":[],"responseTime":null,"body":"Checked"}],"_postman_id":"0bcb2de0-0a04-4289-8ff1-98462584b60c"},{"name":"03 - Get Results","event":[{"listen":"prerequest","script":{"id":"ab086fd1-6527-4ed7-bdfb-d75d9307d692","exec":["const uuid = null","","if(uuid){","    pm.collectionVariables.set('uuid', uuid)","}"],"type":"text/javascript"}},{"listen":"test","script":{"id":"7c6acb81-c27e-41cc-aabf-15a1cf10ca85","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('Result not ready. Please check that the verification is in Checked status');","        });","    } else if (pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains identifier\", function() {","            pm.response.to.have.jsonBody(\"identifier\");","            pm.expect(resp.identifier).to.eql(req.uuid);","        });","","        pm.test(\"Respsonse should contains documentData\", function() {","            pm.response.to.have.jsonBody(\"documentData\");","        });","","        pm.test(\"Respsonse should contains documentVerifications\", function() {","            pm.response.to.have.jsonBody(\"documentVerifications\");","        });","    }","});"],"type":"text/javascript"}}],"id":"1f1e4ddd-3e8c-4fd0-937a-9c6236671e55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uuid\": \"{{uuid}}\",\n\t\"includeImages\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/results","description":"<h1 id=\"get-verification-results\">Get Verification Results</h1>\n<p>Use to check verification Results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id/results</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters---body-json\">Request Parameters - Body (Json)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>uuid</strong></td>\n<td>uuid obtained in the firts step, <br />when sending the images to verify.</td>\n</tr>\n<tr>\n<td><strong>includeImages</strong></td>\n<td>Returns the cropped verified images</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HHTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json VerificationResultsObject</td>\n<td>VerificatonResults object with document data and verification checks performed</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td></td>\n<td>Unauthorized, invalid token</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Error Message</td>\n<td>Transaction not found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","id","v2","results"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"0c0ab299-b26d-47b8-81a5-87ec21a16fe9","name":"400 - Bad Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uuid\": \"Invalid UUID\",\n\t\"includeImages\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/results"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 20:31:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Result not ready. Please check that the verification is in Checked status\"\n}"},{"id":"48d7e069-b0b4-4767-9c97-bb2f1cd59e41","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uuid\": \"UUID\",\n\t\"includeImages\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/results"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"2802"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=b3832f8b7efa0b5474a56f880cdc1874ef75cf59d2e6b8743cb03bba9e3e4be9;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinity=8d69b90c05ecaa44b24e8b059b2b951042d72e06f694220099f034a811455a01;Path=/;HttpOnly;Domain=veridocid.azure-api.net"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"UUID\",\n    \"frontImage\": null,\n    \"backImage\": null,\n    \"documentPortraitImage\": null,\n    \"faceImage\": null,\n    \"documentData\": [\n        {\n            \"type\": \"Surname\",\n            \"name\": \"Apellidos\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Name\",\n            \"name\": \"Nombre\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Nationality\",\n            \"name\": \"Nacionalidad\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"IssuingState\",\n            \"name\": \"País Emisor\",\n            \"value\": \"MEX\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"DateOfExpiry\",\n            \"name\": \"Fecha de Expiración\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"DateOfBirth\",\n            \"name\": \"Fecha de Nacimiento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"DocumentNumber\",\n            \"name\": \"Número de Documento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"DocumentHolderFullName\",\n            \"name\": null,\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"FullDateOfIssue\",\n            \"name\": null,\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Sex\",\n            \"name\": \"Sexo\",\n            \"value\": \"H\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PersonalNumber\",\n            \"name\": \"Número Personal\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Voter_Key\",\n            \"name\": \"Clave de Elector\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Section\",\n            \"name\": \"Sección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress\",\n            \"name\": \"Dirección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_State\",\n            \"name\": \"Estado\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_Location\",\n            \"name\": \"Localidad\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_Municipality\",\n            \"name\": \"Municipio\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"NumberOfDuplicates\",\n            \"name\": \"Número de Duplicados\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"DateOfRegistration\",\n            \"name\": null,\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Surname\",\n            \"name\": \"Apellidos\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Name\",\n            \"name\": \"Nombre\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"FatherSurname\",\n            \"name\": \"Apellido Paterno\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"MotherSurname\",\n            \"name\": \"Apellido Materno\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_Street\",\n            \"name\": \"Calle\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_Suburb\",\n            \"name\": \"Barrio\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_City\",\n            \"name\": \"Ciudad/Estado\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCounty\",\n            \"name\": \"Provincia Dirección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCountry\",\n            \"name\": \"País Dirección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCountryCode\",\n            \"name\": \"Código País Dirección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        }\n    ],\n    \"documentVerifications\": [\n        {\n            \"name\": \"Identificación del Documento\",\n            \"category\": \"Identification\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"0_Template\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Contiene caracteres inválidos\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Falso\",\n            \"inputFields\": [\n                {\n                    \"name\": \"1_0MrzLine0\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"1_1MrzLine1\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"1_2MrzLine2\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Caracteres de relleno correctos\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"2_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control del número de documento válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"3\",\n            \"inputFields\": [\n                {\n                    \"name\": \"3_0checkDigit\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control de la fecha de expiración válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"3\",\n            \"inputFields\": [\n                {\n                    \"name\": \"4_0checkDigit\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control de la fecha de nacimiento válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"6\",\n            \"inputFields\": [\n                {\n                    \"name\": \"5_0checkDigit\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control compuesto válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"6\",\n            \"inputFields\": [\n                {\n                    \"name\": \"6_0checkDigit\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Fecha de Expiración válida\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"7_0MRZ Date\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Fecha de Nacimiento válida\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"8_0MRZ Date\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Documento Expirado\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Falso\",\n            \"inputFields\": [\n                {\n                    \"name\": \"9_0MRZ Date\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Fecha de Nacimiento completa\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"10_0MRZ Date\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Fecha de Expiración completa\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"11_0MRZ Date\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dimensiones correctas\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"12_0Dimensiones\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Contiene texto\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"13_0MrzLine0\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"13_1MrzLine1\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"13_2MrzLine2\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Sexo válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"14_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"H\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Sexo especificado\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"15_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"H\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Código de Nacionalidad válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"16_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"MEX\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Código de País de Emisión válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"17_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"MEX\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Tipo de Documento válido\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": \"Verdadero\",\n            \"inputFields\": [\n                {\n                    \"name\": \"18_0field\",\n                    \"type\": \"Text\",\n                    \"value\": \"ID\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Número de Documento\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"19_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"19_Texto Código de Barras\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto Código de Barras: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Fecha de Expiración\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"20_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"20_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR:\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Fecha de Nacimiento\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"21_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"21_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Sexo\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"22_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: H\"\n                },\n                {\n                    \"name\": \"22_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR: H\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Nombre Completo\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"23_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"23_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Edad\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"24_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"24_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Plazo Restante\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"25_Texto MRZ\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto MRZ: \"\n                },\n                {\n                    \"name\": \"25_Texto OCR\",\n                    \"type\": \"Text\",\n                    \"value\": \"Texto OCR: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Número Personal\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"26_Sección\",\n                    \"type\": \"Text\",\n                    \"value\": \"Sección: \"\n                },\n                {\n                    \"name\": \"26_Número Personal\",\n                    \"type\": \"Text\",\n                    \"value\": \"Número Personal: \"\n                }\n            ]\n        },\n        {\n            \"name\": \"Sin coincidencias\",\n            \"category\": \"ControlList\",\n            \"result\": \"Ok\",\n            \"output\": null,\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"No se han encontrado coincidencias para este documento\"\n                }\n            ]\n        }\n    ],\n    \"totalChecks\": 28,\n    \"successChecks\": 28,\n    \"warningChecks\": 0,\n    \"failedChecks\": 0,\n    \"expertUsed\": false,\n    \"checkTime\": \"00:00:02.1500000\",\n    \"expertComments\": null,\n    \"sourceType\": \"Camera\",\n    \"status\": \"Checked\",\n    \"userName\": \"\",\n    \"spentCredits\": 1,\n    \"startDateUtc\": \"2020-09-30T19:42:28.7357813\",\n    \"endDateUtc\": \"2020-09-30T19:42:34.0141466\",\n    \"securityLevel\": \"Medium\",\n    \"globalResult\": \"Ok\",\n    \"globalResultDescription\": \"El documento ha sido verificado correctamente.\",\n    \"securityLevelDescription\": \"Medio: El documento contiene suficientes verificaciones de seguridad para asegurar la autenticidad del documento con una fiabilidad razonable.\",\n    \"language\": \"es\",\n    \"documentType\": \"VotingCard\",\n    \"countryCode\": \"MEX\",\n    \"templateName\": \"Credencial para votar 2014\",\n    \"id\": \"\"\n}"},{"id":"d283dd11-c81e-4ba7-b1d6-98248a2c81df","name":"200 OK - positive_blackLists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uuid\": \"uuid\",\n\t\"includeImages\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/results"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"5706"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=83e1e916dbae1fadbdcfc01ef23633ffb85e1f9d6aadc6405bdeeeef9bc61400;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinity=8d69b90c05ecaa44b24e8b059b2b951042d72e06f694220099f034a811455a01;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Date","value":"Sat, 03 Oct 2020 00:13:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"identifier\": \"UUID\",\n    \"frontImage\": null,\n    \"backImage\": null,\n    \"documentPortraitImage\": null,\n    \"faceImage\": null,\n    \"documentData\": [\n        {\n            \"type\": \"DocumentHolderFullName\",\n            \"name\": null,\n            \"value\": \"Name\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"DateOfExpiry\",\n            \"name\": \"Fecha de Expiración\",\n            \"value\": \"date\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"FullDateOfIssue\",\n            \"name\": null,\n            \"value\": \"date\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Sex\",\n            \"name\": \"Sexo\",\n            \"value\": \"M\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"IssuingStateName\",\n            \"name\": \"Nombre del País Emisor\",\n            \"value\": \"Mexico\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PersonalNumber\",\n            \"name\": \"Número Personal\",\n            \"value\": \"numPersonal\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Voter_Key\",\n            \"name\": \"Clave de Elector\",\n            \"value\": \"voterKey\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"OcrNumber\",\n            \"name\": \"Número OCR\",\n            \"value\": \"OcrNumber\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Section\",\n            \"name\": \"Sección\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress\",\n            \"name\": \"Dirección\",\n            \"value\": \"PermanentAddress\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_State\",\n            \"name\": \"Estado\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_Location\",\n            \"name\": \"Localidad\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Address_Municipality\",\n            \"name\": \"Municipio\",\n            \"value\": \"\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"Surname\",\n            \"name\": \"Apellidos\",\n            \"value\": \"Surname\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_Street\",\n            \"name\": \"Calle\",\n            \"value\": \"PermanentAddress_Stree\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_Suburb\",\n            \"name\": \"Barrio\",\n            \"value\": \"PermanentAddress_Suburb\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"PermanentAddress_City\",\n            \"name\": \"Ciudad/Estado\",\n            \"value\": \"PermanentAddress_City\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressArea\",\n            \"name\": \"Area Dirección\",\n            \"value\": \"AddressArea\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCity\",\n            \"name\": \"Ciudad Dirección\",\n            \"value\": \"AddressCity\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCounty\",\n            \"name\": \"Provincia Dirección\",\n            \"value\": \"Estado de México\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCountry\",\n            \"name\": \"País Dirección\",\n            \"value\": \"Mexico\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressCountryCode\",\n            \"name\": \"Código País Dirección\",\n            \"value\": \"MX\",\n            \"source\": \"OCR\"\n        },\n        {\n            \"type\": \"AddressPostalCode\",\n            \"name\": \"Código Postal Dirección\",\n            \"value\": \"AddressPostalCode\",\n            \"source\": \"OCR\"\n        }\n    ],\n    \"documentVerifications\": [\n        {\n            \"name\": \"Identificación del Documento\",\n            \"category\": \"Identification\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"0_Template\",\n                    \"type\": \"Text\",\n                    \"value\": \"Credencial para votar serie C\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Patrón de Imagen\",\n            \"category\": \"SecurityFeatures\",\n            \"result\": \"Ok\",\n            \"output\": \"86\",\n            \"inputFields\": [\n                {\n                    \"name\": \"1_Imagen Obtenida\",\n                    \"type\": \"Image\",\n                    \"value\": \"data:image/jpg;base64,\"\n                },\n                {\n                    \"name\": \"1_Imagen de Referencia\",\n                    \"type\": \"Image\",\n                    \"value\": \"data:image/jpg;base64,\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Fecha de Expiración\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"2_Fecha de Expiración\",\n                    \"type\": \"Text\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Número Personal\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"3_Sección\",\n                    \"type\": \"Text\",\n                    \"value\": \"Sección: \"\n                },\n                {\n                    \"name\": \"3_Número Personal\",\n                    \"type\": \"Text\",\n                    \"value\": \"Número Personal: Número Personal\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"100\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: , Nacionalidad: Gibraltar  Gibraltar Parliament\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista de Sanciones\",\n            \"category\": \"ControlList\",\n            \"result\": \"Failed\",\n            \"output\": \"97\",\n            \"inputFields\": null\n        },\n        {\n            \"name\": \"Coincidencia en Lista de Sanciones\",\n            \"category\": \"ControlList\",\n            \"result\": \"Failed\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"OFAC EEUU: Nacimiento: 1984 (Linked To: CARTEL DE JALISCO NUEVA GENERACION; Linked To: LOS CUINIS; Linked To: GALLISTICA DIAMANTE)\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista de Sanciones\",\n            \"category\": \"ControlList\",\n            \"result\": \"Failed\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Sanciones SECO Suiza: Nacimiento: 1956 General Commissioner and Legal Assistance Main Officer (DAEJ) in the ‘El Chipote’ penitentiary centre. Responsible for serious human rights violations, including torture, use of extensive force, mistreatment of detainees and other forms of degrading treatment.\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1971, Nacionalidad: Argentina  Argentina Cámara de Diputados\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: , Nacionalidad: Dominican Republic  Dominican Republic Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: , Nacionalidad: Honduras  Honduras National Congress\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: , Nacionalidad: Honduras  Honduras National Congress\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1959, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1954, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1956, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1944, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1968, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1963, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1968, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: Nacimiento: 1965, Nacionalidad: Mexico  Mexico Chamber of Deputies\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Coincidencia en Lista PEP\",\n            \"category\": \"ControlList\",\n            \"result\": \"Warning\",\n            \"output\": \"97\",\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"Parlamentos nacionales: , Nacionalidad: Uruguay  Uruguay Chamber of Deputies\"\n                }\n            ]\n        }\n    ],\n    \"totalChecks\": 21,\n    \"successChecks\": 4,\n    \"warningChecks\": 14,\n    \"failedChecks\": 3,\n    \"expertUsed\": false,\n    \"checkTime\": \"00:00:05.0580000\",\n    \"expertComments\": null,\n    \"sourceType\": \"Camera\",\n    \"status\": \"Checked\",\n    \"userName\": \"userName\",\n    \"spentCredits\": 1,\n    \"startDateUtc\": \"\",\n    \"endDateUtc\": \"\",\n    \"securityLevel\": \"Low\",\n    \"globalResult\": \"ControlListHits\",\n    \"globalResultDescription\": \"Las verificaciones sobre el documento se han realizado correctamente, pero se han encontrado coincidencias en listas de control.\",\n    \"securityLevelDescription\": \"Bajo: El documento sólo contiene verificaciones de seguridad muy básicas, tales como código de barras, por lo que la autenticidad del documento no se puede asegurar con una fiabilidad razonable.\",\n    \"language\": \"es\",\n    \"documentType\": \"VotingCard\",\n    \"countryCode\": \"MEX\",\n    \"templateName\": \"Credencial para votar serie C\",\n    \"id\": \"id\"\n}"},{"id":"f5482858-61d6-48db-894a-5ff120d021ad","name":"200 Ok - liveness","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"uuid\": \"{{uuid}}\",\n\t\"includeImages\": false\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/results"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"3099"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Jun 2021 18:53:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"documentData\": [\n        {\n            \"type\": \"Document Class Code\",\n            \"name\": \"Código de tipo del Documento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"RemainderTerm\",\n            \"name\": \"Término restante\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Issuing State Name\",\n            \"name\": \"Nombre del País de Emisión\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Nationality\",\n            \"name\": \"Nacionalidad\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Age\",\n            \"name\": \"Edad\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Surname And Given Names\",\n            \"name\": \"Nombre Completo\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Final Checkdigit\",\n            \"name\": \"Dígito de control final\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Nationality Code\",\n            \"name\": \"Código de Nacionalidad\",\n            \"value\": \"MX\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Date of Expiry Checkdigit\",\n            \"name\": \"Dígito de control de Fecha de Vencimiento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Sex\",\n            \"name\": \"Sexo\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Issuing State Code\",\n            \"name\": \"Código del País de Emisión\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Document Number\",\n            \"name\": \"Número de Documento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Document Number Checkdigit\",\n            \"name\": \"Dígito de control de Número de Control\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Date of Expiry\",\n            \"name\": \"Fecha de Expiración\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Date of Birth Checkdigit\",\n            \"name\": \"Dígito de control de Fecha de Nacimiento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Date of Birth\",\n            \"name\": \"Fecha de Nacimiento\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Address Location\",\n            \"name\": \"Localidad\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Line2 Optional Data\",\n            \"name\": \"Información Opcional: línea 2\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Years Since Issue\",\n            \"name\": \"Años desde la Emisión\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Age at Issue\",\n            \"name\": \"Edad de Registro\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Surname And Given Names\",\n            \"name\": \"Nombre Completo\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Father Surname\",\n            \"name\": \"Apellido Paterno\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Mother Surname\",\n            \"name\": \"Apellido Materno\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Name\",\n            \"name\": \"Nombre\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Voter Key\",\n            \"name\": \"Clave de Elector\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address State\",\n            \"name\": \"Estado\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Section\",\n            \"name\": \"Sección\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"OCR Number\",\n            \"name\": \"Número OCR\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Number of Duplicates\",\n            \"name\": \"Número de duplicados\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Date of Registration\",\n            \"name\": \"Fecha de Registro\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Date of Issue\",\n            \"name\": \"Fecha de Emisión\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Personal Number\",\n            \"name\": \"Número Personal\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address Municipality\",\n            \"name\": \"Delegación Municipio\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address\",\n            \"name\": \"Dirección\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address Street\",\n            \"name\": \"Calle\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address Suburb\",\n            \"name\": \"Colonia\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Address City\",\n            \"name\": \"Ciudad/Estado\",\n            \"value\": \"\",\n            \"source\": \"VISUAL\"\n        },\n        {\n            \"type\": \"Given Names\",\n            \"name\": \"Nombre\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"Surname\",\n            \"name\": \"Apellido/s\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        },\n        {\n            \"type\": \"MRZ Type\",\n            \"name\": \"Tipo de MRZ\",\n            \"value\": \"\",\n            \"source\": \"MRZ\"\n        }\n    ],\n    \"documentVerifications\": [\n        {\n            \"name\": \"Identificación del Documento\",\n            \"category\": \"Identification\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"1_Template\",\n                    \"type\": \"Text\",\n                    \"value\": \"Mexico - Voting Card (2014)\"\n                },\n                {\n                    \"name\": \"1_Template\",\n                    \"type\": \"Text\",\n                    \"value\": \"Mexico - Voting Card (2014) Side B\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Código de tipo del Documento\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 96,\n            \"inputFields\": [\n                {\n                    \"name\": \"2_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"ID\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Nombre del País de Emisión\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 0,\n            \"inputFields\": [\n                {\n                    \"name\": \"3_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"Mexico\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Nacionalidad\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 0,\n            \"inputFields\": [\n                {\n                    \"name\": \"4_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"Mexico\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control final\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"5_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"4\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Código de Nacionalidad\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 85,\n            \"inputFields\": [\n                {\n                    \"name\": \"6_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"MEX\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control de Fecha de Vencimiento\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 97,\n            \"inputFields\": [\n                {\n                    \"name\": \"7_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"7\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Cadena de texto MRZ\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 53,\n            \"inputFields\": [\n                {\n                    \"name\": \"8_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"8_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"8_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Código del País de Emisión\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 78,\n            \"inputFields\": [\n                {\n                    \"name\": \"9_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"MEX\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Número de Documento\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 94,\n            \"inputFields\": [\n                {\n                    \"name\": \"10_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control de Número de Control\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"11_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"5\"\n                }\n            ]\n        },\n        {\n            \"name\": \"MRZ: Dígito de control de Fecha de Nacimiento\",\n            \"category\": \"DataFormat\",\n            \"result\": \"Ok\",\n            \"output\": 91,\n            \"inputFields\": [\n                {\n                    \"name\": \"12_MRZ Format\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"5\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Término restante\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 0,\n            \"inputFields\": [\n                {\n                    \"name\": \"13_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"66\"\n                },\n                {\n                    \"name\": \"13_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"66\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Edad\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 0,\n            \"inputFields\": [\n                {\n                    \"name\": \"14_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"24\"\n                },\n                {\n                    \"name\": \"14_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"24\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Nombre Completo\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 92,\n            \"inputFields\": [\n                {\n                    \"name\": \"15_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"15_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Sexo\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"16_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"H\"\n                },\n                {\n                    \"name\": \"16_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"H\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Fecha de Expiración\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"17_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"17_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Fecha de Nacimiento\",\n            \"category\": \"DataIntegrity\",\n            \"result\": \"Ok\",\n            \"output\": 100,\n            \"inputFields\": [\n                {\n                    \"name\": \"18_MRZ Integrity\",\n                    \"type\": \"MRZ\",\n                    \"value\": \"\"\n                },\n                {\n                    \"name\": \"18_VISUAL Integrity\",\n                    \"type\": \"VISUAL\",\n                    \"value\": \"\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Sin coincidencias\",\n            \"category\": \"ControlList\",\n            \"result\": \"Ok\",\n            \"output\": null,\n            \"inputFields\": [\n                {\n                    \"name\": \"Comments\",\n                    \"type\": \"Text\",\n                    \"value\": \"No se han encontrado coincidencias para este documento\"\n                }\n            ]\n        },\n        {\n            \"name\": \"Comprobación Facial\",\n            \"category\": \"Biometrics\",\n            \"result\": true,\n            \"output\": 72.774,\n            \"inputFields\": [\n                {\n                    \"name\": \"DocumentPortrait\",\n                    \"type\": \"Image\",\n                    \"value\": null\n                },\n                {\n                    \"name\": \"LivePortrait\",\n                    \"type\": \"Image\",\n                    \"value\": null\n                }\n            ]\n        },\n        {\n            \"name\": \"Prueba de Vida\",\n            \"category\": \"Biometrics\",\n            \"result\": true,\n            \"output\": 1386,\n            \"inputFields\": null\n        },\n        {\n            \"name\": \"Máscara Facial\",\n            \"category\": \"Biometrics\",\n            \"result\": false,\n            \"output\": null,\n            \"inputFields\": null\n        },\n        {\n            \"name\": \"Lentes Oscuros\",\n            \"category\": \"Biometrics\",\n            \"result\": false,\n            \"output\": -380,\n            \"inputFields\": null\n        }\n    ],\n    \"documentImageQuality\": [\n        {\n            \"type\": \"ImageColorness\",\n            \"name\": \"Color de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"ImageGlares\",\n            \"name\": \"Brillo de la imagen\",\n            \"result\": \"ERROR\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"ImageFocus\",\n            \"name\": \"Enfoque de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"Bounds\",\n            \"name\": \"Límites de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"Perspective\",\n            \"name\": \"Perspectiva de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"ImageResolution\",\n            \"name\": \"Resolucion de la imagen\",\n            \"result\": \"ERROR\",\n            \"category\": \"BLANK\",\n            \"source\": \"BACK_IMAGE\"\n        },\n        {\n            \"type\": \"ImageColorness\",\n            \"name\": \"Color de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        },\n        {\n            \"type\": \"ImageGlares\",\n            \"name\": \"Brillo de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        },\n        {\n            \"type\": \"ImageFocus\",\n            \"name\": \"Enfoque de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        },\n        {\n            \"type\": \"Bounds\",\n            \"name\": \"Límites de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        },\n        {\n            \"type\": \"Perspective\",\n            \"name\": \"Perspectiva de la imagen\",\n            \"result\": \"OK\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        },\n        {\n            \"type\": \"ImageResolution\",\n            \"name\": \"Resolucion de la imagen\",\n            \"result\": \"ERROR\",\n            \"category\": \"BLANK\",\n            \"source\": \"FRONT_IMAGE\"\n        }\n    ],\n    \"identifier\": \"uuid\",\n    \"frontImage\": null,\n    \"frontInfraredImage\": null,\n    \"frontUltravioletImage\": null,\n    \"backImage\": null,\n    \"backInfraredImage\": null,\n    \"backUltravioletImage\": null,\n    \"documentPortraitImage\": null,\n    \"faceImage\": null,\n    \"totalChecks\": 21,\n    \"successChecks\": 21,\n    \"warningChecks\": 0,\n    \"failedChecks\": 0,\n    \"expertUsed\": false,\n    \"checkTime\": \"0000-00-00T00:00:19.811Z\",\n    \"expertComments\": null,\n    \"sourceType\": \"Camera\",\n    \"status\": \"Checked\",\n    \"spentCredits\": 3,\n    \"startDateUtc\": \"2021-06-17T00:51:34.000Z\",\n    \"endDateUtc\": \"2021-06-17T00:51:53.000Z\",\n    \"securityLevel\": \"Medium\",\n    \"globalResult\": \"Ok\",\n    \"globalResultDescription\": \"El documento ha sido verificado correctamente.\",\n    \"language\": \"es\",\n    \"documentType\": \"VOTING_CARD\",\n    \"countryCode\": \"MEX\",\n    \"templateName\": \"Mexico - Voting Card (2014)\",\n    \"id\": \"testin:sdgg\"\n}"}],"_postman_id":"1f1e4ddd-3e8c-4fd0-937a-9c6236671e55"},{"name":"04 - Get Report","id":"210c34e6-779e-4083-adf3-1d3d505d0225","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer token"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"uuid\": \"{uuid}\"}"},"url":"https://veridocid.azure-api.net/api/id/v2/report/uuid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","id","v2","report","uuid"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"7384e7c8-6fdc-4e87-9465-0a89c3efbdbd","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer token"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"uuid\": \"uuid\"}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/report/uuid"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Mon, 05 Apr 2021 22:19:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"}],"_postman_id":"210c34e6-779e-4083-adf3-1d3d505d0225"},{"name":"Create Verification","event":[{"listen":"test","script":{"id":"63247910-0d84-4c6b-bde6-9691de267518","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            if(_.get(req, 'id')) {","                pm.expect(resp.error).to.eql('Invalid content');","            } else {","                pm.expect(resp.error).to.eql('id field is missing');","            }","        });","    } else if (pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Response is a string\", function () {","            pm.expect(pm.response.text()).to.include(\"\");","            pm.collectionVariables.set(\"uuid\", pm.response.text());","        });","    }","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"1d6e5620-3cc6-44ff-964f-85b70695ce41","exec":["function makeid(length) {","   var result           = '';","   var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-';","   var charactersLength = characters.length;","   for ( var i = 0; i < length; i++ ) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","   }","   return result;","}","","const id = makeid(15)","","console.log(id)","","pm.collectionVariables.set(\"id\", `testing: ${id}`)"],"type":"text/javascript"}}],"id":"6d48e323-7466-48f5-a34e-dfb2c10588ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":"{{xApiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"options\": {\r\n        \"checks\": {\r\n            \"selfie\": false\r\n        },\r\n        \"redirect_url\": \"https://verificaciones.sumamexico.com/\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/createVerification","description":"<h2 id=\"create-a-verification\">Create a Verification</h2>\n<p>HTTPS POST method to create a new verification. You will receive a Verification UUID Identifier,<br />which you should store and use to check verification status and request verification results when they are ready.</p>\n<h2 id=\"request-json\">Request JSON</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>*</td>\n<td>defined by user, must be string.</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>options</strong></td>\n<td>Object that is used to customize the verification.</td>\n<td>OptionsInterface</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"optionsinterface\">OptionsInterface</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>checks</strong></td>\n<td>An object to specify additional verifications</td>\n<td>ChecksInterface</td>\n</tr>\n<tr>\n<td><strong>redirect_url</strong></td>\n<td>Url to redirect when the process finished.</td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"checksinterface\">ChecksInterface</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>selfie/</strong></td>\n<td>Choose if the verification has selfie.</td>\n<td>boolean</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>UUID</td>\n<td>UUID generated correctly</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Bad Request</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","id","v2","createVerification"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"3e0346af-43d7-458f-9dd4-827ef7661c9b","name":"200 - Ok","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"{{xApiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"options\": {\r\n        \"checks\": {\r\n            \"selfie\": false\r\n        },\r\n        \"redirect_url\": \"https://verificaciones.sumamexico.com/\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/createVerification"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"155"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 18 Aug 2021 16:46:59 GMT"}],"cookie":[],"responseTime":null,"body":"UUID Identifier"},{"id":"ce4797b6-5ad3-40f0-bd0e-9cb708bda5f7","name":"400 - Missed x-api-key","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"invalid-api-key","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"{{id}}\",\r\n    \"options\": {\r\n        \"checks\": {\r\n            \"selfie\": false\r\n        },\r\n        \"redirect_url\": \"https://verificaciones.sumamexico.com/\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/id/v2/createVerification"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"367"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 18 Aug 2021 17:07:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": null,\n    \"error\": \"unexpected error: A secret with (name/id) 11740682381ab859ea05c8de68a9b5c5dab337ca04ffb79a02385ba83d4f06ce was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"\n}"}],"_postman_id":"6d48e323-7466-48f5-a34e-dfb2c10588ac"}],"id":"34be3e28-3b2f-4f96-baa7-cf314af67ff1","_postman_id":"34be3e28-3b2f-4f96-baa7-cf314af67ff1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Government Requests","item":[{"name":"01 - Validate CURP","event":[{"listen":"test","script":{"id":"218118eb-190f-4639-8f78-4fb892592895","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(req, 'curp')) {","            if(_.get(resp, 'curp')) {","                pm.test(\"Respsonse should contains curp\", function() {","                    pm.response.to.have.jsonBody(\"curp\");","                    pm.expect(resp.curp).to.eql(req.curp);","                });","            } else {","                pm.test(\"Response should contains mensaje\", function() {","                    pm.response.to.have.jsonBody(\"mensaje\");","                });","            }","","            pm.test(\"Respsonse should contains codigoValidacion\", function() {","                pm.response.to.have.jsonBody(\"codigoValidacion\");","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","                pm.expect(resp.mensaje).to.eql(\"Error de datos\");","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"2221b092-adc9-49f9-b5ab-97f40591ab75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 21,\n\t\"curp\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp","description":"<h1 id=\"validate-curp\">Validate CURP</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/curp</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>string/number</td>\n<td>Helps you to identify the validation</td>\n</tr>\n<tr>\n<td><strong>curp</strong></td>\n<td>string</td>\n<td>18 CURP digits to validate</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-valid-curp\"><strong>Successful response with valid CURP</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>curp</strong></td>\n<td>18 digits of the person's CURP</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>OK</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"0\"</td>\n</tr>\n<tr>\n<td><strong>nombre</strong></td>\n<td>Person´s name</td>\n</tr>\n<tr>\n<td><strong>apellidoPaterno</strong></td>\n<td>Person's paternal surname</td>\n</tr>\n<tr>\n<td><strong>apellidoMaterno</strong></td>\n<td>Maternal last name of the person</td>\n</tr>\n<tr>\n<td><strong>sexo</strong></td>\n<td>Sex of the person {\"HOMBRE\"</td>\n</tr>\n<tr>\n<td><strong>estadoNacimiento</strong></td>\n<td>State of born</td>\n</tr>\n<tr>\n<td><strong>paisNacimiento</strong></td>\n<td>Country of born</td>\n</tr>\n<tr>\n<td><strong>fechaNacimiento</strong></td>\n<td>Birth of born</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota:</strong> <em>There is additional data from the evidentiary document, which may or may not come depending on the case.</em></p>\n<h4 id=\"successful-response-with-invalid-or-non-existent-curp-in-renapo\"><strong>Successful response with invalid or non-existent CURP in RENAPO</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"CURP no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"1\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-curp-with-invalid-format\"><strong>Successful response with CURP with invalid format</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"CURP con formato invalido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"2\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-curp-not-valid-per-validation-digit\"><strong>Successful response with CURP not valid per validation digit</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"CURP no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"3\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-due-to-unavailability-of-renapo\"><strong>Successful response with error due to unavailability of RENAPO</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"RENAPO no disponible\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"4\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-in-the-data-sent\"><strong>Successful response with error in the data sent</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de datos\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","curp"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"3e75ec71-b9a5-4b54-8a92-d9af6bdcab43","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:23:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"OK\",\n    \"codigoValidacion\": \"\",\n    \"curp\": \"\",\n    \"nombre\": \"\",\n    \"apellidoPaterno\": \"\",\n    \"apellidoMaterno\": \"\",\n    \"sexo\": \"\",\n    \"fechaNacimiento\": \"\",\n    \"paisNacimiento\": \"\",\n    \"estadoNacimiento\": \"\",\n    \"docProbatorio\": \"\",\n    \"datosDocProbatorio\": {\n        \"anioReg\": \"\",\n        \"municipioRegistro\": \"\",\n        \"tomo\": \"\",\n        \"libro\": \"\",\n        \"numActa\": \"\",\n        \"foja\": \"\",\n        \"entidadRegistro\": \"\",\n        \"claveEntidadRegistro\": \"\"\n    },\n    \"codigoMensaje\": \"0\",\n    \"documento\": \"\"\n}"},{"id":"9694fae5-8ca4-4701-b3d9-badf83da3923","name":"200 - Error - No Valido","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP-No-Valido\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:25:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"CURP no valido\",\n    \"codigoValidacion\": \"vc1587713155.8598726\",\n    \"codigoMensaje\": \"3\"\n}"},{"id":"9f57c588-95e0-4880-bee4-fc2d8fc2e6dc","name":"200 - Error - Formato No Valido","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP-Formato-no-valido\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:24:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"CURP con formato invalido\",\n    \"codigoValidacion\": \"vc1587713076.0470695\",\n    \"codigoMensaje\": \"2\"\n}"},{"id":"eb3f8567-1174-4230-8e56-c688c9a3cd6e","name":"200 - Error - RENAPO No Disponible","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"PEAJ890808HDFRLN12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:25:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"RENAPO no disponible\",\n    \"codigoValidacion\": \"vc1587713155.8598726\",\n    \"codigoMensaje\": \"4\"\n}"}],"_postman_id":"2221b092-adc9-49f9-b5ab-97f40591ab75"},{"name":"02 - Validate INE/IFE","event":[{"listen":"test","script":{"id":"dd54b1ec-cc96-4414-b4f0-7a60dd707a93","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(resp, 'claveElector')) {","            pm.test(\"Respsonse should contains claveElector\", function() {","                pm.response.to.have.jsonBody(\"claveElector\");","                pm.expect(resp.claveElector).to.eql(req.claveElector);","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","            });","        }","","        pm.test(\"Respsonse should contains codigoValidacion\", function() {","            pm.response.to.have.jsonBody(\"codigoValidacion\");","        });","    }","});"],"type":"text/javascript"}}],"id":"dd29deb2-e3d2-4268-8f9d-3e912025adbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 21,\n\t\"cic\":\"\",\n\t\"ocr\":\"\",\n\t\"claveElector\":\"\",\n\t\"numeroEmision\":\"\",\n\t\"identificadorCiudadano\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/ine","description":"<h1 id=\"validate-ineife\">Validate INE/IFE</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/ine</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>ID helps you to identify validation</td>\n</tr>\n<tr>\n<td><strong>cic</strong></td>\n<td>CIC number of the voter card</td>\n</tr>\n<tr>\n<td><strong>ocr</strong></td>\n<td>OCR number of the voter card</td>\n</tr>\n<tr>\n<td><strong>claveElector</strong></td>\n<td>Elector key</td>\n</tr>\n<tr>\n<td><strong>numeroEmision</strong></td>\n<td>Issuance number of the voter card</td>\n</tr>\n<tr>\n<td><strong>identificadorCiudadano</strong></td>\n<td>Citizen identifier number</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><strong>identificaforCiudadano</strong>: Mandatory if it is INE</li>\n<li><strong>claveElector &amp; numeroEmision</strong>: Mandatory if it is type A, B or C</li>\n<li><strong>ocr</strong>: Mandatory if it is IFE</li>\n<li><strong>cic</strong>: Mandatory if it is type D, E of F</li>\n<li><strong>identificadorCiudadano</strong>: OCR number of the document without the first 4 numbers</li>\n</ul>\n<h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-ineife-valid-as-identification-to-vote\"><strong>Successful response with INE/IFE valid as identification to vote</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Está vigente como medio de identificación y puede votar\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Ok\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"3\"</td>\n</tr>\n<tr>\n<td><strong>claveElector</strong></td>\n<td>Voter key number</td>\n</tr>\n<tr>\n<td><strong>numeroEmision</strong></td>\n<td>Credential issue number</td>\n</tr>\n<tr>\n<td><strong>anioRegistro</strong></td>\n<td>Voter registration year</td>\n</tr>\n<tr>\n<td><strong>anioEmision</strong></td>\n<td>Year of issuance of the credential</td>\n</tr>\n<tr>\n<td><strong>vigencia</strong></td>\n<td>Validity of the credential</td>\n</tr>\n<tr>\n<td><strong>ocr</strong></td>\n<td>Credential OCR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-ineife-as-identification-and-not-to-vote\"><strong>Successful response with INE/IFE as identification and not to vote</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Está vigente como medio de identificación y no puede votar\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Ok\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"2\"</td>\n</tr>\n<tr>\n<td><strong>claveElector</strong></td>\n<td>Voter key number</td>\n</tr>\n<tr>\n<td><strong>numeroEmision</strong></td>\n<td>Credential issue number</td>\n</tr>\n<tr>\n<td><strong>anioRegistro</strong></td>\n<td>Voter registration year</td>\n</tr>\n<tr>\n<td><strong>anioEmision</strong></td>\n<td>Year of issuance of the credential</td>\n</tr>\n<tr>\n<td><strong>vigencia</strong></td>\n<td>Validity of the credential</td>\n</tr>\n<tr>\n<td><strong>ocr</strong></td>\n<td>Credential OCR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-ineife-invalid-due-to-incorrect-data\"><strong>Successful response with INE/IFE invalid due to incorrect data</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Datos incorrectos o inexistentes\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"0\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-ineife-invalid-as-identification-and-invalid-to-vote\"><strong>Successful response with INE/IFE invalid as identification and invalid to vote</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"No esta vigente como medio de identificación y no puedes votar\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"1\"</td>\n</tr>\n<tr>\n<td><strong>claveElector</strong></td>\n<td>Voter key number</td>\n</tr>\n<tr>\n<td><strong>numeroEmision</strong></td>\n<td>Credential issue number</td>\n</tr>\n<tr>\n<td><strong>anioRegistro</strong></td>\n<td>Voter registration year</td>\n</tr>\n<tr>\n<td><strong>anioEmision</strong></td>\n<td>Year of issuance of the credential</td>\n</tr>\n<tr>\n<td><strong>vigencia</strong></td>\n<td>Validity of the credential</td>\n</tr>\n<tr>\n<td><strong>ocr</strong></td>\n<td>Credential OCR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-cic-with-invalid-format\"><strong>Successful response with CIC with invalid format</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"CIC con formato no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"5\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-ocr-with-invalid-format\"><strong>Successful response with OCR with invalid format</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"OCR con formato no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"6\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-invalid-voter-key\"><strong>Successful response with invalid voter key</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Clave de elector con formato no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"7\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-invalid-issue-number\"><strong>Successful response with invalid issue number</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Número de emisión con formato no valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"8\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-in-the-data-sent\"><strong>Successful response with error in the data sent</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de datos\"</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"4\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"unsuccessful-response-by-username-andor-password\"><strong>Unsuccessful response by username and/or password</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de autenticacion\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","ine"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd29deb2-e3d2-4268-8f9d-3e912025adbb"},{"name":"03 - Get NSS","event":[{"listen":"test","script":{"id":"e04ad95e-c21a-4548-a816-f7bd6e812762","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(req, 'curp')) {","            if(_.get(resp, 'nss')) {","                pm.test(\"Respsonse should contains nss\", function() {","                    pm.response.to.have.jsonBody(\"nss\");","                });","            } else {","                pm.test(\"Response should contains mensaje\", function() {","                    pm.response.to.have.jsonBody(\"mensaje\");","                });","            }","","            pm.test(\"Respsonse should contains codigoValidacion\", function() {","                pm.response.to.have.jsonBody(\"codigoValidacion\");","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","                pm.expect(resp.mensaje).to.eql(\"Error de datos\");","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"214c27ed-040a-4b76-a029-c6ff5e5524c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 21,\n\t\"curp\":\"\",\n\t\"email\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/nss","description":"<h1 id=\"get-nss\">Get NSS</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/nss</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Id to helps you to identify response</td>\n</tr>\n<tr>\n<td><strong>curp</strong></td>\n<td>18 digits of the CURP from which you want to obtain the NSS</td>\n</tr>\n<tr>\n<td><strong>email</strong></td>\n<td>Email registered in the person's IMSS</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-nss-found\"><strong>Successful response with NSS found</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>nss</strong></td>\n<td>NSS obtained</td>\n</tr>\n<tr>\n<td><strong>nombre</strong></td>\n<td>The name of the person</td>\n</tr>\n<tr>\n<td><strong>curp</strong></td>\n<td>The CURP of the person</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>Ok</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-a-non-positive-message-from-the-imss\"><strong>Successful response with a non-positive message from the IMSS</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"No se encontro un numero asociado al CURP\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>ERROR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-number-of-operations-exceeded\"><strong>Successful response with number of operations exceeded</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"El numero de operaciones por periodo ha sido alcanzada (2 operacion(es) cada 1 dia(s)),<br /> favor de intentar mas tarde\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>2</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>ERROR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-email-already-used-by-another-curp\"><strong>Successful response with email already used by another CURP</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>Mensaje</strong></td>\n<td>\"El correo electronico que capturo ya se encuentra registrado en el Instituto relacionado a una CURP distinta a la capturada\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>3</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-curp-not-found-in-renapo\"><strong>Successful response with CURP not found in RENAPO</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>Mensaje</strong></td>\n<td>\"No se localizó información en RENAPO con la CURP capturada\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code.<br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-in-the-data-sent\"><strong>Successful response with error in the data sent</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de datos\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-due-to-imss-unavailability\"><strong>Successful response with error due to IMSS unavailability</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>Mensaje</strong></td>\n<td>\"IMSS no disponible\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"unsuccessful-response-by-user-andor-password\"><strong>Unsuccessful response by user and/or password</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de autenticacion\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","nss"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"214c27ed-040a-4b76-a029-c6ff5e5524c3"},{"name":"04 - Validate RFC","event":[{"listen":"test","script":{"id":"ba44745d-90ad-482c-a687-5314d28309bb","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(req, 'rfc')) {","            console.log(\"if\")","            if(_.get(resp, 'tipoPersona')) {","                pm.test(\"Respsonse should contains tipoPersona\", function() {","                    pm.response.to.have.jsonBody(\"tipoPersona\");","                });","            } else {","                pm.test(\"Response should contains codigoError\", function() {","                    pm.response.to.have.jsonBody(\"codigoError\");","                });","            }","","            pm.test(\"Respsonse should contains codigoValidacion\", function() {","                pm.response.to.have.jsonBody(\"codigoValidacion\");","            });","","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","                pm.expect(resp.mensaje).to.eql(\"Error de datos\");","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"525834cb-14e6-4a96-9385-5b068820e2b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 21,\n\t\"rfc\":\"\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/rfc/validate","description":"<h1 id=\"validate-rfc\">Validate RFC</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/rfc/validate</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Id whatever you want. It helps you to identify validation.</td>\n</tr>\n<tr>\n<td><strong>rfc</strong></td>\n<td>12-13 digits of the RFC to validate</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-valid-rfc\"><strong>Successful response with valid RFC</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"RFC Valido\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>Unique validation execution code.<br />The key to this code is keeping a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>Ok</td>\n</tr>\n<tr>\n<td><strong>topoPersona</strong></td>\n<td>Natural or legal person {\"F\" or \"M\"}</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-rfc-not-in-force-but-registered-with-the-sat\"><strong>Successful response with RFC not in force but registered with the SAT</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"El RFC ingresado no se encuentra en la lista de RFC no cancelados\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>Unique validation execution code.<br />The key to this code is keeping a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoError</strong></td>\n<td>0</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>ERROR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-invalid-rfc\"><strong>Successful response with invalid RFC</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"El RFC ingresado no se encuentra en la lista de RFC no cancelados\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>Unique validation execution code.<br />The key to this code is keeping a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoError</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>ERROR</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-rfc-with-invalid-format\"><strong>Successful response with RFC with invalid format</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"RFC con formato invalido\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>Unique validation execution code.<br />The key to this code is keeping a record of requested validations.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-in-the-data-sent\"><strong>Successful response with error in the data sent</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de datos\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-due-to-non-availability-of-the-sat\"><strong>Successful response with error due to non-availability of the SAT</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"SAT no disponible\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"unsuccessful-response-by-user-andor-password\"><strong>Unsuccessful response by user and/or password</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Error de autenticacion\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","rfc","validate"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"525834cb-14e6-4a96-9385-5b068820e2b7"},{"name":"05 - Colombian citizen card","event":[{"listen":"test","script":{"id":"0f5321fa-e81b-4702-845f-99d72a630aaf","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(req, 'numeroIdentificacion') && _.get(req, 'fechaExpedicion')) {","            pm.test(\"Respsonse should contains codigoValidacion\", function() {","                pm.response.to.have.jsonBody(\"codigoValidacion\");","            });","","            pm.test(\"Respsonse should contains cedulaCiudadania\", function() {","                pm.response.to.have.jsonBody(\"cedulaCiudadania\");","            });","","            pm.test(\"Respsonse should contains estado\", function() {","                pm.response.to.have.jsonBody(\"estado\");","            });","","            pm.test(\"Respsonse should contains documento\", function() {","                pm.response.to.have.jsonBody(\"documento\");","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","                pm.expect(resp.mensaje).to.eql(\"Error de datos\");","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"72be1a89-23b4-4d0c-af2a-ebd7d5ea3451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 11,\r\n    \"numeroIdentificacion\": \"\",\r\n    \"fechaExpedicion\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/registraduria","description":"<h2 id=\"colombian-citizen-card\">Colombian citizen card</h2>\n<p>HTTPS POST method to obtain an identity document (card) issued by the Entity. \nThe status certificate is the mechanism by which the Colombian National Registry, after verification in the databases of the Identification system, informs citizens about the status of an identity document (card) issued by the Entity.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id<strong>*</strong></td>\n<td>int</td>\n<td>11</td>\n</tr>\n<tr>\n<td>numeroIdentificacion<strong>*</strong></td>\n<td>string</td>\n<td>6322089</td>\n</tr>\n<tr>\n<td>fechaNacimiento<strong>*</strong></td>\n<td>string ($dd-MM-YYYY)</td>\n<td>25/07/2001</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>Citizen card in base64 and info about it</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","registraduria"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"735121d0-541b-402e-ab2f-a80a7a4e6a0a","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\"id\": 11,\r\n\"numeroIdentificacion\": \"6322089\",\r\n\"fechaExpedicion\": \"25/07/2001\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/registraduria"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"19237"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=7bca41987c0247eacbccc82aa39906098138851111fd25f2683e4346d0e3b1c7;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinity=0f0812ac0daa49d95e440072ebe19567ef164844863d95642cfbf2c408afd366;Path=/;HttpOnly;Secure;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=0f0812ac0daa49d95e440072ebe19567ef164844863d95642cfbf2c408afd366;Path=/;HttpOnly;SameSite=None;Secure;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 06 Nov 2020 04:13:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"OK\",\n    \"codigoValidacion\": \"ec1604636028.6045926\",\n    \"claveMensaje\": 0,\n    \"cedulaCiudadania\": \"6.322.089\",\n    \"fechaExpedicion\": \"25 DE JULIO DE 2001\",\n    \"lugarExpedicion\": \"GUACARI - VALLE\",\n    \"aNombreDe\": \"DIEGO FERNANDO RIOS CORREA\",\n    \"estado\": \"VIGENTE\",\n    \"documento\": \"base64\"\n}"}],"_postman_id":"72be1a89-23b4-4d0c-af2a-ebd7d5ea3451"},{"name":"06 - Get IMSS work history","id":"e076e8f3-34b5-48d0-8601-ea80c286b2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS\",\r\n    \"curp\":\"CURP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss","description":"<h1 id=\"validate-imss-work-history\">Validate IMSS Work History</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/imss</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>string/number</td>\n<td>Helps you to identify the validation</td>\n</tr>\n<tr>\n<td><strong>nss</strong></td>\n<td>string</td>\n<td>10 NSS digits to validate</td>\n</tr>\n<tr>\n<td><strong>curp</strong></td>\n<td>string</td>\n<td>18 CURP digits to validate</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response\"><strong>Successful response</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>nombre</strong></td>\n<td>Person's name</td>\n</tr>\n<tr>\n<td><strong>semanasCotizadas</strong> JSON Object</td>\n<td>semanasCotizadas<br />semanasReintegradas <br />semanasDescontadas</td>\n</tr>\n<tr>\n<td><strong>historialLaboral</strong>  Objects array</td>\n<td>fechaAlta<br />fechaBaja<br />salarioBaseCotizacion<br />entidadFederativa<br />nombrePatron<br />registroPatronal</td>\n</tr>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"OK\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>claveMensaje</strong></td>\n<td>\"0\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-invalid-or-non-existent-nss-in-imss\"><strong>Successful response with invalid or non-existent NSS in IMSS</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"“El NSS XXXXXXXXXX no fue localizado en el IMSS.\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"1\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-invalid-or-non-existent-curp-in-renapo\"><strong>Successful response with invalid or non-existent CURP in RENAPO</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"La CURP proporcionada no fue localizada en la entidad externa RENAPO\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"2\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-captured-nss-does-not-match-curp\"><strong>Successful response with error: Captured NSS does not match CURP</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"El NSS capturado no coincide con la CURP\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"3\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-at-the-moment-it-is-not-possible-to-deliver-a-constancy\"><strong>Successful response with error: At the moment it is not possible to deliver a constancy</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Por el momento no es posible entregarle su constancia por favor intente mas tarde o solicitela directamente en la Subdelegación mas cercana a su domicilio en días y horas habiles.\"</td>\n</tr>\n<tr>\n<td><strong>codigoValidacion</strong></td>\n<td>Unique validation execution code. <br />The purpose of this code is to keep a record of requested validations.</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"4\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-there-is-missing-data-in-the-petition\"><strong>Successful response with error: There is missing data in the petition</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Hay datos faltantes en la peticion\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"5\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-trying-to-get-the-page-information\"><strong>Successful response with error trying to get the page information</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"Error\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"Ocurrio un error a tratar de obtener la información de la página\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"6\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","imss"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"b2855909-6ba8-476d-a6cf-030a9c0a5cf3","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS\",\r\n    \"curp\":\"CURP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 Sep 2021 04:35:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"nombre\": \"\",\n    \"semanasCotizadas\": {\n        \"semanasCotizadas\": \"\",\n        \"semanasReintegradas\": \"0\",\n        \"semanasDescontadas\": \"0\"\n    },\n    \"historialLaboral\": [\n        {\n            \"fechaAlta\": \"\",\n            \"fechaBaja\": \"\",\n            \"salarioBaseCotizacion\": \"\",\n            \"entidadFederativa\": \"\",\n            \"nombrePatron\": \"\",\n            \"registroPatronal\": \"\"\n        }\n    ],\n    \"estatus\": \"OK\",\n    \"codigoValidacion\": \"\",\n    \"claveMensaje\": \"0\"\n}"},{"id":"2034ea5f-8f4f-4dd3-acc7-6a89fe867579","name":"200 - ERROR - CURP No localizado","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS\",\r\n    \"curp\":\"CURP NO VALIDO\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 07 Sep 2021 23:16:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"mensaje\": \"La CURP proporcionada no fue localizada en la entidad externa RENAPO\",\n    \"claveMensaje\": \"2\",\n    \"estatus\": \"ERROR\",\n    \"codigoValidacion\": \"\"\n}"},{"id":"f596ecdf-b6bd-4311-a82a-c707e8da310a","name":"200 - ERROR - No se puede entregar constancia","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS\",\r\n    \"curp\":\"CURP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 07 Sep 2021 23:53:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"Por el momento no es posible entregarle su constancia por favor intente mas tarde o solicitela directamente en la Subdelegación mas cercana a su domicilio en días y horas habiles.\",\n    \"claveMensaje\": \"4\",\n    \"codigoValidacion\": \"\"\n}"},{"id":"09ade02d-7aa6-4f06-8c88-1f7de6d4f19f","name":"200 - ERROR - NSS no valido","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS NO VALIDO\",\r\n    \"curp\":\"CURP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 07 Sep 2021 23:52:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"NSS incorrecto. Por favor verifique\",\n    \"claveMensaje\": \"5\",\n    \"codigoValidacion\": \"\"\n}"},{"id":"563d97ec-83a3-4b99-98e4-d6993e977670","name":"200 - ERROR - Error en página del IMSS","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"1\",\r\n    \"nss\":\"NSS\",\r\n    \"curp\":\"CURP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/imss"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 07 Sep 2021 23:40:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"Ocurrio un error al intentar obtener la informacion de la pagina\",\n    \"claveMensaje\": \"6\",\n    \"codigoValidacion\": \"\"\n}"}],"_postman_id":"e076e8f3-34b5-48d0-8601-ea80c286b2c2"},{"name":"07 - Validate CPE (Professional license)","event":[{"listen":"test","script":{"id":"ebae736c-ee6e-4cce-8c22-ecac7d9e5cff","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains estatus\", function() {","            pm.response.to.have.jsonBody(\"estatus\");","            pm.expect(resp.estatus).to.be.oneOf(['OK', 'ERROR']);","        });","","        if(_.get(req, 'curp')) {","            if(_.get(resp, 'curp')) {","                pm.test(\"Respsonse should contains curp\", function() {","                    pm.response.to.have.jsonBody(\"curp\");","                    pm.expect(resp.curp).to.eql(req.curp);","                });","            } else {","                pm.test(\"Response should contains mensaje\", function() {","                    pm.response.to.have.jsonBody(\"mensaje\");","                });","            }","","            pm.test(\"Respsonse should contains codigoValidacion\", function() {","                pm.response.to.have.jsonBody(\"codigoValidacion\");","            });","        } else {","            pm.test(\"Response should contains mensaje\", function() {","                pm.response.to.have.jsonBody(\"mensaje\");","                pm.expect(resp.mensaje).to.eql(\"Error de datos\");","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"69975cdb-f1df-4d4a-af78-ebbd0900357e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"ced\": \"*******\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/cpe","description":"<h1 id=\"validate-cpe\">Validate CPE</h1>\n<p>HTTPS POST method to create a new validation.<br />You will receive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/cpe</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>string/number</td>\n<td>Helps you to identify the validation</td>\n</tr>\n<tr>\n<td><strong>ced</strong></td>\n<td>string</td>\n<td>Professional License ID</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-valid-curp\"><strong>Successful response with valid CURP</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>error</strong></td>\n<td>Indicates 1 if there is an error or 0 otherwise</td>\n</tr>\n<tr>\n<td><strong>result</strong> JSON Object</td>\n<td>Results object with all information about CPE  <br />  <br />Object:  <br />cedula  <br />institucion  <br />nombres  <br />apellidoPaterno  <br />apellidoMaterno  <br />sexo  <br />tipo  <br />titulo</td>\n</tr>\n<tr>\n<td><strong>message</strong></td>\n<td>If error is \"1\", field message will indicate the cause</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nota:</strong> <em>There is additional data from the evidentiary document, which may or may not come depending on the case.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","cpe"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"20b3325c-e497-4bc9-940f-559ac8452336","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/cpe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:23:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"OK\",\n    \"codigoValidacion\": \"\",\n    \"curp\": \"\",\n    \"nombre\": \"\",\n    \"apellidoPaterno\": \"\",\n    \"apellidoMaterno\": \"\",\n    \"sexo\": \"\",\n    \"fechaNacimiento\": \"\",\n    \"paisNacimiento\": \"\",\n    \"estadoNacimiento\": \"\",\n    \"docProbatorio\": \"\",\n    \"datosDocProbatorio\": {\n        \"anioReg\": \"\",\n        \"municipioRegistro\": \"\",\n        \"tomo\": \"\",\n        \"libro\": \"\",\n        \"numActa\": \"\",\n        \"foja\": \"\",\n        \"entidadRegistro\": \"\",\n        \"claveEntidadRegistro\": \"\"\n    },\n    \"codigoMensaje\": \"0\",\n    \"documento\": \"\"\n}"},{"id":"a0b3718c-9077-4210-8b84-9a6d5d34cfff","name":"200 - Error - No Valido","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP-No-Valido\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:25:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"CURP no valido\",\n    \"codigoValidacion\": \"vc1587713155.8598726\",\n    \"codigoMensaje\": \"3\"\n}"},{"id":"7ee38968-8ffb-452f-9262-91704585141f","name":"200 - Error - Formato No Valido","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"CURP-Formato-no-valido\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/curp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:24:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"CURP con formato invalido\",\n    \"codigoValidacion\": \"vc1587713076.0470695\",\n    \"codigoMensaje\": \"2\"\n}"},{"id":"700c1ed5-7247-4044-add0-012ed2c55ff6","name":"200 - Error - RENAPO No Disponible","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"curp\": \"PEAJ890808HDFRLN12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/cpe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:25:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"RENAPO no disponible\",\n    \"codigoValidacion\": \"vc1587713155.8598726\",\n    \"codigoMensaje\": \"4\"\n}"}],"_postman_id":"69975cdb-f1df-4d4a-af78-ebbd0900357e"},{"name":"12 - Opinion de Cumplimiento","event":[{"listen":"test","script":{"id":"cbf5a58e-ae13-48ed-b716-c5950a8895bd","exec":[""],"type":"text/javascript"}}],"id":"aa400c01-3a89-4b88-9399-0ce6df2a13e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"string\",\n    \"rfc\": \"string\",\n    \"password\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/oc","description":"<h1 id=\"opinion-de-cumplimiento\">Opinion de cumplimiento</h1>\n<p>HTTPS POST method to create a new validation.<br />You will recive a Json response with the results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>gov/oc</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>string/number</td>\n<td>Helps you to identify the validation</td>\n</tr>\n<tr>\n<td><strong>rfc</strong></td>\n<td>string</td>\n<td>RFC</td>\n</tr>\n<tr>\n<td><strong>password</strong></td>\n<td>string</td>\n<td>Password</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response---body-json\">Response - Body (Json)</h2>\n<h4 id=\"successful-response-with-valid-rfc-and-password\"><strong>Successful response with valid RFC and Password</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>base64</strong></td>\n<td>File in base64</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-error-due-to-unavailability-of-sat\"><strong>Successful response with error due to unavailability of SAT</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"SAT no disponible\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"1\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"successful-response-with-lack-of-rfcs-in-the-request\"><strong>Successful response with</strong> lack of RFCs in the request</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>estatus</strong></td>\n<td>\"ERROR\"</td>\n</tr>\n<tr>\n<td><strong>mensaje</strong></td>\n<td>\"RFC con formato invalido\"</td>\n</tr>\n<tr>\n<td><strong>codigoMensaje</strong></td>\n<td>\"2\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","gov","oc"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"92c63a80-c969-4419-be1e-7b977a17dcaf","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"string\",\n    \"rfc\": \"string\",\n    \"password\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/oc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:23:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"base64\": \"string\"\n}"},{"id":"94308fb7-6511-4348-9ebe-6e34f7f73f97","name":"200 - Error - Falta De Datos","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"string\",\n    \"rfc\": \"string\",\n    \"password\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/gov/oc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 07:24:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"estatus\": \"ERROR\",\n    \"mensaje\": \"RFC formato inválido\",\n    \"codigoMensaje\": \"2\"\n}"}],"_postman_id":"aa400c01-3a89-4b88-9399-0ce6df2a13e6"}],"id":"84b0e02c-e8ff-42a4-8df3-ec05d5d7c744","_postman_id":"84b0e02c-e8ff-42a4-8df3-ec05d5d7c744","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"OCR Extraction of Receipt of Residence","item":[{"name":"01 - Analyze Receipt","event":[{"listen":"test","script":{"id":"d340aaec-102c-4f87-bcd5-bb45dfb1ffb3","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Response is a string\", function () {","            pm.expect(pm.response.text()).to.include(\"\");","            pm.collectionVariables.set(\"ocrId\", pm.response.text())","        });","    }","});"],"type":"text/javascript"}}],"id":"3c58ddac-1e11-4a3b-9085-1a6961f0c93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 504,\n\t\"image\": \"base64 image\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/ocr/analyze","description":"<h1 id=\"analyze-receipt-of-residence\">Analyze receipt of Residence</h1>\n<p>The image is sent to be processed.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>ocr/analyze</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>yes</td>\n<td>Allows you to identify the analyze</td>\n</tr>\n<tr>\n<td>image</td>\n<td>yes</td>\n<td>Base64 format image</td>\n</tr>\n<tr>\n<td>type</td>\n<td>No</td>\n<td>voucher type (CFE or Telmex)</td>\n</tr>\n</tbody>\n</table>\n</div><p>The supported image formats are:</p>\n<ul>\n<li>JPG</li>\n<li>PNG</li>\n<li>PDF (Not supported without optional parameter <strong>type</strong>)</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<p>If the status code is 200, you will receive a GUID identifier in response,<br />which will be used to obtain the results of the analysis.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>GUID Format</td>\n<td>Valid OAuth token for request authorization</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","ocr","analyze"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"11997bd6-a005-4208-b264-c0eec7aa6874","name":"200 - Ok","originalRequest":{"method":"POST","header":[{"key":"content-type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"image\": \"Base64 format image\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/ocr/analyze"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 04:43:13 GMT"}],"cookie":[],"responseTime":null,"body":"GUID Identifier"},{"id":"c1c0fc86-ae80-4301-9f70-fbccafd756a1","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"content-type","value":"multipart/form-data","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"id\": \"01\",\n    \"image\": \"Base64 format image\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/ocr/analyze"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 04:45:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"}],"_postman_id":"3c58ddac-1e11-4a3b-9085-1a6961f0c93b"},{"name":"02 - Get Results","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(`Respsonse should contains status and should be ${resp.status}`, function() {","            pm.response.to.have.jsonBody(\"status\");","            pm.expect(resp.status).to.eql(resp.status);","        });","","        pm.test(\"Respsonse should contains createdDateTime\", function() {","            pm.response.to.have.jsonBody(\"createdDateTime\");","        });","","        pm.test(\"Respsonse should contains lastUpdatedDateTime\", function() {","            pm.response.to.have.jsonBody(\"lastUpdatedDateTime\");","        });","","        pm.test(\"Respsonse should contains analyzeResult\", function() {","            pm.response.to.have.jsonBody(\"analyzeResult\");","        });","","        pm.test(\"Respsonse should contains id\", function() {","            pm.response.to.have.jsonBody(\"id\");","        });","","        pm.test(\"Respsonse should contains scanId\", function() {","            pm.response.to.have.jsonBody(\"scanId\");","            pm.expect(resp.scanId).to.eql(req.path[3]);","        });","    }","});"],"type":"text/javascript","id":"1a3f3507-2d92-4208-bf88-31a47a43d6ac"}}],"id":"e7376f76-5e15-4554-bd24-19001b610a1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/ocr/results/{{ocrId}}","description":"<p>To obtain the results of the OCR Analysis, send the request with<br />the GUID obtained in the previous request in the format <strong>/results/{{uuid}}</strong></p>\n<p>In addition to providing you with the results of the OCR analysis, we have added three more fields that will allow you to have better information about the address and about the receipt that was analyzed.</p>\n<p>The new fields are <strong>formNameModel</strong>, <strong>fullAddress</strong> and <strong>segmentedAddress</strong> (*this field is not included in the response, if you want to receive it you need to request a permission).</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON Authorization object</td>\n<td>Valid OAuth token for request authorization</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","ocr","results","{{ocrId}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"5afc1d24-1b87-4391-93f5-c70d73ff8cef","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/ocr/results/{GUID}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:10:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"succeeded\",\n    \"createdDateTime\": \"2020-04-24T05:09:51Z\",\n    \"lastUpdatedDateTime\": \"2020-04-24T05:09:55Z\",\n    \"analyzeResult\": {\n        \"version\": \"2.1.0\",\n        \"readResults\": [],\n        \"pageResults\": [],\n        \"documentResults\": [],\n        \"errors\": []\n    },\n    \"formNameModel\": \"cfe\",\n    \"fullAddress\": \"JUCHITEPEC MZ 78 LT 3^ALTAVILLA.^C.P. 55390^CANAL RURAL, MEX.\",\n    \"segmentedAddress\": {\n        \"nombreEstado\": \"ESTADO DE MÉXICO\",\n        \"nombreColonia\": \"ALTAVILLA\",\n        \"nombreMunicipio\": \"CANAL RURAL\",\n        \"nombreCalle\": \"JUCHITEPEC\",\n        \"tipoCalle\": \"\",\n        \"numeroExterior\": \"MZ 78 LT 3\",\n        \"numeroInterior\": \"\",\n        \"codigoPostal\": \"55390\"\n    }\n}"},{"id":"b071f57e-8c29-4f6f-82b2-407a5e61b926","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/ocr/results/{GUID}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:22:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"},{"id":"db9a43ae-cca3-48c0-b64b-ca464b97832a","name":"404 - Resource Not Found","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/ocr/results/No-GUID"},"status":"Resource Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"54"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 05:18:06 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 404,\n    \"message\": \"Resource not found\"\n}"}],"_postman_id":"e7376f76-5e15-4554-bd24-19001b610a1b"}],"id":"a1e3b9d3-76c6-4389-a697-2e14762f6280","description":"<p>The formats of Proof of Address that are supported:</p>\n<ul>\n<li>CFE</li>\n<li>Telmex</li>\n<li>Izzi</li>\n<li>Megacable</li>\n<li>Recibo de agua municipal Monterrey</li>\n<li>Recibo de gas Monterrey</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"c95021a5-d73b-4474-982f-63bfb44777c4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"62b2c826-9f59-41f2-a956-b47de8aba960"}}],"_postman_id":"a1e3b9d3-76c6-4389-a697-2e14762f6280","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Fingerprint Authentication","item":[{"name":"01 - Insert person","id":"4c25dd85-470c-4a93-bd97-9fa3af1b0f79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"idPersona\": 200,\n\t\"rightIndex\": \"Base64 FingerPrint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/insert","description":"<h1 id=\"insert-user-fingerprints\">Insert user fingerprints</h1>\n<h2 id=\"requests-parameters\">Requests Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>idPersona</strong></td>\n<td>Numerical identifier, which is used to identify the person who is enrolled.</td>\n</tr>\n<tr>\n<td><strong>rigthThum</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>rigthIndex</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>rigthMiddle</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>rigthRing</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>rigthLittle</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>leftThum</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>leftIndex</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>leftMiddle</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>leftRing</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n<tr>\n<td><strong>leftLittle</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","afis","insert"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"667cca61-0fa5-450f-94dd-df00afd3f49c","name":"200 - Broken Fingerprint","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"idPersona\": \"abc\",\n\t\"rightThumb\": \"7Fljq3foCmPMpfwtBZopHUj1PN9RZoNSx6Cn7axsRjYuXKOpPUxsWVeaOjcfwNOiw5P43VpsaMXrPwtHN7V6PnDyA6mxyeT6Fjs6tEIaP0rZhS82Pcv2ldiKBZDo/QrRAOsps834TRjo/A/IXKeTFe0bnUPvrTFhTqlzZ+ZdFpoLFh0Kesu09zoAK7ANgbFnqbJ3FmxSryXqfumg6tHW2ffexhdpgHke0+AdXYo60/ELQQCzyLFzUo+0Rhs0U9aL+E6HqPkaXY0NGx5H0OiHI2NH8ZovI7DznwFNlsw2aLHvvmbGLjd+Yp85deTyf4il6HkPuENV2NSxq/IOrCBsnIu9Dm+l0aYWfeKPiY8mGr2nzhGm58q0faKI8jyHxHI8z52n5ldT+hir+R+h2O4+QsdR52nR+POrTco/9H4Dk8mi75H1Hvv3z5Wx8K9jofC/M8nvijzln4DzD1GpqdH7TdIx1Iffe5jofqOpj5iz+lWjmaGjyfU3VX85d+Ns9j95Wleb+VNGgi/0PWXP1J6H9J/xdDyln8DTzPUek6FMew/Wx/Y+sD+z1gNKed/Ieo74462nv0j+Y740/wAjvcn1gJu/C/KdT3wB5yP4z4ij1gOofce+Ofpf+p6wEIO+SP0HfhP/AAe9ufWAxZ6wQQO/nKPWZ7v/oQ==\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/insert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 20:59:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"insertPersonResponse\": [\n        {\n            \"basicResponse\": [\n                {\n                    \"id\": [\n                        \"UUID\"\n                    ],\n                    \"error\": [\n                        {\n                            \"code\": [\n                                \"GENERAL_FAILURE\"\n                            ],\n                            \"message\": [\n                                \"Error al codificar las biometrías - see individual error messages\"\n                            ]\n                        }\n                    ],\n                    \"duration\": [\n                        \"15\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"},{"id":"c697b00e-6329-46e0-9b7c-910dec3d6de4","name":"200 - Duplicate key","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"idPersona\": \"IDENTIFIER\",\n\t\"rightThumb\": \"BASE64 Fingerprint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/insert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 20:57:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"insertPersonResponse\": [\n        {\n            \"basicResponse\": [\n                {\n                    \"id\": [\n                        \"UUID\"\n                    ],\n                    \"error\": [\n                        {\n                            \"code\": [\n                                \"GENERAL_FAILURE\"\n                            ],\n                            \"message\": [\n                                \"No se pudo realizar la inserción de la persona - duplicate key : 00112233 (partition 7)\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"},{"id":"dea12262-03dd-4de8-866d-8ac9dfd7c149","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"idPersona\": \"IDENTIFIER\",\n\t\"rightThumb\": \"Base64 Fingerprint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/insert"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 20:53:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"insertPersonResponse\": [\n        {\n            \"basicResponse\": [\n                {\n                    \"id\": [\n                        \"UUID\"\n                    ],\n                    \"error\": [\n                        {\n                            \"code\": [\n                                \"SUCCESS\"\n                            ]\n                        }\n                    ],\n                    \"duration\": [\n                        \"345\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"4c25dd85-470c-4a93-bd97-9fa3af1b0f79"},{"name":"02 - Match person","id":"367f5dd6-ed73-493a-bfc1-9124326ccfcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"rightThumb\": \"Base64 Fingerprint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/match","description":"<h1 id=\"match-user-fingerprints\">Match user fingerprints</h1>\n<h2 id=\"requests-parameters\">Requests Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Fingerprint to verify</strong></td>\n<td>Base64 fingerprint</td>\n</tr>\n</tbody>\n</table>\n</div><p>To verify the existence in the database of a person, through their fingerprints, just send one. <br />No matter what (rightThumb, rightIndex, rightMiddle, rightRing, rightLittle, leftThumb, leftIndex, leftMiddle, leftRing, leftLittle)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","afis","match"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"17e1df8c-6ffa-491a-b856-d133dd487a4f","name":"200 - NO HIT","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"rightThumb\": \"/6D/qAB6TklTVF9DT00gOQpQSVhfV0lEVEggMjg4ClBJWF9IRUlHSFQgMzUyClBJWF9ERVBUSCA4ClBQSSA1MDAKTE9TU1kgMQpDT0xPUlNQQUNFIEdSQVkKQ09NUFJFU1NJT04gV1NRCldTUV9CSVRSQVRFIDAuNzUwMDAw/6gAAv+kADoJBwAJMtMlzQAK4PMZmgEKQe/xmgELjidkzQAL4XmjMwAJLv9WAAEK+TPTMwEL8ochmgAKJnfaM/+lAYUCACwDrMsDz1oDrMsDz1oDrMsDz1oDrMsDz1oDvqYD5MgDvBED4a4DtaAD2fMDwcgD6IoDv4kD5dcDsHQD074DrVQDz/4Dth0D2okDqFwDyggDn6cDv5UDl2UDta0DpXEDxogDp8YDyVQDoPYDwScDpL0Dxa8DyrID8zwD1r8CGcUDt7QD3HED2NkCGgYD4OoCGv0D9FACHVED4r8CGzYD+7ACHjQDw1ID6mID3AoCGmgDygkD8nEDze0D9xwD8HMCHNsD/JMCHk8D3FICGnAD9tACHZ4DnoADvjMDqkwDzFsD0QoD+tkDxGsD67MDs1ED1y8Dw50D6rwD0tUD/QAD1BAD/noD1mwCGbsD0vcD/SkD5poCG6wD5MoCG3QD3VQCGo8D1VgCGZoD5m8CG6cD6PICG/QD+B0CHcYD5RUCG30CKFgCMGkD8gsCHQwCNPoCP5MD0zED/W8D63YCHEECIgQCKNICMIwCOkEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/ogARAP8BYAEgAk8OBD3DAAAA/6YAZwAAAAUCAwIGCQoKExEBAAAAAbKztbaxtwKwuK+5A62uuru8BAWqq6y9vsDBBgcIpaapv8PLzAkKCwwNpKfCxcoODyErLUCQl5ucnp+hoqjExsfJEBMcICIuMDU8kZOWmJqdo83I/6MAAwD5/P5fL5fL5/P5/P5/P/8Afh8/l8vn8vx68e/r8fx+f/3lS40j/b8a9vt/f7s34+fh7f3fr+2r18Pu/wCv+P8An9v3eHTy/d+z9X6/+/497+//AM/b+r/f9nu4r/7l+37f1/v7th8v7b8uS5+P4fW4uCGs4TF0hLKTjq4uXXwsRJn4cdRkZvn37qsZPXv0Duit90qbx4hu00NYSC7bRbWFA8y2GxcEx0oOtwlVbXqEczLu02KW3NtCC+IzlYXh4bcsFnr+P4enn4zgl7GuzOw1KjRRsRhDVZLSE6ELaxCGSXixRVBWLtw0gucFOrZZhYP52/sKQph+x3IFCE/WSHg01q+2RUKYM0GZhsa54JQUYbxRVs5DdvEidVKURiwU9hMEhYsW8PCyipBeFmlbiTwuEQtNu9KBTgpmnh2CG4VI7RKU01BCiTLxHe4Tg1iREIjm8RpRp1Ao+YOFQmRG+BsWHlB2ew9i4QG2iw4/Ywj+Z/kWGw/oaqsug1621kHc3AvVbsh3VIKX2OCTDpmS+CG+bmLiIYOEKVajY2ToEGi2HvFfBLTWLKwdkdVBHgsMTCUpsxhBPgU2sKnLhuqFBrRpBto2FJgwUmKBtJ1pvT0JBkEl4TMMbDN0LpXh825XDnUisNGNl8LY2qHooW8rtmr1TKuQPtSSSSSX+CX2NCp9ay1reU364FID9KbGpYVh6C4LJmNEETUXBZ6TiCUi16nd53FsNViAlIbxCw8TbBQNTSUoLTqlg2m2NCqeNJhWqwwaIzL1AUc8KqIMRuBS5uX01vqyuCnM1eunj01zMyYNwXtts+vjzJslhqqM5+npouXOFvlbv089+W16EwQzHZ0j0Y16k3a24u5+lT7Egm39LZVqIP2JRIOBx9sLjEZJYPBnsgfAm+xJUVdKwk6whILiCjYsQElPKgo6DYQKThMZcREZploRJYSFJaCTkaYy2CFl3FUwwTaPrQ0U4hlO7bsStrCTiDLdAxwiFK0iDCM6jaPBBYS0GkI7xO1NHCTLb+hf6v7ECcIP2Ns3wX0xUyCG2+3IjKTI3LeGbSsOE1aVLhTBQOGuCCBTTShxTQZNQsK4GpTQQdRolBYgTNIFBWxLQWLUIIqNLBCefDOmLdWWWHw6dNthxVvGbwzM+Hl5/h6e7i6CaZbm/LPP+qnBqYYPt9vf4irKV0yHjr4c+r1y00cHsWNk9BjVP2N8H/ivywR/XVNxtv2N5dJpYXaqShyKOHO3jyaKTBgfZBMWU3N1l8KDGocKYVIbXVrRSw3crFAibiUw5YLeQRCmhZQ1ktXy3qo0ysi7JF+E8PHQYpnWdwnBrO/kkc54pqUaso9IPHddy55SMyLrnXx+Pw8u5TfO8DF6zr+nXnrbVc++B6km3iOfS9n4a4Kw2C9aCREXYnNlAp+lCF/USUFwnso1ToHD9TctWxAxPVpBYqxnInCxHHu7JifaUYmJimyxsog2DCiI4M9yYU0EpQSxy48YmsNPlHUR6ZoNSOIJhMffn36TgQVDMQXv/wDdvLfzgSZ1x1tCfLzfj493XFmaFxfhO8K8gtHp08PLZ8uKa3/DuTx1m2tsdM33e3n4+AN6a7KWvP3/AMPiY7edV6t5s1YIXsQf5lh/YnVNBfUi1Al628ZG0l6fqet4qGzxl3webzHmoVC5wSayxebEgaCBxoimlMIMJOO65TMQItpEF1q76JJrBsKIKTDDYK1TzFW2zxdC8Nrs682S2QhbQQvYtDJhaZ1cBGixFDA6dNtYNrUqxMaLL04Eheeywk9BkiJYIKYMaphv1JiN4Yf50KX2LRWvqbTxkq7fqlp2c4vPrPKafeeePGI4RUracgsZEWHbz03zbYzsyUDTZrTLFKWN8OZG4aEEtZwnGySRNbZvpp1SQzBKyKGb1okiuO2JyzEMrB0D0/n455dej0CnwZxrr8PLy5y95SRekhy9vdtbNvKQeGOPHu7jcIKeEKGa8Pt94sPnh6SsV3fx5efjzWyDahOr+7l6b+G3sRQ1uMpflf8AnEvyMdPh59D9SS/rz8Lyp6+PNcvh7fuzzyS+wjOl0+3ad/Xam8JHWl9/2m62hS4RWr1tu+nGU4GKCvT/AIHO4b4hCY1zYnLu5sE5w08Z8vj5eFCUOYTVN18M+dbhiqDq7NPpryyQrwgxaC2+MBo0ksJhqe7wgq5SKuBoRQtjlvMGjiE8DSp2GwhDwjab4R07gVJzLfagVhwEVPof+S/IrVz63exqkm/ZB37hRDNdr3zvXMTv329CF2/fv/Lrm3Kz8fS8Pn5b9/ULjz7/AD7u+RhPy+H9NVd/D+Od+Xv8A5K6fz471y6+/j5b89yEHp8eMuvP+Hv2wwnRuvu4vb0RuZyKOnXT3bL4L3RuYjXLWe/07/L8NIONixRevDy93ftKCeFFg649bnBC0iXjKKQeNMVhyjN8FpGsNqwhaaM1piuTZTg0Tnbwr1S7HEX1WF9MgX6E7f5UkxAvUm2wY0V6kSNApXHOxVercCE53sLxBtSeFjk4CxUkV1HYTsOhYR5uMUqFHMDzJTtGra5o8Wtd252wyzO/Xi6M0PDz1Quc+PT7um5Mvw66yhnu99514dKDClbeA8/Pqj14jmkGsZnT4fzhXTu5oMMSuV68etHrkKhYQrn03UGb32Cmkk9dRxUHK8MKyNd5LvnzfqaFrKaK+lN/6LEWH9CYIbYv1vaw0W0G+24hKG4iUWEFoNrEZCWJtMm2FwgbQqUrMTTxUtqe7miIIGmgsi39ohDTVC2dzPvpZ3WHlgtCLfz9/wB/fLTDoWFKfXjy74F2c/f5cdAjO3eoGHp+nLplZJKBYoZ6V4deQfMLHKBTPl7rSDIYSoF3Pu6cdBY3yd1SSS3Lw8HuuZiSa9ZUTSbD/wBl/dJdFfSh16BLCv1zlNwz2TnOxcqDgeLqRYi76PIhSu/jt4d+F8enE6mRpLpvPHF8fTm+RIcrM+HIuc9t681g6WeiOk3n7+++pSO3xrwadCe/z59Mbz0qt0g5XXjy5Gs77J3hJPM52o1qZLEbaxUKCq5ilhoaG7YsONtiJYKxkJN4uBK8lDWt0cEsFCGA541O1MHp4w3rT+hhcF+hoP7G8N/S0kQcNLtdcyo2bEPqgYjNoZuohCHWQmEedKIKLO8jwxm7SFjSwmYFZK5iA+/z43UmJvy+HFsP4/y6Z3dZtd7zuDl7DrmCV5cvLkEGo+VJpOvT37ktPFsyBX3+mGWLBRODsMpiJNJRhwKXmYrsUeqhWDhssLBHPO+jwRvhA9baqMvtgQJlFlf3/wD/pgCHAQACAQEEBAUHCxMYERUAAACztQECAwSytgUGB7EICQqwtwsMDQ4PabgQERITFhccaq+5uxQVGBkaHR8gISMnKy2sra66vL0bHiIlJiwuLzIzNj0+P0FCQ0RFTVCpqr4kKCkqMTQ5OkBHV1mipKanwDU3ODxGSUxOUVRWWl9gYmNkqL/Bw/+jAAMB++9iMepxTW8xwKTLWOTnJhCZyXZiziENGZ+lBjM6BQsyQyZMWHekGg6UzKhghhSIYtmZDO8xGnIEIhdrHPGEjTjN1z4PT1vMs5iBPVz39Xr+ssbxV3/h/wC/3/w9XqGsQmWZ6Y/edGZXOY4t9X8fD1Yd8QodM+vpOeBoj+0YL1JMpCPFaxHkEMmM1h1Iq5wi40ZmgXENsVmzByUrAUsQjEs1mMxSOLOWKAwrMSwvDFmMYUwY1hjBjTBHfMzMWawozApEurBjih0xcfDnlhGCHUMKPyk37k5xYbMZv4YRjwIjMEDQ6EzTMzONnU6eAtlwkzMC5sQhjKRTQ3azMji2ErwKbijCvD1nTDiZcdGEJ9n17787pcnP6sfP+/8Ahz6N/UQnP/P1ev2Z9hhRMhM+HsMHh691Uy9M1zx0xn13MeHPNFc5v8/rSOOmLkz9n1704g7YOkXNL+Zh2sTsTyjTA2TYxot8pF2w70NDTdikaIlmEzCDGiMXESDo2QYDZrJhgUlmLGsTGd8wIGuGJRm2FjFwMTpTgyJbOabMdCyUMOALiMFOKMP1vaU9pZhDYjc6nBY68qxiTOzSTNOhGYjBuFGcrQQjdIWbjcc0UBmJZzTdYFxubBighAhrgjEisBgFs05i2CYoxMYKIU6c+nhZpuaJGEWP/JPtjSWHrLBTsMWFGpoXdkuQs6NyGrGnYLENghRHUsUXKaSmy0efFmw2Aw8DRORcwMO0bNn/AJnWjYscmwR2KaIUcGEbBdxMrGxTTGzHNyytMxZUCPFzGLGzs0kQp1WNdNMrYxcMlJFTZxAJnK02SOSZWiNnRbFZusC72n972njZm7se8U6mhC5yAep8RBGELuhq2bF3gxhHgMIINDCmzG6aFlsuhqCPB4Orwf6jtZvScXAZrLwYYhjEzDXDBrp03NQw4hmMabDGwTFOWzEu5pxTgWgFuTP1zAFKUhPX6/W0LDOOgpPU884dd8xmMTw+mYoHnnm4rOZuc7vTDWQo1xPD2Y6UJG64zPUlDDPgNvqMBrudCyZ16PqMzKzHEYFz9JxIth6s2XsI2dim5GGhRWKOLYYxoKcMY2GhaYxoCLCs0xuRFGs7zN2ZhmyTOLjEyxvhKJnGSAwbGWYMlgY0xY4cNmEbNb9DgFMR1MxpgpwGn9L3IEIcWZZgXHAMQwxxwMGTGI1h1cRi3AsRMjoRhMLpibuIxUy5xQRhTiY6YjAg5hZ6b5mIiYRtlpKcBujgsURzzmaUmdMV0xu4uBEcc6MDN4aYxiuhChhCGGGQuZaRWLwQrIzP/EhCPFaEeWIRKyKaFiDc1bNh4c6bEG4dA6UIkTTdsKTOGwdDoBB6bxsEcRg53UaRjQTfI4zMRmHR3io3IQrNFh0WDFyWSMEjW5YLBSYxixM4pgtDs5sQYftD4mKxYRdDRpSOq0WNTQ1bsYwCFzrI5thNHVoCEYBYKzdbkIUsLN2lpjQOhAjdosalNmFguqTLCPJoGEeT+x8R3JdHrTyNijzPlfE7I3E+06MS7yMZLvFG51ZLGg3M006GjYdjUIXP/BCD1udA4FjVdnRh01LswTG2YFsoxsEYRYFNjKlIQwXxMxjRFyDTMaZYlEY0WIFyOHgurwAgXLlBhjZsLY3emqzctk1wRmaCMNUF0XvcXkakbpwabEIbDqjCixC5DQ4lNgGzGnVabAlF33hDRstmi5YjqQ1E0IcXV2GFyPAdD+xx09kOoz9f2HTOE2MfT9nq+f1c0zs+H0/x+j1v7/r9Xrbk5uPZ9HT7P9MhGwP0O/q+f5/475rnfph3nz/4/wCX2GHDpnp9H1/4T/LEAxlgbx3/APn/AN//AH0+GSATfOd+k3/x/wBN6TLWZ0Mj/h/n9WMmIVh3iv8ADcyzpGIljw8KyWIgIuEIQI0TeEFZj1sEMRpgY6BQYzgm9J0bl8zNZjHVWinL+XPc+uZZjMNn2ezDv0559Rvqb+ueG+V6T1b3xvj17+GOlc/qzzxY+iOPVzzzzMeH1Zay4Of8cO/P2T6d8Yrd6fWfQzPP6vA5zMMY6b+zEc88ZYDfD9nM+qZ54RY4Z9fs5zp/nzmbCrN/pr2Y3mbsxMuSc6znGFSN/XMgGQCA0QImA0M0UxRuURoxi7lJlmZvCLsVznQ3PmQ7t3MOomTn9LHiiPr6UaqMSwmhMToOIQS4Mx4GawuwLWYkLNEN8hMRc3GJvh6I0RiURzR1t2F2hY2KWwRIX3Q2SilaInjzGFkYO2Y0RIaMKMUx7j8B2jHp2MHEQeJN3LnjiBExENCPPpRbObuY+zJBoWyR3wwwxxzshEy+FZiFmMSxjnnK00PQQXCaFGTA0WDAucPhkphcmMTGMMw5bZCjBFmI6GhgE0IViYLJFgWN3pCDRYyGczFHJhF/M5wdq3XZJ0mL41N0hAmSZvvvvmFKD0afp51jwhTvgCL9P08941uTHONHh9G9Mx6iHToUdOfr9bCj1Y6Ytl6er7Mwz9XzzpjCUOc0LjpjJhpmMtdM53jCxDOCGN/A3yqhRkXOJ4EyU3KyEViZLOGYcUUFEB9TG66Yd+hN+eNFd+ZmP6R8TM0cM5KAsaOHRGmxRhHLCJThxGLPA6QGOI7xmIQiFZwZIMZnd3v09XhjOmbF9/DfwL5MzDbMZjNEzzAjjCRjOiuGAhZJu9MZwK6PTOd7JYpGOVjCEbEc+FxpKAfqwwxyM4IB02N4OFPmHuyvaQpmXYgrEOoWEadFIKxNQTpnVbsx06UxsNsNYs2GNiMKMQil8mYRczBGzhcxAmQsUhGhHexGFOc5jMjxKQQrNOmHg2Lls6IwhFRu2cYSl4rY/QXepBU4CXerpmyQRbMbkLG2I6MdnBwdDCDCzfJEg0xrNMzGzneYbmcZgwjjOMmhpnpk1LsIYz0Ml2xdxqUWLYhYo13xMmpbGd+m5MbNY3J0icGMT+h+IYEOTSYTZmekcuWOuY5jN8cFmY5BsQooznNZhkCzMWytJdykJ0ssIU0sIo0QzdxTm5WTN8t2N2hLj1NMBLpRwNMQoKKNSGhjktIwOLTT+A7lw9bGCnJrMYmxXTR6O2MQjhwTOdEjlYNLZt0yWYTLdZjM5kM5xYYTEYtEGkjYiplhGii7s0uCgZjRi40dSzlItJo8nVpINDwYzDlOLEzT1MYB+g8b3HRh4lscWZMBHQhDLk0dUMBwdXU4hGIt3ROL1EDjg2eLqUUxjsWNW5RTG5HxPF1LFHEjD9T2FB2OcwxyI5s5i7EcwBhqU5xGkOAMzZW7FjAGi4UhY1NBjwGgGlOK3InEuWdiimPENXxHcUsOpoe5j+cXscMYvFWLRsQGLbeOgTLY6OpWQi8SgGKjRYicBsWAUFI2LEYUuaEbEYkW4TLTjR2YWCY4IMSgdCCrbJoNNmELkzTFo2Vw2XuH9R2ox5MbJY6izjVglIo7lkiYEmTBkoabtZctF80ZnSAaAUTJgSmZLpChg0saYUWWZpbDunBpYCUaowWim5qicCkdSxcoTYjvMZ3xg5AJD9wdjClhxazfPLMWxDQtlpzCN3VyLC5TCnGeLo55Omae57CiEOTTqdxowsRjGPjGDwe0O5acQ/dk7XJZKNSmNNOrEuNixoQsrZCzQ1gsNmiFZdTUpLuqQsbNmmOjRwC7Yjd1dhjcue42OTE7nuXQ9IE5J3xKQ/Q3aP6k2C7T+R8zsfKx1PEP5WzR8h5SzofIxsMLsaPOfzMaH2k9CcE5PA+RLJxTZORonvmrR1jdho8R+E0ewj1PulmnVo0eweCPnGhPElFDCmzBsw+J7kjsWYfaPees0PcdiNjtOBdI0WHtLF3gcCxY5NmNjxkEbCWeL1lmEYXLD1jDk6PcaPcR60oYnvEWisOxB7Wk+IuWLtntG6XPElEbZsatI2YcSjUsmqcmm54xhyO05N3iw0NRhySJG7wLHWNjqYaDwIkYcsaI6mh5TsSNCnUQoiOiUR7U7CLBSOhq2OL1ugp1CwGFMKYaHiLMbNkhR1lKahY8bwINyNETsaNnZp4HFukeJ1ELNDZ8pHQY3YcB4EI0QSgYcTgaDYdE7V1SyRHZsU6JwIlFFjkENCijxGwwYKRGDR1FnRRunkM42GyMHQ2dWOjE5PBibDCsMwx6yyMOLoQ627YUos9i0LY+0bNETQ6kutNHUeQYXwtjtdWEYcDyIUkaGjJ2lk4ETYdWmJxaIg9jYulJRHsGJYjdCLiMF4Ny5CMLMYeMiRobEYMI7HFjsRKeRoaMFopIhs2aOtSyOrZs3SiyWIp5x2O02bARhR7ZYhxOBToJYaIwGGxsXHsdXU1KaWESMOp8Z3CUjCFyMIwianwtgjc0GxGYYe4bFxoY8EiRswsR6jyjdiQjRoUNECNki8SHmLNBGhpIl2iiKD6DktFBs2GNMOojZ8bZbsLEYLdojBYdrdHxMYRo0SmFLZI+Y7HV6nFmimYYPnLJqbOmGiMaI0RInjOs8jZIUsIwieg4EWkuXNSmYiD8DY4N2N2ksLB7jYsJ2lih0RjZxMwTsdTgalPFpul2JGk997ngNJo4Yecg8GPJ60glh910Nnix2LNOH3jVhZiXdER1E+NILq2EdG6WHV+BNSJGNDZ4tn5n0gMb/6MAAwH0gXI/8H9j+te+PfM/gO+Xf0B2P3zgcHsP9R1ne6r4n/a7NPtH7X5V4PEufGdq9yvzPWeQ+Y8x5zqOT+E7nrftPoLGh9w/IHE9t1bPlfKfGcH3Cz+w1eJxPG+68HxP5jiHkdDY/E/CQ8Rqf3nwHJf5n7p5A944mrc+2fdNX33/AHGj6DTFjR9t8r1sKbOp1HnPeOL/AN37hC71voPI3P1rD8i+Nh952I9r+V2VY6Gx7T7ZxbHF/M8T+tu0WGjU9w7CnrdXgw+J7HZbKQ/IsYHU8Tqeohse4WGkp958TwYGpRGnzFB5GPaFBGn4nqLtnke8+g4Op7xqeNXVpbBT+NisbPAsur3Gq+VisWxq/iAhotn3w98sR+AuegjZstntbnY+V2YfhfOBCHlfKeYoh1tPuvmLj2HkPuFmF3+wstin9Ld9JBFnpA3Z78M9ICKnfIH9r+Q8z1Pe9n856H/q97+f9HvcX/y+kBB30gN2fAH/AKP9i+kBHl/tP3PfPvpAXl9I6jB+tp/O7P5WNKtP9YWaVp0PwHU3KV/ElkutFMW5ofKNLYwA0Q0Y/MwY8V0CNHyt25otF3R+E2ULsYBDtfvEWzYQ0SK/IXLMBbkODGEblj7bRGzAuGoN2575xaNSYOJ1HwtmzY1eo+Q1IvAAOB8pdgcGNjU1T2mzd4OoFMaDU9DRYI7NFNwNjQ4HkGjUbDRGNN0hqJTT5xOsNGLZ0KWNmz53k0wbLowGmLwLHxtFiECME5HunUWxZV7nR+MsXCz3OiWLHjOpo7j+Q0LHB6y7ydDzFHJ0eRq/deos3Cgo+B7FjZpWF2BHxJoe2XaLrFjosHyvcXeBTAKIAFNPE90h4miEfGfKw2bGgcG59tjRYuEW5q0+I85qbPFOByO08gWPzPadrqanF90IeM/pX235HqP1PUUeh9wpsR4lyjQ8r7TF8x4zgdqWLGidR5y54mEDzn3nyNP+tYgUcXznwP4X3F9p2P5R+0UfnPwp+N7249o+48ji6H9x2HjO+Vf5XrfOfCf0Ptn9Lxf+z6D43Vu+0fEe6/pPM/jbr3D9995++na/jPdP5yin9r6QYvPSAlh3xj3vo/3Hf4n+8+899498MXO/RPunYe097ue6d849z/cd8AekBVHvrDY9ICuP973wr6QOhes9IDOHpM5H/6E=\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/match"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 21:04:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"personToPersonMatchResponse\": [\n        {\n            \"basicResponse\": [\n                {\n                    \"id\": [\n                        \"UUID\"\n                    ],\n                    \"error\": [\n                        {\n                            \"code\": [\n                                \"SUCCESS\"\n                            ],\n                            \"message\": [\n                                \"NO_HIT\"\n                            ]\n                        }\n                    ],\n                    \"duration\": [\n                        \"360\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"},{"id":"91e8d48f-518e-4b63-88ae-1734709d8469","name":"200 - Broken Fingerprint","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"rightThumb\": \"Broken Fingerprint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/match"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 21:03:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Error en la consulta\"\n}"},{"id":"bc53dbf2-4e5a-4aaf-90a4-ab112a772bb9","name":"02 - Match person","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"rightThumb\": \"Base64 Fingerprint\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/afis/match"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sun, 26 Apr 2020 21:02:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"personToPersonMatchResponse\": [\n        {\n            \"basicResponse\": [\n                {\n                    \"id\": [\n                        \"UUID\"\n                    ],\n                    \"error\": [\n                        {\n                            \"code\": [\n                                \"SUCCESS\"\n                            ]\n                        }\n                    ],\n                    \"duration\": [\n                        \"186\"\n                    ]\n                }\n            ],\n            \"candidate\": [\n                {\n                    \"id\": [\n                        \"IDENTIFIER\"\n                    ],\n                    \"score\": [\n                        \"15051\"\n                    ],\n                    \"decision\": [\n                        \"HIT\"\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"367f5dd6-ed73-493a-bfc1-9124326ccfcf"}],"id":"2cf2687d-568f-4d0e-9c03-198c55de89c8","_postman_id":"2cf2687d-568f-4d0e-9c03-198c55de89c8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Credit","item":[{"name":"rccficoscore","event":[{"listen":"test","script":{"id":"6c61abec-67de-49c7-a175-3eb25d15876e","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        if(!resp.error.errores) {","            pm.test(`Error should be ${resp.error}`, function () {","                pm.expect(resp.error).to.eql('id field is missing');","            });","        } else {","            pm.test('Error should has an array of errores', function () {","                pm.expect(resp.error.errores[0].codigo).to.be.oneOf(['400.1', '400.2']);","            });","        }","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if(pm.response.code === 403) {","        pm.response.to.have.status(403);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    }else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains folioConsulta\", function() {","            pm.response.to.have.jsonBody(\"folioConsulta\");","            pm.collectionVariables.set(\"folioConsulta\", resp.folioConsulta);","        });","","        pm.test(\"Respsonse should contains folioConsultaOtorgante\", function() {","            pm.response.to.have.jsonBody(\"folioConsultaOtorgante\");","        });","","        pm.test(\"Respsonse should contains claveOtorgante\", function() {","            pm.response.to.have.jsonBody(\"claveOtorgante\");","        });","","        pm.test(\"Respsonse should contains declaracionesConsumidor\", function() {","            pm.response.to.have.jsonBody(\"declaracionesConsumidor\");","        });","","        pm.test(\"Respsonse should contains persona\", function() {","            pm.response.to.have.jsonBody(\"persona\");","        });","","        pm.test(\"Respsonse should contains consultas\", function() {","            pm.response.to.have.jsonBody(\"consultas\");","        });","","        pm.test(\"Respsonse should contains creditos\", function() {","            pm.response.to.have.jsonBody(\"creditos\");","        });","","        pm.test(\"Respsonse should contains domicilios\", function() {","            pm.response.to.have.jsonBody(\"domicilios\");","        });","","        pm.test(\"Respsonse should contains empleos\", function() {","            pm.response.to.have.jsonBody(\"empleos\");","        });","","        pm.test(\"Respsonse should contains scores\", function() {","            pm.response.to.have.jsonBody(\"scores\");","        });","","        pm.test(\"Respsonse should contains mensajes\", function() {","            pm.response.to.have.jsonBody(\"mensajes\");","        });","    }","});"],"type":"text/javascript"}}],"id":"866c496f-6ea5-4912-82e0-24525574f906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"alphanumeric\",\n    \"apellidoPaterno\": \"SESENTAYDOS\",\n    \"apellidoMaterno\": \"PRUEBA\",\n    \"primerNombre\": \"JUAN\",\n    \"fechaNacimiento\": \"1965-08-09\",\n    \"RFC\": \"SEPJ600800LZ1\",\n    \"nacionalidad\": \"MX\",\n    \"domicilio\": {\n        \"direccion\": \"PASADISO ENCONTRADO 58\",\n        \"coloniaPoblacion\": \"MONTEVIDEO\",\n        \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n        \"ciudad\": \"CIUDAD DE MÉXICO\",\n        \"estado\": \"CDMX\",\n        \"CP\": \"07730\"\n        }\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/credit/rccficoscore","description":"<h2 id=\"credit-report\">Credit Report</h2>\n<p>HTTPS POST method to obtain the credit report. You will receive a full credit report.  </p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id<strong>*</strong></td>\n<td>int</td>\n<td>10</td>\n</tr>\n<tr>\n<td>apellidoPaterno<strong>*</strong></td>\n<td>string</td>\n<td>SAHAGUN</td>\n</tr>\n<tr>\n<td>apellidoMaterno<strong>*</strong></td>\n<td>string</td>\n<td>ZARAGOZA</td>\n</tr>\n<tr>\n<td>apellidoAdicional</td>\n<td>string</td>\n<td>TORRES</td>\n</tr>\n<tr>\n<td>primerNombre<strong>*</strong></td>\n<td>string</td>\n<td>ROBERTO</td>\n</tr>\n<tr>\n<td>segundoNombre</td>\n<td>string</td>\n<td>MIGUEL</td>\n</tr>\n<tr>\n<td>fechaNacimiento<strong>*</strong></td>\n<td>string ($yyyy-MM-dd)</td>\n<td>2001-01-01</td>\n</tr>\n<tr>\n<td>RFC<strong>*</strong></td>\n<td>string</td>\n<td>SAZR010101</td>\n</tr>\n<tr>\n<td>CURP</td>\n<td>string</td>\n<td>SAZR010101HCMLNS09</td>\n</tr>\n<tr>\n<td>nacionalidad<strong>*</strong></td>\n<td><strong>CatalogoNacionalidad</strong> string</td>\n<td>MX</td>\n</tr>\n<tr>\n<td>residencia</td>\n<td><strong>CatalogoResidencia</strong> integer</td>\n<td>3</td>\n</tr>\n<tr>\n<td>estadoCivil</td>\n<td><strong>CatalogoEstadoCivil</strong> string</td>\n<td>S</td>\n</tr>\n<tr>\n<td>sexo</td>\n<td><strong>CatalogoSexo</strong> string</td>\n<td>F</td>\n</tr>\n<tr>\n<td>claveElectorIFE</td>\n<td>string</td>\n<td>000000000000</td>\n</tr>\n<tr>\n<td>numeroDependientes</td>\n<td>integer ($int32)</td>\n<td>4</td>\n</tr>\n<tr>\n<td>fechaDefuncion</td>\n<td>string ($yyyy-MM-dd)</td>\n<td>9999-01-01</td>\n</tr>\n<tr>\n<td>domicilio<strong>*</strong></td>\n<td>object</td>\n<td>{ <strong>objectDomicilio</strong> }</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"objectdomicilio\">objectDomicilio</h2>\n<p>Datos del domicilio de la persona a consultar</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dirección<strong>*</strong></td>\n<td>int</td>\n<td>HIDALGO 32</td>\n</tr>\n<tr>\n<td>coloniaPoblacion<strong>*</strong></td>\n<td>string</td>\n<td>CENTRO</td>\n</tr>\n<tr>\n<td>delegacionMunicipio<strong>*</strong></td>\n<td>string</td>\n<td>LA BARCA</td>\n</tr>\n<tr>\n<td>ciudad<strong>*</strong></td>\n<td>string</td>\n<td>BENITO JUAREZ</td>\n</tr>\n<tr>\n<td>estado<strong>*</strong></td>\n<td><strong>CatalogoEstados</strong> string</td>\n<td>JAL</td>\n</tr>\n<tr>\n<td>CP<strong>*</strong></td>\n<td>string</td>\n<td>47917</td>\n</tr>\n<tr>\n<td>fechaResidencia</td>\n<td>string ($yyyy-MM-dd)</td>\n<td>2018-12-21</td>\n</tr>\n<tr>\n<td>numeroTelefono</td>\n<td>string</td>\n<td>5512345678</td>\n</tr>\n<tr>\n<td>tipoDomicilio</td>\n<td><strong>CatalogoTipoDomicilio</strong> string</td>\n<td>C</td>\n</tr>\n<tr>\n<td>tipoAsentamiento</td>\n<td><strong>CatalogoTipoAsentamiento</strong> integer</td>\n<td>3</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogonacionalidad\">CatalogoNacionalidad</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>País</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AD</td>\n<td>Andorra</td>\n</tr>\n<tr>\n<td>AF</td>\n<td>Afganistán</td>\n</tr>\n<tr>\n<td>AG</td>\n<td>Antigua y Barbado</td>\n</tr>\n<tr>\n<td>AI</td>\n<td>Anguila</td>\n</tr>\n<tr>\n<td>AN</td>\n<td>Albania</td>\n</tr>\n<tr>\n<td>AO</td>\n<td>Angola</td>\n</tr>\n<tr>\n<td>AS</td>\n<td>Ascención</td>\n</tr>\n<tr>\n<td>AT</td>\n<td>Argentina</td>\n</tr>\n<tr>\n<td>AU</td>\n<td>Australia</td>\n</tr>\n<tr>\n<td>AW</td>\n<td>Arabía</td>\n</tr>\n<tr>\n<td>BB</td>\n<td>Barbados</td>\n</tr>\n<tr>\n<td>BD</td>\n<td>Bangladesh</td>\n</tr>\n<tr>\n<td>BE</td>\n<td>Bélgica</td>\n</tr>\n<tr>\n<td>BF</td>\n<td>Burkina</td>\n</tr>\n<tr>\n<td>BG</td>\n<td>Bulgaria</td>\n</tr>\n<tr>\n<td>BH</td>\n<td>Bahrein</td>\n</tr>\n<tr>\n<td>BI</td>\n<td>Burundi</td>\n</tr>\n<tr>\n<td>BJ</td>\n<td>Benin</td>\n</tr>\n<tr>\n<td>BK</td>\n<td>Birmania</td>\n</tr>\n<tr>\n<td>BM</td>\n<td>Bután</td>\n</tr>\n<tr>\n<td>CB</td>\n<td>Colombia</td>\n</tr>\n<tr>\n<td>CC</td>\n<td>Córcega</td>\n</tr>\n<tr>\n<td>CD</td>\n<td>Chad</td>\n</tr>\n<tr>\n<td>CF</td>\n<td>Rep. Central Africana</td>\n</tr>\n<tr>\n<td>CG</td>\n<td>Congo</td>\n</tr>\n<tr>\n<td>CH</td>\n<td>Liechtenstein</td>\n</tr>\n<tr>\n<td>CI</td>\n<td>Islas Caimán</td>\n</tr>\n<tr>\n<td>CJ</td>\n<td>Comoros</td>\n</tr>\n<tr>\n<td>CL</td>\n<td>Chile</td>\n</tr>\n<tr>\n<td>CM</td>\n<td>Camerún</td>\n</tr>\n<tr>\n<td>MX</td>\n<td>México</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogoresidencia\">CatalogoResidencia</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Propietario</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Renta</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Vive con familiares</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Vivienda Hipotecada</td>\n</tr>\n<tr>\n<td>5</td>\n<td>No Disponible</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogoestadocivil\">CatalogoEstadoCivil</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>D</td>\n<td>Divorciado</td>\n</tr>\n<tr>\n<td>L</td>\n<td>Unión Libre</td>\n</tr>\n<tr>\n<td>C</td>\n<td>Casado</td>\n</tr>\n<tr>\n<td>S</td>\n<td>Soltero</td>\n</tr>\n<tr>\n<td>V</td>\n<td>Viudo</td>\n</tr>\n<tr>\n<td>E</td>\n<td>Separado</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogosexo\">CatalogoSexo</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>F</td>\n<td>Femenino</td>\n</tr>\n<tr>\n<td>M</td>\n<td>Masculino</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogotipodomicilio\">CatalogoTipoDomicilio</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>Descripción</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>N</td>\n<td>Negocio</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Domicilio del otorgante</td>\n</tr>\n<tr>\n<td>C</td>\n<td>Casa</td>\n</tr>\n<tr>\n<td>P</td>\n<td>Apartado Postal</td>\n</tr>\n<tr>\n<td>E</td>\n<td>Empleo</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"catalogotipoasentamiento\">CatalogoTipoAsentamiento</h2>\n<p>Descripciones para los valores enviados en este campo</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Clave</th>\n<th>País</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>Pendiente por actualizar</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Aeropuerto</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Barrio</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Base Naval</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Campamento</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Centro</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Centro Urbano</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Colonia</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Condominio</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Congregacion</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Conjunto Habitacional</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Conjunto Habitacional Residencial</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Conjunto Habitacional Urbano</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Conjunto Popular</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Conjunto Residencial</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Conjunto Urbano</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Conjunto Urbano Popular</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Ejido</td>\n</tr>\n<tr>\n<td>18</td>\n<td>Escuela</td>\n</tr>\n<tr>\n<td>19</td>\n<td>Estación de Radio</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Ex-Hacienda</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Ex-Rancho</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Fábrica</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Finca</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Fraccionamiento</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Fraccionamiento Industrial</td>\n</tr>\n<tr>\n<td>26</td>\n<td>Fraccionamiento Residencial</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Granja</td>\n</tr>\n<tr>\n<td>28</td>\n<td>Hacienda</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Ingenio</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Junta Auxilia</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>Full report resource</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","rccficoscore"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"d5824882-5068-4658-ab2e-86228bfc51e0","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\"id\": 10,\n\"apellidoPaterno\": \"SESENTAYDOS\",\n\"apellidoMaterno\": \"PRUEBA\",\n\"primerNombre\": \"JUAN\",\n\"fechaNacimiento\": \"1965-08-09\",\n\"RFC\": \"SEPJ650809JG1\",\n\"nacionalidad\": \"MX\",\n\"domicilio\": {\n    \"direccion\": \"PASADISO ENCONTRADO 58\",\n    \"coloniaPoblacion\": \"MONTEVIDEO\",\n    \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n    \"ciudad\": \"CIUDAD DE MÉXICO\",\n    \"estado\": \"CDMX\",\n    \"CP\": \"07730\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/credit/rccficoscore"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"2460"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=3654d8a8003eaa4c0478d66b711732689ca86eb9616c6842390a46467be9cfed;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 06 Oct 2020 16:14:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"folioConsulta\": \"19698610\",\n    \"folioConsultaOtorgante\": \"1\",\n    \"claveOtorgante\": \"0000081008\",\n    \"declaracionesConsumidor\": null,\n    \"persona\": {\n        \"apellidoPaterno\": \"SESENTAYDOS\",\n        \"apellidoMaterno\": \"PRUEBA\",\n        \"nombres\": \"JUAN\",\n        \"fechaNacimiento\": \"1965-08-09\",\n        \"RFC\": \"SEPJ650809JG1\",\n        \"nacionalidad\": \"MX\",\n        \"residencia\": \"5\",\n        \"estadoCivil\": \"C\",\n        \"sexo\": \"M\",\n        \"numeroDependientes\": \"0\"\n    },\n    \"consultas\": [\n        {\n            \"fechaConsulta\": \"2020-06-10\",\n            \"nombreOtorgante\": \"REPORTE DE CREDITO ESPECIAL\",\n            \"telefonoOtorgante\": \"51662455\",\n            \"tipoCredito\": \"M\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"importeCredito\": \"1\"\n        },\n        {\n            \"fechaConsulta\": \"2018-08-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-06-13\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-06-01\",\n            \"nombreOtorgante\": \"FIANZAS / BC\",\n            \"tipoCredito\": \"FI\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-05-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-03-14\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-02-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-11-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-09-15\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-08-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-05-25\",\n            \"nombreOtorgante\": \"FIANZAS / BC\",\n            \"tipoCredito\": \"FI\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-05-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-03-08\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"TC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-02-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        }\n    ],\n    \"creditos\": [\n        {\n            \"fechaActualizacion\": \"2020-05-31\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"REPORTE DE CREDITO ESPECIAL\",\n            \"cuentaActual\": \"1234567890135\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"F\",\n            \"tipoCredito\": \"CC\",\n            \"claveUnidadMonetaria\": \"UD\",\n            \"valorActivoValuacion\": \"1098\",\n            \"numeroPagos\": \"40\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"20\",\n            \"fechaAperturaCuenta\": \"2017-01-28\",\n            \"fechaUltimoPago\": \"2020-04-21\",\n            \"fechaUltimaCompra\": \"2020-04-03\",\n            \"fechaReporte\": \"2020-05-31\",\n            \"creditoMaximo\": \"160000\",\n            \"saldoActual\": \"100\",\n            \"limiteCredito\": \"200000\",\n            \"saldoVencido\": \"70\",\n            \"numeroPagosVencidos\": \"4\",\n            \"pagoActual\": \"02\",\n            \"historicoPagos\": \"0201 V V V V V V V V V V V V V0201 V V\",\n            \"totalPagosReportados\": \"0\",\n            \"peorAtraso\": \"2\",\n            \"fechaPeorAtraso\": \"2020-05-31\",\n            \"saldoVencidoPeorAtraso\": \"70\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-14\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"1925\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2018-08-13\",\n            \"fechaUltimaCompra\": \"2018-08-26\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"20353\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\",\n            \"CAN\": {\n                \"identificadorCAN\": \"01\",\n                \"prelacionOrigen\": \"1\",\n                \"prelacionActual\": \"1\",\n                \"fechaAperturaCAN\": \"2019-12-01\",\n                \"fechaCancelacionCAN\": \"2019-12-01\",\n                \"historicoCAN\": \"2\",\n                \"fechaMACAN\": \"2019-12-01\"\n            }\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-13\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2010-12-21\",\n            \"fechaUltimoPago\": \"2018-08-23\",\n            \"fechaUltimaCompra\": \"2018-08-28\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"124551\",\n            \"saldoActual\": \"37456\",\n            \"limiteCredito\": \"172500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-07\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"LC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2004-06-07\",\n            \"fechaUltimoPago\": \"2018-06-21\",\n            \"fechaUltimaCompra\": \"2015-08-14\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"252703\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"250000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V---------- V V V V V01 V V V V V V V V V V\",\n            \"clavePrevencion\": \"IA\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2017-09-06\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2017-08-10\",\n            \"fechaUltimaCompra\": \"2017-08-28\",\n            \"fechaCierreCuenta\": \"2017-08-31\",\n            \"fechaReporte\": \"2017-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"--\",\n            \"clavePrevencion\": \"LS\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2017-09-06\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2017-08-10\",\n            \"fechaUltimaCompra\": \"2017-08-28\",\n            \"fechaCierreCuenta\": \"2017-08-31\",\n            \"fechaReporte\": \"2017-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V V V02 V V V V V V V V V\",\n            \"clavePrevencion\": \"CC\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-08-28\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2010-12-21\",\n            \"fechaUltimoPago\": \"2017-07-25\",\n            \"fechaUltimaCompra\": \"2017-07-28\",\n            \"fechaCierreCuenta\": \"2017-08-01\",\n            \"fechaReporte\": \"2017-07-31\",\n            \"creditoMaximo\": \"124551\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"172500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V---- V V V04 V V V V V V V V V V V\",\n            \"clavePrevencion\": \"CA\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2015-06-01\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"H\",\n            \"tipoCredito\": \"BR\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"numeroPagos\": \"120\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2006-06-16\",\n            \"fechaUltimoPago\": \"2015-05-27\",\n            \"fechaCierreCuenta\": \"2015-05-27\",\n            \"fechaReporte\": \"2015-05-31\",\n            \"creditoMaximo\": \"1538820\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"1538820\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V13 V V V V V V V V V V V V V V V V V\",\n            \"clavePrevencion\": \"CC\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2014-10-28\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"TIENDA COMERCIAL / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"LC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2001-11-28\",\n            \"fechaUltimoPago\": \"2011-08-17\",\n            \"fechaUltimaCompra\": \"2010-06-05\",\n            \"fechaCierreCuenta\": \"2014-10-06\",\n            \"fechaReporte\": \"2014-10-08\",\n            \"creditoMaximo\": \"37500\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"37500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"--\",\n            \"historicoPagos\": \"------------ V V V------ V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        }\n    ],\n    \"domicilios\": [\n        {\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MÉXICO\",\n            \"estado\": \"DF\",\n            \"CP\": \"07730\",\n            \"fechaResidencia\": \"2020-06-10\",\n            \"fechaRegistroDomicilio\": \"2020-06-10\"\n        },\n        {\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MXICO\",\n            \"estado\": \"CDMX\",\n            \"CP\": \"07730\",\n            \"fechaResidencia\": \"2020-06-02\",\n            \"numeroTelefono\": \"55664420\",\n            \"tipoDomicilio\": \"C\",\n            \"tipoAsentamiento\": \"0\",\n            \"fechaRegistroDomicilio\": \"2020-06-02\"\n        }\n    ],\n    \"empleos\": [\n        {\n            \"nombreEmpresa\": \"EMPRESA EJEMPLO\",\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MXICO\",\n            \"estado\": \"CDMX\",\n            \"CP\": \"07730\",\n            \"numeroTelefono\": \"54783257\",\n            \"extension\": \"1110\",\n            \"fax\": \"54146531\",\n            \"puesto\": \"AUXILIAR ADMINISTRATIVO\",\n            \"fechaContratacion\": \"2000-02-02\",\n            \"claveMoneda\": \"UD\",\n            \"salarioMensual\": \"6499\",\n            \"fechaUltimoDiaEmpleo\": \"2020-06-02\",\n            \"fechaVerificacionEmpleo\": \"2000-05-10\"\n        }\n    ],\n    \"scores\": [\n        {\n            \"nombreScore\": \"FICO\",\n            \"valor\": 720,\n            \"razones\": [\n                \"D2\",\n                \"P9\",\n                \"K0\",\n                \"E0\"\n            ]\n        }\n    ],\n    \"mensajes\": [\n        {\n            \"tipoMensaje\": 2,\n            \"leyenda\": \"Respuesta exitosa de otras SIC´s\"\n        }\n    ]\n}"}],"_postman_id":"866c496f-6ea5-4912-82e0-24525574f906"},{"name":"creditos","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains creditos\", function() {","            pm.response.to.have.jsonBody(\"creditos\");","        });     ","    }","});"],"type":"text/javascript","id":"ad9de2f2-0cc5-4b35-9cf3-c1804120a2f6"}}],"id":"096c8a83-5e0f-4f60-b07c-0dc4b5b5b1f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/creditos/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/creditos</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","creditos","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"16dabdbd-16a7-469b-a850-700e5e985d6f","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/creditos/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"1449"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=81613203932f709f274c9c54e2fa421a7667b24d42158a388871f167cdabf073;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinity=3654d8a8003eaa4c0478d66b711732689ca86eb9616c6842390a46467be9cfed;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Date","value":"Tue, 06 Oct 2020 16:08:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"creditos\": [\n        {\n            \"fechaActualizacion\": \"2020-05-31\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"REPORTE DE CREDITO ESPECIAL\",\n            \"cuentaActual\": \"1234567890135\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"F\",\n            \"tipoCredito\": \"CC\",\n            \"claveUnidadMonetaria\": \"UD\",\n            \"valorActivoValuacion\": \"1098\",\n            \"numeroPagos\": \"40\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"20\",\n            \"fechaAperturaCuenta\": \"2017-01-28\",\n            \"fechaUltimoPago\": \"2020-04-21\",\n            \"fechaUltimaCompra\": \"2020-04-03\",\n            \"fechaReporte\": \"2020-05-31\",\n            \"creditoMaximo\": \"160000\",\n            \"saldoActual\": \"100\",\n            \"limiteCredito\": \"200000\",\n            \"saldoVencido\": \"70\",\n            \"numeroPagosVencidos\": \"4\",\n            \"pagoActual\": \"02\",\n            \"historicoPagos\": \"0201 V V V V V V V V V V V V V0201 V V\",\n            \"totalPagosReportados\": \"0\",\n            \"peorAtraso\": \"2\",\n            \"fechaPeorAtraso\": \"2020-05-31\",\n            \"saldoVencidoPeorAtraso\": \"70\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-14\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"1925\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2018-08-13\",\n            \"fechaUltimaCompra\": \"2018-08-26\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"20353\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\",\n            \"CAN\": {\n                \"identificadorCAN\": \"01\",\n                \"prelacionOrigen\": \"1\",\n                \"prelacionActual\": \"1\",\n                \"fechaAperturaCAN\": \"2019-12-01\",\n                \"fechaCancelacionCAN\": \"2019-12-01\",\n                \"historicoCAN\": \"2\",\n                \"fechaMACAN\": \"2019-12-01\"\n            }\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-13\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2010-12-21\",\n            \"fechaUltimoPago\": \"2018-08-23\",\n            \"fechaUltimaCompra\": \"2018-08-28\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"124551\",\n            \"saldoActual\": \"37456\",\n            \"limiteCredito\": \"172500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-09-07\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"LC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2004-06-07\",\n            \"fechaUltimoPago\": \"2018-06-21\",\n            \"fechaUltimaCompra\": \"2015-08-14\",\n            \"fechaReporte\": \"2018-08-31\",\n            \"creditoMaximo\": \"252703\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"250000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V---------- V V V V V01 V V V V V V V V V V\",\n            \"clavePrevencion\": \"IA\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2017-09-06\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2017-08-10\",\n            \"fechaUltimaCompra\": \"2017-08-28\",\n            \"fechaCierreCuenta\": \"2017-08-31\",\n            \"fechaReporte\": \"2017-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"--\",\n            \"clavePrevencion\": \"LS\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2017-09-06\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"1998-08-25\",\n            \"fechaUltimoPago\": \"2017-08-10\",\n            \"fechaUltimaCompra\": \"2017-08-28\",\n            \"fechaCierreCuenta\": \"2017-08-31\",\n            \"fechaReporte\": \"2017-08-31\",\n            \"creditoMaximo\": \"118648\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"154000\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V V V V V V V V02 V V V V V V V V V\",\n            \"clavePrevencion\": \"CC\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2018-08-28\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"TC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2010-12-21\",\n            \"fechaUltimoPago\": \"2017-07-25\",\n            \"fechaUltimaCompra\": \"2017-07-28\",\n            \"fechaCierreCuenta\": \"2017-08-01\",\n            \"fechaReporte\": \"2017-07-31\",\n            \"creditoMaximo\": \"124551\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"172500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V V---- V V V04 V V V V V V V V V V V\",\n            \"clavePrevencion\": \"CA\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2015-06-01\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"H\",\n            \"tipoCredito\": \"BR\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"numeroPagos\": \"120\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2006-06-16\",\n            \"fechaUltimoPago\": \"2015-05-27\",\n            \"fechaCierreCuenta\": \"2015-05-27\",\n            \"fechaReporte\": \"2015-05-31\",\n            \"creditoMaximo\": \"1538820\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"1538820\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"1\",\n            \"pagoActual\": \"V\",\n            \"historicoPagos\": \"V V V V V V V13 V V V V V V V V V V V V V V V V V\",\n            \"clavePrevencion\": \"CC\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        },\n        {\n            \"fechaActualizacion\": \"2014-10-28\",\n            \"registroImpugnado\": \"0\",\n            \"nombreOtorgante\": \"TIENDA COMERCIAL / BC\",\n            \"tipoResponsabilidad\": \"I\",\n            \"tipoCuenta\": \"R\",\n            \"tipoCredito\": \"LC\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"frecuenciaPagos\": \"M\",\n            \"montoPagar\": \"0\",\n            \"fechaAperturaCuenta\": \"2001-11-28\",\n            \"fechaUltimoPago\": \"2011-08-17\",\n            \"fechaUltimaCompra\": \"2010-06-05\",\n            \"fechaCierreCuenta\": \"2014-10-06\",\n            \"fechaReporte\": \"2014-10-08\",\n            \"creditoMaximo\": \"37500\",\n            \"saldoActual\": \"0\",\n            \"limiteCredito\": \"37500\",\n            \"saldoVencido\": \"0\",\n            \"numeroPagosVencidos\": \"0\",\n            \"pagoActual\": \"--\",\n            \"historicoPagos\": \"------------ V V V------ V V V V V V V V V V V V V\",\n            \"saldoVencidoPeorAtraso\": \"0\"\n        }\n    ]\n}"}],"_postman_id":"096c8a83-5e0f-4f60-b07c-0dc4b5b5b1f4"},{"name":"domicilios","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains domicilios\", function() {","            pm.response.to.have.jsonBody(\"domicilios\");","        });     ","    }","});"],"type":"text/javascript","id":"efd7b850-70db-4839-9f21-c9d27e101d29"}}],"id":"f861f631-5f30-4f37-908f-db86365eee72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/domicilios/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/domicilios</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","domicilios","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"db844910-ada6-4fd2-9f30-a907c2442573","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/domicilios/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"405"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=81613203932f709f274c9c54e2fa421a7667b24d42158a388871f167cdabf073;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 06 Oct 2020 16:14:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"domicilios\": [\n        {\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MÉXICO\",\n            \"estado\": \"DF\",\n            \"CP\": \"07730\",\n            \"fechaResidencia\": \"2020-06-10\",\n            \"fechaRegistroDomicilio\": \"2020-06-10\"\n        },\n        {\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MXICO\",\n            \"estado\": \"CDMX\",\n            \"CP\": \"07730\",\n            \"fechaResidencia\": \"2020-06-02\",\n            \"numeroTelefono\": \"55664420\",\n            \"tipoDomicilio\": \"C\",\n            \"tipoAsentamiento\": \"0\",\n            \"fechaRegistroDomicilio\": \"2020-06-02\"\n        }\n    ]\n}"}],"_postman_id":"f861f631-5f30-4f37-908f-db86365eee72"},{"name":"empleos","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains empleos\", function() {","            pm.response.to.have.jsonBody(\"empleos\");","        });     ","    }","});"],"type":"text/javascript","id":"55cc8bd6-6dc8-41fc-b905-1697ed800858"}}],"id":"c69267f6-5ba1-411f-815e-f6cf04e66114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/empleos/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/empleos</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","empleos","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"25704cd9-7c9d-4b76-8b26-22b33c6be940","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/empleos/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"501"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=94928db3da2b2dedabf6eb7c513a958c23b4355c0c9608f64676f450cccc2a4e;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Date","value":"Tue, 06 Oct 2020 17:03:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"empleos\": [\n        {\n            \"nombreEmpresa\": \"EMPRESA EJEMPLO\",\n            \"direccion\": \"PASADISO ENCONTRADO 58\",\n            \"coloniaPoblacion\": \"MONTEVIDEO\",\n            \"delegacionMunicipio\": \"GUSTAVO A MADERO\",\n            \"ciudad\": \"CIUDAD DE MXICO\",\n            \"estado\": \"CDMX\",\n            \"CP\": \"07730\",\n            \"numeroTelefono\": \"54783257\",\n            \"extension\": \"1110\",\n            \"fax\": \"54146531\",\n            \"puesto\": \"AUXILIAR ADMINISTRATIVO\",\n            \"fechaContratacion\": \"2000-02-02\",\n            \"claveMoneda\": \"UD\",\n            \"salarioMensual\": \"6499\",\n            \"fechaUltimoDiaEmpleo\": \"2020-06-02\",\n            \"fechaVerificacionEmpleo\": \"2000-05-10\"\n        }\n    ]\n}"}],"_postman_id":"c69267f6-5ba1-411f-815e-f6cf04e66114"},{"name":"consultas","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains consultas\", function() {","            pm.response.to.have.jsonBody(\"consultas\");","        });     ","    }","});"],"type":"text/javascript","id":"fe1f278b-49db-4ca5-bfbc-fc2e9f542359"}}],"id":"829083b2-ead7-4ed9-a463-add637774dfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/consultas/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/consultas</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","consultas","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"0a1526c0-3a33-4422-8eff-317cc821c738","name":"200 Ok","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/consultas/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"484"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=3654d8a8003eaa4c0478d66b711732689ca86eb9616c6842390a46467be9cfed;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 06 Oct 2020 17:04:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"consultas\": [\n        {\n            \"fechaConsulta\": \"2020-06-10\",\n            \"nombreOtorgante\": \"REPORTE DE CREDITO ESPECIAL\",\n            \"telefonoOtorgante\": \"51662455\",\n            \"tipoCredito\": \"M\",\n            \"claveUnidadMonetaria\": \"MX\",\n            \"importeCredito\": \"1\"\n        },\n        {\n            \"fechaConsulta\": \"2018-08-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-06-13\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-06-01\",\n            \"nombreOtorgante\": \"FIANZAS / BC\",\n            \"tipoCredito\": \"FI\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-05-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-03-14\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2018-02-24\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-11-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-09-15\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-08-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-05-25\",\n            \"nombreOtorgante\": \"FIANZAS / BC\",\n            \"tipoCredito\": \"FI\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-05-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-03-08\",\n            \"nombreOtorgante\": \"BANCO / BC\",\n            \"tipoCredito\": \"TC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        },\n        {\n            \"fechaConsulta\": \"2017-02-23\",\n            \"nombreOtorgante\": \"CONSUMIDOR FINAL / BC\",\n            \"tipoCredito\": \"NC\",\n            \"importeCredito\": \"0\",\n            \"tipoResponsabilidad\": \"I\"\n        }\n    ]\n}"}],"_postman_id":"829083b2-ead7-4ed9-a463-add637774dfa"},{"name":"scores","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains scores\", function() {","            pm.response.to.have.jsonBody(\"scores\");","        });     ","    }","});"],"type":"text/javascript","id":"7e46984a-ba92-411f-8f31-8d8e4dda2d11"}}],"id":"447132db-db73-4d59-b570-c2cc6765c5d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/scores/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/scores</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","scores","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"2e52d551-7068-44d7-a823-cd5eaf757786","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/scores/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"211"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=94928db3da2b2dedabf6eb7c513a958c23b4355c0c9608f64676f450cccc2a4e;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 06 Oct 2020 17:05:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"scores\": [\n        {\n            \"nombreScore\": \"FICO\",\n            \"valor\": 720,\n            \"razones\": [\n                \"D2\",\n                \"P9\",\n                \"K0\",\n                \"E0\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"447132db-db73-4d59-b570-c2cc6765c5d1"},{"name":"mensajes","event":[{"listen":"test","script":{"exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains mensajes\", function() {","            pm.response.to.have.jsonBody(\"mensajes\");","        });     ","    }","});"],"type":"text/javascript","id":"e30cf171-721c-4501-80ae-907230ef005c"}}],"id":"652455ed-953b-4650-8cdc-414891ec139e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/mensajes/{{folioConsulta}}","description":"<p>To obtain the results of <strong>/mensajes</strong> endpoint, replace the path param <strong>{folioConsulta}</strong> with your own folio that you got in <strong>/rccficoscore</strong> endpoint</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON object</td>\n<td>Resource</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unauthorized</td>\n</tr>\n<tr>\n<td><strong>404</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Resource Not Found</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","name":"Credit","type":"folder"}},"urlObject":{"protocol":"https","path":["api","credit","mensajes","{{folioConsulta}}"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"8ab8527b-74b3-4492-9296-7cd8bbe5b19b","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/credit/mensajes/{folioConsulta}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"206"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=3654d8a8003eaa4c0478d66b711732689ca86eb9616c6842390a46467be9cfed;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 06 Oct 2020 17:06:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"mensajes\": [\n        {\n            \"tipoMensaje\": 2,\n            \"leyenda\": \"Respuesta exitosa de otras SIC´s\"\n        }\n    ]\n}"}],"_postman_id":"652455ed-953b-4650-8cdc-414891ec139e"}],"id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"57881418-4452-4543-a1f7-f4fcc4da6060"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b63e7bb4-1856-4a73-9340-c5a4e7c764b6"}}],"_postman_id":"ff20938b-2e89-4a51-b46c-d0b26db29e0b","description":""},{"name":"Sign","item":[{"name":"Webhooks","item":[{"name":"Add Webhook","id":"b85aa61f-888d-45da-bcb6-1e852673c6b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhookURL.example\",\n    \"type\": \"completedDocument\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/webhook","description":"<h2 id=\"create-sign-webhook\">Create sign webhook</h2>\n<p>HTTPS POST method that creates a webhook.\n<br />\n<br />\nThe field <strong>url</strong> is required, this url should be the endpoint where you want to receive responses.\n<br />\nThe field <strong>type</strong> is optional, this specifies which kind of documents you will receive.\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type</td>\n<td>StatusDocumentType</td>\n<td>completedDocument</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"statusdocumenttype\">StatusDocumentType</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>completedDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>signDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>sendDocument</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","webhook"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"a9f84297-2a90-4a13-9803-2cfbdc7317f8","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhookURL.example\",\n    \"type\": \"completedDocument\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"370"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:26:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"webHookID\": \"7c0e7ab01651db416e44bfa6d7f66af065b52546\",\n        \"type\": \"completedDocument\",\n        \"addedOn\": 1629854764968,\n        \"webHookUrl\": \"https://webhookURL.example\",\n        \"options\": []\n    },\n    \"message\": \"WebHook Added Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"b85aa61f-888d-45da-bcb6-1e852673c6b1"},{"name":"Update Webhook","id":"9c9569bd-1a73-4cae-9557-338cb6b4ae45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhookURL.example\",\n    \"webHookID\": \"7c0e7ab01651db416e44bfa6d7f66af065b52546\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/webhook","description":"<h2 id=\"update-sign-webhook\">Update sign webhook</h2>\n<p>HTTPS PUT method that updates a sign webhook.\n<br />\n<br />\nThe field <strong>url</strong> should be the same that you use on method <strong>POST Add Webhook</strong>.\n<br />\nThe filed <strong>webHookID</strong> should be the webHookID that you receive on method <strong>POST Add Webhook</strong>.\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>webHookID<strong>*</strong></td>\n<td>string</td>\n<td>7c0e7ab01651db416e4</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","webhook"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ca32ac1c-5a5c-4b45-a57f-c7612b327585","name":"200 - Ok","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://webhookURL.example\",\n    \"webHookID\": \"7c0e7ab01651db416e44bfa6d7f66af065b52546\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"369"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:31:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"webHookID\": \"7c0e7ab01651db416e44bfa6d7f66af065b52546\",\n        \"type\": \"completedDocument\",\n        \"addedOn\": 1629854764968,\n        \"webHookUrl\": \"https://webhookURL.example\",\n        \"options\": []\n    },\n    \"message\": \"Updated Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"9c9569bd-1a73-4cae-9557-338cb6b4ae45"},{"name":"Get Webhook","id":"553a5019-da40-4fa3-b52b-fb919299b151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/sign/webhook?webhookID={{webhookID}}","description":"<h2 id=\"get-sign-webhooks\">Get sign webhooks</h2>\n<p>HTTPS GET method that gives you information about the webhook you requested.\n<br />\n<br />\nThe param <strong>webhookID</strong> should be the same webHookID that you obtained on method <strong>POST Add Webhook</strong>.                  </p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","webhook"],"host":["veridocid","azure-api","net"],"query":[{"key":"webhookID","value":"{{webhookID}}"}],"variable":[]}},"response":[{"id":"3d556348-7d51-4c24-9194-f87620b88292","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://veridocid.azure-api.net/api/sign/webhook?webhookID=7c0e7ab01651db416e44bfa6d7f66af065b52546","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","sign","webhook"],"query":[{"key":"webhookID","value":"7c0e7ab01651db416e44bfa6d7f66af065b52546"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"375"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:35:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": [\n        {\n            \"webHookID\": \"7c0e7ab01651db416e44bfa6d7f66af065b52546\",\n            \"type\": \"completedDocument\",\n            \"addedOn\": 1629854764968,\n            \"webHookUrl\": \"https://webhookURL.example\",\n            \"options\": []\n        }\n    ],\n    \"message\": \"Get Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"553a5019-da40-4fa3-b52b-fb919299b151"},{"name":"Delete Webhook","id":"e33b0bba-13ac-4451-bbb5-0175cc816f96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://veridocid.azure-api.net/api/sign/webhook?webHookID={{webHookID}}","description":"<h2 id=\"delete-sign-webhook\">Delete sign webhook</h2>\n<p>HTTPS DELETE method that deletes a webhook.\n<br />\n<br />\nThe param <strong>webHookID</strong> should be the same webHookID that you obtained on method <strong>POST Add Webhook</strong>.                  </p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","webhook"],"host":["veridocid","azure-api","net"],"query":[{"key":"webHookID","value":"{{webHookID}}"}],"variable":[]}},"response":[{"id":"aab15b39-ea2f-4b96-8507-58dfc3ef149b","name":"200 - Ok","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://veridocid.azure-api.net/api/sign/webhook?webhookID=7c0e7ab01651db416e44bfa6d7f66af065b52546","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","sign","webhook"],"query":[{"key":"webhookID","value":"7c0e7ab01651db416e44bfa6d7f66af065b52546"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"375"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:35:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {},\n    \"message\": \"Deleted Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"e33b0bba-13ac-4451-bbb5-0175cc816f96"}],"id":"7d348f49-83fb-49d0-91c3-934dc0232adf","_postman_id":"7d348f49-83fb-49d0-91c3-934dc0232adf","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Templates","item":[{"name":"New Request","id":"b097ad22-b478-4845-a96a-a1d64d1184fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"b097ad22-b478-4845-a96a-a1d64d1184fc"}],"id":"7f4fd2e3-5ca1-4741-8b40-7bc6fff44837","_postman_id":"7f4fd2e3-5ca1-4741-8b40-7bc6fff44837","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Design","item":[],"id":"9ff97c6c-0571-4df4-a9cb-61bd999ee102","_postman_id":"9ff97c6c-0571-4df4-a9cb-61bd999ee102","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Add Document","event":[{"listen":"test","script":{"id":"60f8c3d7-32a5-4f7d-8f1b-08f0cb23f878","exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        pm.test(\"responseData should contains documentID\", function() {","            pm.collectionVariables.set(\"documentID\", resp.responseData.documentID);","        });","","        pm.test(\"responseData should contains documentSignType\", function() {","            pm.expect(resp.responseData.documentSignType).to.eql(req.documentSignType);","        });","","        pm.test(\"Respsonse should contains message\", function() {","            pm.response.to.have.jsonBody(\"message\");","            pm.expect(resp.message).to.eql('Saved Successfully');","        });","","        pm.test(\"Respsonse should contains success\", function() {","            pm.response.to.have.jsonBody(\"success\");","            pm.expect(resp.success).to.eql(true);","        });","","        pm.test(\"Respsonse should contains responseCode\", function() {","            pm.response.to.have.jsonBody(\"responseCode\");","            pm.expect(resp.responseCode).to.eql(200);","        });    ","    }","});"],"type":"text/javascript"}}],"id":"639e3f2a-eb72-4d20-ace7-aed43daeb532","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","src":"/home/wastecross/Documents/sumamexico/test.pdf"},{"key":"documentSignType","value":"ELECTRONIC_SIGNATURE","type":"text"},{"key":"country","value":"Mexico","type":"text"},{"key":"language","value":"es","type":"text"},{"key":"position","value":"geolocation","type":"text"}]},"url":"https://veridocid.azure-api.net/api/sign","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS POST method to add a new document to be signed.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>document<strong>*</strong></td>\n<td>file</td>\n<td>sample.pdf</td>\n</tr>\n<tr>\n<td>documentSignType</td>\n<td>string ['ELECTRONIC_SIGNATURE', 'E_FIRMA']</td>\n<td>ELECTRONIC_SIGNATURE</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string ['Mexico', 'United States', 'Canada', 'New Zealand', 'Australia', 'Afghanistan', 'Aland Islands','Albania']</td>\n<td>Mexico</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string ['es', 'en']</td>\n<td>es</td>\n</tr>\n<tr>\n<td>position</td>\n<td>string</td>\n<td>geolocation</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ace0c931-b1ca-4ec6-8632-1f597f2f704b","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","src":["/C:/Users/Gio/Desktop/sample.pdf"]},{"key":"documentSignType","value":"ELECTRONIC_SIGNATURE","type":"text"},{"key":"country","value":"Mexico","type":"text"},{"key":"language","value":"es","type":"text"}]},"url":"https://veridocid.azure-api.net/api/sign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"690"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=335ad67894a0a02a521f095924a8d7be4f7829a49d21743b7dd9ec8ce66879d7;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 13 Nov 2020 20:48:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"documentID\": \"5faef0fdf15d4400321a7a16\",\n        \"documentType\": \"OTHERS\",\n        \"status\": \"DRAFT\",\n        \"country\": \"Mexico\",\n        \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n        \"addedOn\": 1605300480765,\n        \"documentFileObj\": {\n            \"url\": \"documentURL\",\n            \"size\": \"1.5 MB\"\n        },\n        \"signatory\": []\n    },\n    \"message\": \"Saved Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"639e3f2a-eb72-4d20-ace7-aed43daeb532"},{"name":"Update Document","event":[{"listen":"test","script":{"id":"9bf51b09-51bb-4da1-a05d-670c0eeee6cd","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","             pm.test(`Respsonse should contains message: ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"responseData should contains documentID\", function() {","                pm.expect(resp.responseData.documentID).to.eql(req.documentID);","            });","","            pm.test(\"responseData should contains documentSignType\", function() {","                pm.expect(resp.responseData.documentSignType).to.eql(req.documentSignType);","            });","","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Updated Successfully');","            });","","            pm.test(\"Respsonse should contains success and be true\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode and be 200\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        } ","    }","});"],"type":"text/javascript"}}],"id":"832acdb5-36d9-4954-89a7-3df598c4afc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"{{documentID}}\",\n  \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n  \"country\": \"Mexico\",\n  \"position\": \"geolocation\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS PUT method to update some info to a document to be signed.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>string</td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n<tr>\n<td>documentSignType</td>\n<td>string ['ELECTRONIC_SIGNATURE', ' E_FIRMA']</td>\n<td>ELECTRONIC_SIGNATURE</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td>Mexico</td>\n</tr>\n<tr>\n<td>position</td>\n<td>string</td>\n<td>geolocation</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ce899456-1e8b-4ade-9107-4bd273b61470","name":"200 - Ok","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"5faef0fdf15d4400321a7a16\",\n  \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n  \"country\": \"Mexico\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"691"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=335ad67894a0a02a521f095924a8d7be4f7829a49d21743b7dd9ec8ce66879d7;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 13 Nov 2020 20:59:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"documentID\": \"5faef0fdf15d4400321a7a16\",\n        \"documentType\": \"OTHERS\",\n        \"status\": \"DRAFT\",\n        \"country\": \"Mexico\",\n        \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n        \"addedOn\": 1605300480765,\n        \"documentFileObj\": {\n            \"url\": \"fileURL\",\n            \"size\": \"1.5 MB\"\n        },\n        \"signatory\": []\n    },\n    \"message\": \"Updated Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"832acdb5-36d9-4954-89a7-3df598c4afc9"},{"name":"Delete Document","event":[{"listen":"test","script":{"exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","             pm.test(`Respsonse should contains message: ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Deleted Successfully');","            });","","            pm.test(\"Respsonse should contains success\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        }","    }","});"],"type":"text/javascript","id":"640c578b-522d-4d4c-870d-c430291c56f0"}}],"id":"36f131af-defd-48a8-9a3f-4f25bcc645a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign?documentID={{documentID}}","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS DELETE method to delete a document to be signed.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>string</td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign"],"host":["veridocid","azure-api","net"],"query":[{"key":"documentID","value":"{{documentID}}"}],"variable":[]}},"response":[],"_postman_id":"36f131af-defd-48a8-9a3f-4f25bcc645a2"},{"name":"Get Document By ID","event":[{"listen":"test","script":{"exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        pm.test(\"responseData should contains documentID\", function() {","            const query = {};","","            pm.request.url.query.all().forEach((param) => { query[param.key] = param.value});","            pm.expect(resp.responseData[0].documentID).to.eql(query.documentID);","        });","","        pm.test(\"Respsonse should contains message\", function() {","            pm.response.to.have.jsonBody(\"message\");","            pm.expect(resp.message).to.eql('Get Successfully');","        });","","        pm.test(\"Respsonse should contains success\", function() {","            pm.response.to.have.jsonBody(\"success\");","            pm.expect(resp.success).to.eql(true);","        });","","        pm.test(\"Respsonse should contains responseCode\", function() {","            pm.response.to.have.jsonBody(\"responseCode\");","            pm.expect(resp.responseCode).to.eql(200);","        });","    }","});"],"type":"text/javascript","id":"a8363d5b-61ea-4b30-a688-12dacbb9b1f9"}}],"id":"ff3c8110-27a0-4c2f-af86-3edcc374a4e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/documents/?documentID={{documentID}}","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS GET method to get a document to be signed.</p>\n<h2 id=\"params\">params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>params</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information. Available values for 'status'  : ALL, DRAFT, PENDING, COMPLETED</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","documents",""],"host":["veridocid","azure-api","net"],"query":[{"key":"documentID","value":"{{documentID}}"}],"variable":[]}},"response":[{"id":"2987239a-ffaf-403a-b0b7-4d2a00434a41","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://veridocid.azure-api.net/api/sign/documents/5eb9ab724543ca0032f94f62","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","sign","documents","5eb9ab724543ca0032f94f62"],"query":[{"key":"documentID","value":"5faef0fdf15d4400321a7a16","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"825"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=cb545079065329a076f9a941920a00de9e56911d055bb50e1c6b74aa72552b45;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 13 Nov 2020 21:25:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"documentID\": \"5eb9ab724543ca0032f94f62\",\n        \"documentType\": \"ONLY_ME\",\n        \"status\": \"COMPLETED\",\n        \"country\": \"Mexico\",\n        \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n        \"addedOn\": 1589226355187,\n        \"documentFileObj\": {\n            \"url\": \"fileURL\",\n            \"size\": \"13.5 KB\"\n        },\n        \"signatory\": [\n            {\n                \"emailID\": \"email\",\n                \"name\": \"string\",\n                \"isSigned\": 1,\n                \"signatoryID\": \"5ecea5fac2456a00328cf\",\n                \"signing\": {\n                    \"url\": \"urlToSign\",\n                    \"expiry\": 1591033273726\n                }\n            }\n        ]\n    },\n    \"message\": \"Get Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"ff3c8110-27a0-4c2f-af86-3edcc374a4e6"},{"name":"Get Documents","event":[{"listen":"test","script":{"id":"3b7b9383-6673-4daa-a0a1-9808c235c3df","exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        pm.test(\"responseData should contains documentID\", function() {","            const query = {};","","            pm.request.url.query.all().forEach((param) => { query[param.key] = param.value});","            pm.expect(resp.responseData[0].documentID).to.eql(query.documentID);","        });","","        pm.test(\"Respsonse should contains message\", function() {","            pm.response.to.have.jsonBody(\"message\");","            pm.expect(resp.message).to.eql('Get Successfully');","        });","","        pm.test(\"Respsonse should contains success\", function() {","            pm.response.to.have.jsonBody(\"success\");","            pm.expect(resp.success).to.eql(true);","        });","","        pm.test(\"Respsonse should contains responseCode\", function() {","            pm.response.to.have.jsonBody(\"responseCode\");","            pm.expect(resp.responseCode).to.eql(200);","        });","    }","});"],"type":"text/javascript"}}],"id":"b46ce94b-2a35-48d1-afc2-9b2bdf3beae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/documents","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS GET method to get a document to be signed.</p>\n<h2 id=\"params\">params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>params</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>ALL, DRAFT, PENDING or COMPLETED</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>0</td>\n</tr>\n<tr>\n<td>skip</td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information. Available values for 'status'  : ALL, DRAFT, PENDING, COMPLETED</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","documents"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"48e75e97-c2d0-4eff-bd21-ea50dd088400","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/documents"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"4267"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 20 Aug 2021 22:43:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": [\n        {\n            \"documentID\": \"611f0872b893b5002b379c45\",\n            \"documentType\": \"OTHERS\",\n            \"status\": \"PENDING\",\n            \"country\": \"Mexico\",\n            \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n            \"addedOn\": 1629423730524,\n            \"documentFileObj\": {\n                \"url\": \"https://production-signing-files.s3.amazonaws.com/12004b4de85941018da38c577cc3c175_1629423730037.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXB7WAVV4GJX724Q%2F20210820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210820T014210Z&X-Amz-Expires=518400&X-Amz-Signature=08e6044e50393ab1ab7bcd459f27c5019c1000fb67568f81c0ddf2325b3d36da&X-Amz-SignedHeaders=host\",\n                \"size\": \"48.1 KB\"\n            },\n            \"signatory\": [\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611f087fb893b5002b379c4c\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611f0872b893b5002b379c45/611f087fb893b5002b379c4c/1629423743071/26285a\",\n                        \"expiry\": 1630287743071\n                    },\n                    \"imageURL\": \"\"\n                },\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611f087fb893b5002b379c4d\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611f0872b893b5002b379c45/611f087fb893b5002b379c4d/1629423743072/26285a\",\n                        \"expiry\": 1630287743072\n                    },\n                    \"imageURL\": \"\"\n                }\n            ]\n        },\n        {\n            \"documentID\": \"611f085cb893b5002b379c2d\",\n            \"documentType\": \"OTHERS\",\n            \"status\": \"PENDING\",\n            \"country\": \"Mexico\",\n            \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n            \"addedOn\": 1629423708874,\n            \"documentFileObj\": {\n                \"url\": \"https://production-signing-files.s3.amazonaws.com/7716d87f075b4865a271e3ef61399754_1629423708422.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXB7WAVV4GJX724Q%2F20210820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210820T014148Z&X-Amz-Expires=518400&X-Amz-Signature=27bf0a04ff548a269551b4b27b1b7ce74f616f998c5e9a9d6242bde6c495ee6c&X-Amz-SignedHeaders=host\",\n                \"size\": \"48.1 KB\"\n            },\n            \"signatory\": [\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611f0867b893b5002b379c38\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611f085cb893b5002b379c2d/611f0867b893b5002b379c38/1629423719322/26285a\",\n                        \"expiry\": 1630287719322\n                    },\n                    \"imageURL\": \"\"\n                },\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611f0867b893b5002b379c39\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611f085cb893b5002b379c2d/611f0867b893b5002b379c39/1629423719323/26285a\",\n                        \"expiry\": 1630287719323\n                    },\n                    \"imageURL\": \"\"\n                }\n            ]\n        },\n        {\n            \"documentID\": \"611eff73b893b5002b379bf2\",\n            \"documentType\": \"OTHERS\",\n            \"status\": \"PENDING\",\n            \"country\": \"Mexico\",\n            \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n            \"addedOn\": 1629421427393,\n            \"documentFileObj\": {\n                \"url\": \"https://production-signing-files.s3.amazonaws.com/decbfb6071b042b08d3679396d6fa739_1629421426899.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXB7WAVV4GJX724Q%2F20210820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210820T010347Z&X-Amz-Expires=518400&X-Amz-Signature=41c427cd09d4b02f4dc9c71a99a3b66ecbd3cb28abd39248a8d6d46a3103d04d&X-Amz-SignedHeaders=host\",\n                \"size\": \"48.1 KB\"\n            },\n            \"signatory\": [\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611eff76b893b5002b379bf9\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611eff73b893b5002b379bf2/611eff76b893b5002b379bf9/1629421430969/26285a\",\n                        \"expiry\": 1630285430969\n                    },\n                    \"imageURL\": \"\"\n                },\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611eff76b893b5002b379bfa\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611eff73b893b5002b379bf2/611eff76b893b5002b379bfa/1629421430969/26285a\",\n                        \"expiry\": 1630285430969\n                    },\n                    \"imageURL\": \"\"\n                }\n            ]\n        },\n        {\n            \"documentID\": \"611eff4ab893b5002b379be0\",\n            \"documentType\": \"OTHERS\",\n            \"status\": \"PENDING\",\n            \"country\": \"Mexico\",\n            \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n            \"addedOn\": 1629421386930,\n            \"documentFileObj\": {\n                \"url\": \"https://production-signing-files.s3.amazonaws.com/c14143e85e354510a6316f0ff113aede_1629421386173.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXB7WAVV4GJX724Q%2F20210820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210820T010306Z&X-Amz-Expires=518400&X-Amz-Signature=08b359e19127740381ccdb3ecba0f53969b677427e4535e2fd6bd96c90dded29&X-Amz-SignedHeaders=host\",\n                \"size\": \"48.1 KB\"\n            },\n            \"signatory\": [\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611eff58b893b5002b379be7\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611eff4ab893b5002b379be0/611eff58b893b5002b379be7/1629421400516/26285a\",\n                        \"expiry\": 1630285400516\n                    },\n                    \"imageURL\": \"\"\n                },\n                {\n                    \"emailID\": \"email@email.com\",\n                    \"name\": \"string\",\n                    \"isSigned\": 0,\n                    \"signatoryID\": \"611eff58b893b5002b379be8\",\n                    \"signing\": {\n                        \"url\": \"https://www.weesign.mx/signatory/611eff4ab893b5002b379be0/611eff58b893b5002b379be8/1629421400517/26285a\",\n                        \"expiry\": 1630285400517\n                    },\n                    \"imageURL\": \"\"\n                }\n            ]\n        }\n    ],\n    \"message\": \"Get Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"b46ce94b-2a35-48d1-afc2-9b2bdf3beae5"},{"name":"Resend Email","event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","pm.test(\"Response should be JSON\", function() {","    pm.response.to.be.json;","});","","pm.test(\"Respsonse should contains responseData\", function() {","    pm.response.to.have.jsonBody(\"responseData\");","});","","pm.test(\"Respsonse should contains message\", function() {","    const responseJson = pm.response.json();","","    pm.response.to.have.jsonBody(\"message\");","    pm.expect(responseJson.message).to.eql('Resend email successfully');","});","","pm.test(\"Respsonse should contains success\", function() {","    const responseJson = pm.response.json();","","    pm.response.to.have.jsonBody(\"success\");","    pm.expect(responseJson.success).to.eql(true);","});","","pm.test(\"Respsonse should contains responseCode\", function() {","    const responseJson = pm.response.json();","","    pm.response.to.have.jsonBody(\"responseCode\");","    pm.expect(responseJson.responseCode).to.eql(200);","});"],"type":"text/javascript","id":"5172e0a4-f335-4c3f-b709-7efcad823b58"}}],"id":"a974a74c-89d3-4bd7-8198-8f4d31271425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/resend-email?documentID={{documentID}}","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS PUT method to resend a document to be signed.</p>\n<h2 id=\"params\">params</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>params</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","resend-email"],"host":["veridocid","azure-api","net"],"query":[{"key":"documentID","value":"{{documentID}}"}],"variable":[]}},"response":[{"id":"b5748a96-9b26-4cdf-94b6-b096675198b4","name":"200 - Ok","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/sign/resend-email?documentID=5faef0fdf15d4400321a7a16","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","sign","resend-email"],"query":[{"key":"documentID","value":"5faef0fdf15d4400321a7a16"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"198"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=cb545079065329a076f9a941920a00de9e56911d055bb50e1c6b74aa72552b45;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sat, 14 Nov 2020 19:55:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {},\n    \"message\": \"Resend email successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"a974a74c-89d3-4bd7-8198-8f4d31271425"},{"name":"Share Document","event":[{"listen":"test","script":{"exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","             pm.test(`Respsonse should contains message: ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Send email successfully');","            });","","            pm.test(\"Respsonse should contains success\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        }","    }","});"],"type":"text/javascript","id":"58d301f7-b2d1-4103-aab2-ae99fb51c0af"}}],"id":"4236a889-96ed-4563-8910-5cc257d10728","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"{{documentID}}\",\n  \"postedTo\": \"carlos.montes@sumamexico.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/share","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS PUT method to share the document already signed.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>string</td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n<tr>\n<td>postedTo</td>\n<td>string</td>\n<td><a href=\"mailto:someone@mail.com\">someone@mail.com</a></td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td>Mexico</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","share"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"4236a889-96ed-4563-8910-5cc257d10728"},{"name":"Fixed Signatory","event":[{"listen":"test","script":{"id":"b356ed5b-886f-4234-8d51-127821763279","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","             pm.test(`Respsonse should contains message: ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"responseData should contains documentID\", function() {","                pm.expect(resp.responseData.documentID).to.eql(req.documentID);","            });","","            pm.test(\"responseData should contains emailID inside signatory\", function() {","                pm.expect(resp.responseData.signatory[0].emailID).to.eql(req.signatory[0].emailID);","            });","","            pm.test(\"responseData should contains name inside signatory\", function() {","                pm.expect(resP.responseData.signatory[0].name).to.eql(req.signatory[0].name);","            });","","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Updated Successfully');","            });","","            pm.test(\"Respsonse should contains success\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"7c06fe69-2727-4188-926c-f13920c9d879","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"documentID\": \"{{documentID}}\",\n    \"staticSignPositions\": [\n        {\n            \"imageSize\": {\n                \"width\": \"10\",\n                \"height\": \"10\"\n            },\n            \"parentImageSize\": {\n                \"width\": \"20\",\n                \"height\": \"20\"\n            },\n            \"viewport\": {\n                \"width\": \"20\",\n                \"height\": \"20\"\n            },\n            \"user\": {\n                \"email\": \"someone@mail.com\"\n            },\n            \"coordinates\": {\n                \"x\": \"1\",\n                \"y\": \"1\"\n            },\n            \"page\": 1,\n            \"color\": \"#880022 \",\n            \"pageY\": 648,\n            \"pageYv2\": 648\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/fixed-signatory","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS PUT method to assign a space to sign in the document.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>string</td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n<tr>\n<td>staticSignPositions</td>\n<td>arr[obj]</td>\n<td>[obj]</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><em>Obj Example</em> *<br />\n  {\n\"imageSize\": {\n  \"width\": \"10\",\n  \"height\": \"10\"\n},\n\"parentImageSize\": {\n  \"width\": \"20\",\n  \"height\": \"20\"\n},\n\"viewport\": {\n  \"width\": \"20\",\n  \"height\": \"20\"\n},\n\"user\": {\n  \"email\": \"<a href=\"mailto:someone@mail.com\">someone@mail.com</a>\"\n},\n\"coordinates\": {\n  \"x\": \"1\",\n  \"y\": \"1\"\n},\n\"page\": 1,\n\"color\": \"#880022 \",\n\"pageY\": 648,\n\"pageYv2\": 648\n  }</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","fixed-signatory"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"29581059-8f01-4d1e-ba3d-5dca267d959d","name":"200 - Ok","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"5fb77536be66ab00324ef98f\",\n  \"staticSignPositions\": [\n    {\n      \"imageSize\": {\n        \"width\": \"10\",\n        \"height\": \"10\"\n      },\n      \"parentImageSize\": {\n        \"width\": \"20\",\n        \"height\": \"20\"\n      },\n      \"user\": {\n        \"email\": \"someone@mail.com\"\n      },\n      \"coordinates\": {\n        \"x\": \"1\",\n        \"y\": \"1\"\n      },\n      \"page\": 1,\n      \"color\": \"#880022 \"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/fixed-signatory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"700"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=ce7e97b16bd22e0cb91bdf800ca2239e998c4e13f5a43053fc7e84b941909aa0;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 20 Nov 2020 07:59:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"documentID\": \"5fb77536be66ab00324ef98f\",\n        \"documentType\": \"OTHERS\",\n        \"status\": \"DRAFT\",\n        \"country\": \"Mexico\",\n        \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n        \"addedOn\": 1605858614808,\n        \"documentFileObj\": {\n            \"url\": \"fileURL\",\n            \"size\": \"35.1 KB\"\n        },\n        \"signatory\": []\n    },\n    \"message\": \"Updated Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"7c06fe69-2727-4188-926c-f13920c9d879"},{"name":"Signatory","event":[{"listen":"test","script":{"id":"76f48dfb-77de-49fd-a68e-d6de6a122a34","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","             pm.test(`Respsonse should contains message: ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"responseData should contains documentID\", function() {","                pm.expect(resp.responseData.documentID).to.eql(req.documentID);","            });","","            pm.test(\"responseData should contains emailID inside signatory\", function() {","                pm.expect(resp.responseData.signatory[0].emailID).to.eql(req.signatory[0].emailID);","            });","","            pm.test(\"responseData should contains name inside signatory\", function() {","                pm.expect(resp.responseData.signatory[0].name).to.eql(req.signatory[0].name);","            });","","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Updated Successfully');","            });","","            pm.test(\"Respsonse should contains success\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        }","    }","});"],"type":"text/javascript"}}],"id":"51261745-4a5d-4c1d-93c3-8d3eaf83c730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"{{documentID}}\",\n  \"message\": \"string\",\n  \"title\": \"string\",\n  \"disableMailing\": false,\n  \"signatory\": [\n    {\n      \"emailID\": \"carlos.montes@sumamexico.com\",\n      \"name\": \"string\"\n    }\n  ],\n  \"sharedWith\": [\n      {\n          \"emailID\": \"carlos.montes@sumamexico.com\"\n      }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/signatory","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS PUT method to send the document to sign to the signers.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>documentID<strong>*</strong></td>\n<td>string</td>\n<td>5faef0fdf15d4400321a</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>mensaje</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n<td>titulo</td>\n</tr>\n<tr>\n<td>disableMailing</td>\n<td>boolean</td>\n<td>false</td>\n</tr>\n<tr>\n<td>signatory</td>\n<td>array</td>\n<td>[ {SignerObject<strong>*</strong>}, {}... ]</td>\n</tr>\n<tr>\n<td>sharedWith</td>\n<td>array</td>\n<td>[ {sharedWithObject<strong>*</strong>}, {}... ]</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li><p><em>SignerObject Example</em> *<br />\n  {\nemailID: \"<a href=\"mailto:someone@mail.com\">someone@mail.com</a>\",\nname: \"string\"\n  }</p>\n</li>\n<li><p><em>sharedWithObject Example</em> *<br />\n  {\nemailID: \"<a href=\"mailto:someone@mail.com\">someone@mail.com</a>\",\n  }</p>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","signatory"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"786acd07-da2c-4b50-bfb9-99023fe7c049","name":"200 - Ok","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"documentID\": \"5faef0fdf15d4400321a7\",\n  \"message\": \"string\",\n  \"title\": \"string\",\n  \"disableMailing\": false,\n  \"signatory\": [\n    {\n      \"emailID\": \"someone@mail.com\",\n      \"name\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/signatory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"813"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=024ddca8489328ae24923b80a1ee93d70d39d060eb736dd29113a00314f0a4d3;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Sat, 14 Nov 2020 20:11:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {\n        \"documentID\": \"5faef0fdf15d4400321a7\",\n        \"documentType\": \"OTHERS\",\n        \"status\": \"PENDING\",\n        \"country\": \"Mexico\",\n        \"documentSignType\": \"ELECTRONIC_SIGNATURE\",\n        \"addedOn\": 1605300480765,\n        \"documentFileObj\": {\n            \"url\": \"fileURL\",\n            \"size\": \"1.5 MB\"\n        },\n        \"signatory\": [\n            {\n                \"emailID\": \"someone@mail.com\",\n                \"name\": \"string\",\n                \"isSigned\": \"\",\n                \"signatoryID\": \"5fb039d6f15d4400321a8c\",\n                \"signing\": {\n                    \"url\": \"urlToSign\",\n                    \"expiry\": 1606248662678\n                }\n            }\n        ]\n    },\n    \"message\": \"Updated Successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"51261745-4a5d-4c1d-93c3-8d3eaf83c730"},{"name":"Validate Document","event":[{"listen":"test","script":{"exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains responseData\", function() {","            pm.response.to.have.jsonBody(\"responseData\");","        });","","        if(!resp.success) {","            pm.test(`Respsonse should contains message and be ${resp.message}`, function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql(resp.message);","            });","","            pm.test(\"Respsonse should contains success and be false\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(false);","            });","","            pm.test(`Respsonse should contains responseCode and be ${resp.responseCode}`, function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(resp.responseCode);","            });","        } else {","            pm.test(\"Respsonse should contains message\", function() {","                pm.response.to.have.jsonBody(\"message\");","                pm.expect(resp.message).to.eql('Document validated successfully');","            });","","            pm.test(\"Respsonse should contains success\", function() {","                pm.response.to.have.jsonBody(\"success\");","                pm.expect(resp.success).to.eql(true);","            });","","            pm.test(\"Respsonse should contains responseCode\", function() {","                pm.response.to.have.jsonBody(\"responseCode\");","                pm.expect(resp.responseCode).to.eql(200);","            });","        }     ","    }","});"],"type":"text/javascript","id":"c9187fae-b734-4c92-910c-56897b500014"}}],"id":"0ecbb48d-aff2-4784-a5e2-7a12299be845","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","src":"/home/charlycooper/Documents/sumamexico/contract/NDA_CARLOS_MONTES_ISLAS_1608158177188.pdf"}]},"url":"https://veridocid.azure-api.net/api/sign/validate","description":"<h2 id=\"sign-document\">Sign document</h2>\n<p>HTTPS POST method to validate if a document is already signed correctly.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>document<strong>*</strong></td>\n<td>file</td>\n<td>sample.pdf</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","sign","validate"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"c7f760c5-feba-4e1b-ba8f-07189d04dfd2","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"document","type":"file","src":["/C:/Users/Gio/Desktop/sampleSigned.pdf"]}],"options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/sign/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"203"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=d7a068169e2ceddba7f88f23bede1ae54d01fcfbe3ef701b69c38f073c92f5ec;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 18 Nov 2020 20:00:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"responseData\": {},\n    \"message\": \"Document validated successfully\",\n    \"success\": true,\n    \"responseCode\": 200\n}"}],"_postman_id":"0ecbb48d-aff2-4784-a5e2-7a12299be845"}],"id":"88de4e30-0688-4f48-8b0a-84d110086492","_postman_id":"88de4e30-0688-4f48-8b0a-84d110086492","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"webhooks","item":[{"name":"Add Webhook","event":[{"listen":"test","script":{"id":"9990b94b-6a87-4c2f-bae9-9181ed87128d","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains id\", function() {","            pm.response.to.have.jsonBody(\"id\");","            pm.collectionVariables.set(\"id\", resp.id);","        });","","        pm.test(`Respsonse should contains url ${req.url}`, function() {","            pm.response.to.have.jsonBody(\"url\");","            pm.expect(resp.url).to.eql(req.url);","        });","","        pm.test(`Respsonse should contains type ${req.type}`, function() {","            pm.response.to.have.jsonBody(\"type\");","            pm.expect(resp.type).to.eql(req.type)","        });","","        pm.test(\"Respsonse should contains name\", function() {","            pm.response.to.have.jsonBody(\"name\");","        });","    }","});"],"type":"text/javascript"}}],"id":"0e4fecc7-dd64-4466-9ef2-ded49f5f2c3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"ocr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"create-webhook\">Create webhook</h2>\n<p>HTTPS POST method that creates a webhook.\n<br />\n<br />\nThe field <strong>name</strong> is required, this name allows you to identify your webhook, you can name it as you want.\n<br />\nThe field <strong>url</strong> is also required, this url should be the endpoint where you want to receive responses.\n<br />\nThe field <strong>type</strong> specifies which type do you want to receive id or ocr.\n<br />\nThe field <strong>publicKey</strong> is optional, this is a rsa public key 2048 bits that helps you to encrypted the json.\n<br />\n<br />\n<strong>NOTE: The cipher method is only allowed with type id.</strong></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name<strong>*</strong></td>\n<td>string</td>\n<td>first webhook</td>\n</tr>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type<strong>*</strong></td>\n<td>string can be id or ocr</td>\n<td>ocr</td>\n</tr>\n<tr>\n<td>publicKey</td>\n<td>string <strong>base64</strong></td>\n<td>publicKey rsa 2048 bits, format pem encoded in base64</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-public-key-rsa-bits-2048-format-pem\">Example Public Key RSA bits 2048 format PEM</h2>\n<p>-----BEGIN PUBLIC KEY-----\nMIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBlN3YjtwEE0lIUBmVbdPHJ\nPbc5zOBxMOh7FSwF4sBMDq7VbdEPBRp+FGOVMkkIeRDLRQBJDtso9ILv7tiY4WP6\ntGtIErrBBiaTpcWOq9LHbuhA01JE3L31ri/QpWLU/Oz8JfC3MjsdPvLYbfhRwYvb\nyrTohaTpOhpKKbs9c2E+X1tc0xZkP/Eu0cPr31xnurGvOhz/k6fhU2SoLGnDp2FL\njLr0uOnNgwvhbIdt9zuDZ2Lj4BvzCH87kCDpb7g2dnLtRMIzgO/HCdNWZ+0ivfpe\nV2f/AgQyDtcKBMVPqnxzKlDQLAQ/TLzNBHOO3LWtll28QGxcTyJZFDRQWyQBgHgd\nAgMBAAE=\n-----END PUBLIC KEY-----  </p>\n<h2 id=\"how-do-you-have-to-decipher-the-data\">How do you have to decipher the data</h2>\n<p>You will receive the cipher data, the key comes into the first 256 bytes, the iv comes since 256 bytes to 512 bytes and finally the data starts at 512 bytes to the end.\nTo decipher you have to use RSA method using sha256 <strong>as a oapesh</strong>, RSA_PKCS1_OAEP_PADDING <strong>as a padding</strong> and the public key that you create <strong>as a key</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"50042178-6965-4979-96f9-533de0d0e298","name":"Add Webhook-Encrypted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"id\",\n    \"publicKey\": \"B64 public key RSA 2048 bits format pem\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"269"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=1ea203b06b6b4d040efe5f54a517aa09dec1478d0087e41e8482eac0fcd20598;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 22 Apr 2021 14:52:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"name\": \"test01\",\n    \"type\": \"id\",\n    \"id\": \"fc7f30d0-0a76-4675-8337-9c943e02d64e\",\n    \"encrypted\": true\n}"},{"id":"86a8eba4-0b1f-4e91-8d20-56deb771c4ff","name":"Add Webhook-Decrypted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"ocr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"266"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=1ea203b06b6b4d040efe5f54a517aa09dec1478d0087e41e8482eac0fcd20598;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 22 Apr 2021 14:54:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"name\": \"test01\",\n    \"type\": \"ocr\",\n    \"id\": \"d9d74e90-95c7-4600-ac4f-8170cb4b1d43\",\n    \"encrypted\": false\n}"}],"_postman_id":"0e4fecc7-dd64-4466-9ef2-ded49f5f2c3c"},{"name":"Update Webhook","event":[{"listen":"test","script":{"id":"eb89227f-2fba-45d4-988e-196aa4c1d7fa","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains id\", function() {","            pm.response.to.have.jsonBody(\"id\");","        });","","        pm.test(`Id should be ${resp.id}`, function () {","            pm.expect(resp.id).to.eql(req.id)","        });","    }","});"],"type":"text/javascript"}}],"id":"7f052bf1-59ae-4540-ad7b-d12558664abe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test01\",\n\t\"url\": \"https://webhook.site/20e41e44-4be9-426e-9d0f-bdd0904b8ab2\",\n\t\"type\": \"id\",\n\t\"id\": \"{{id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"update-webhook\">Update webhook</h2>\n<p>HTTPS PATCH method that updates a webhook.\n<br />\n<br />\nThe fields <strong>url</strong> and <strong>name</strong> should be the same that you use on method <strong>POST Add Webhook</strong>.\n<br />\nThe filed <strong>type</strong> should be different tha you used before.\n<br />\nThe field <strong>id</strong> should be the same id that you obtained on method <strong>POST Add Webhook</strong>.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name<strong>*</strong></td>\n<td>string</td>\n<td>first webhook</td>\n</tr>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type<strong>*</strong></td>\n<td>string can be id or ocr</td>\n<td>id</td>\n</tr>\n<tr>\n<td>id<strong>*</strong></td>\n<td>string</td>\n<td>id obtained on <strong>add webhook</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f052bf1-59ae-4540-ad7b-d12558664abe"},{"name":"Delete Webhook","event":[{"listen":"test","script":{"id":"2952ec04-f7e7-41f3-be9a-889e1e455206","exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains message\", function() {","            pm.response.to.have.jsonBody(\"message\");","        });","","        pm.test(`Message should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    }","});"],"type":"text/javascript"}}],"id":"f1c2bf78-6a15-446c-95ea-f5c0cf9c3d62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n\"id\": \"{{id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"delete-webhook\">Delete webhook</h2>\n<p>HTTPS DELETE method that deletes a webhook.\n<br />\n<br />\nThe field <strong>id</strong> should be the same id that you obtained on method <strong>POST Add Webhook</strong>.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id<strong>*</strong></td>\n<td>string</td>\n<td>id obtained on <strong>add webhook</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1c2bf78-6a15-446c-95ea-f5c0cf9c3d62"},{"name":"Get Webhooks","event":[{"listen":"test","script":{"id":"08a52af1-6414-41e2-8b46-62415a96106b","exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","    }","});"],"type":"text/javascript"}}],"id":"d3a84454-c308-4176-bef7-8207bbe36dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"get-webhooks\">Get webhooks</h2>\n<p>HTTPS GET method that gives you an array of all your webhooks you have been created.   </p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3a84454-c308-4176-bef7-8207bbe36dcb"}],"id":"6257135b-7bab-4558-8b56-97257f592b87","_postman_id":"6257135b-7bab-4558-8b56-97257f592b87","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Criminal Records Copy","item":[{"name":"webhooks","item":[{"name":"Get Webhooks","id":"ae8818ae-0635-42d8-8865-dd5d2b449d87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/criminal-record/getWebhooks","description":"<h2 id=\"get-webhooks\">Get webhooks</h2>\n<p>HTTPS GET method that gives you an object of all your webhooks you have been created.</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminal-record","getWebhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"63c74de7-021b-443d-8119-6f7f9dfd120d","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/criminal-record/getWebhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:14:41 GMT"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\n        \"name\": \"webhook_name\",\n        \"type\": \"criminal-record\",\n        \"webhook_id\": \"webhook_id\"\n    }\n]"},{"id":"0a143d31-1455-41ec-aacd-6b9577c94665","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/criminal-record/getWebhooks"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"85"},{"key":"Content-Type","value":"application/json"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:09:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"}],"_postman_id":"ae8818ae-0635-42d8-8865-dd5d2b449d87"},{"name":"Add Webhook","id":"1e558dad-42b0-4437-a5db-4a0d4db57be7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"webhook_name\",\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook","description":"<h2 id=\"create-webhook\">Create webhook</h2>\n<p>HTTPS POST method that creates a webhook.</p>\n<p>The field <strong>name</strong> is required, this field allows you to identify your webhook, you can name it as you want.</p>\n<p>The field <strong>url</strong> is also required, this url should be the endpoint where you want to receive responses.</p>\n<p>The field <strong>type</strong> is also required, these field specify the type of notification you want to receive. Only the <strong>criminal-record</strong> type is allowed.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n<td>webhook_test</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string</td>\n<td>criminal-record</td>\n</tr>\n<tr>\n<td>url*</td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminal-record","addWebhook"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"6658fbc9-7c3b-4fa3-9487-f09b6db7146c","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"webhook_name\",\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:50:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\n    \"name\": \"webhook_name\",\n    \"type\": \"criminal-record\",\n    \"webhook_id\": \"webhook_id\"\n}"},{"id":"94ea1a75-1c6a-4f5e-b0b5-0e53e814113c","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"enabled\",\r\n    \"actions\": [\"finished\"],\r\n    \"subscriber_url\": \"https://webhook.site/e448245b-796f-4d52-8b8e-0d523f256deb\",\r\n    \"subscriber_language\": \"es\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"statusCode\": 401,\r\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\r\n}"},{"id":"6bcfc4c7-0eb7-4b6a-8c1b-8079300cf0cd","name":"400 - Bad Request (webhook already exists)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"webhook_name\",\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:41:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"A webhook with url https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd already exists.\",\n    \"webhookId\": \"076ec0cc-c33d-4333-9abf-1db19d2526c1\"\n}"},{"id":"8599ed7d-cb64-463a-b8ed-7a1b665740d9","name":"400 - Bad Request (type required)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"webhook_name\",\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:41:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"type\\\" is required\"\n}"},{"id":"f89d35d2-37a2-4c5e-9ee0-4b7141a6aa43","name":"400 - Bad Request (name is required)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:43:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"name\\\" is required\"\n}"},{"id":"3ca66985-e765-4604-9a9d-8d78bf718359","name":"400 - Bad Request (url is required)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"webhook_name\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:47:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"url\\\" is required\"\n}"},{"id":"b0134901-57fb-49f6-96ce-f2d80adda364","name":"400 - Bad Request (incorrect type)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"name\": \"TestDev03\",\r\n\t\"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n\t\"type\": \"type\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/addWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:48:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"type\\\" must be [criminal-record]\"\n}"}],"_postman_id":"1e558dad-42b0-4437-a5db-4a0d4db57be7"},{"name":"Update Webhook","id":"be2d9128-2670-4242-b957-d10a7c25394a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"name\": \"webhook_name\",\r\n    \"type\": \"criminal-record\",\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook","description":"<h2 id=\"update-webhooks\">Update webhooks</h2>\n<p>HTTPS PATCH method that update a webhook.</p>\n<p>The field <strong>webhook_id</strong> is required, this <strong>webhook_id</strong> must be the same as the previous one.</p>\n<p>The field <strong>type</strong> is also required, this type must be the same as the previous one. Only the <strong>criminal-record</strong> type is allowed.</p>\n<p>The field <strong>name</strong> is also required, this url should be the same or different from the previous one.</p>\n<p>The field <strong>url</strong> is also required, this url should be the same or different from the previous one.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>webhook_id*</td>\n<td>string</td>\n<td>webhook_id obtained on <strong>add webhook or get webhooks</strong></td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string</td>\n<td>criminal-record</td>\n</tr>\n<tr>\n<td>name*</td>\n<td>string</td>\n<td>webhook_name</td>\n</tr>\n<tr>\n<td>url*</td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminal-record","updateWebhook"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"6f6daedd-95ea-4efe-9c49-02c14761a4c2","name":"200 - Ok","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"name\": \"webhook_name\",\r\n    \"type\": \"criminal-record\",\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:57:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/3a27ccce-98e9-479f-b9ab-814a264fcdaa\",\n    \"name\": \"diferent_name\",\n    \"type\": \"criminal-record\",\n    \"webhook_id\": \"webhook_id\"\n}"},{"id":"28d7db59-7add-4b6b-b8c7-fd317ee1e1fa","name":"401 - Unauthorized","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"status\": \"enabled\",\r\n    \"actions\": [\r\n        \"finished\"\r\n    ],\r\n    \"subscriber_url\": \"https://webhook.site/fd2df020-75dd-43ea-b0d7-b2310a22e6c5\",\r\n    \"subscriber_language\": \"es\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook"},"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"},{"id":"09cd4a06-167f-4af7-9085-1b9763f09eb6","name":"400 - Bad Request (webhook_id required)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"name\": \"webhook_name\",\r\n    \"type\": \"criminal-record\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:43:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Webhook with id undefined doesn't exist.\"\n}"},{"id":"f757c65c-2471-47db-b1b5-9f694dd66287","name":"400 - Bad Request (type is required)","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"name\": \"webhook_name\",\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:47:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"type\\\" is required\"\n}"},{"id":"d37ad86f-5c50-4273-b7eb-33bdf14328e7","name":"400 - Bad Request (incorrect type) Copy","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"url\": \"https://webhook.site/8e4587a0-c170-4084-900b-6da8b9cab0fd\",\r\n    \"name\": \"webhook_name\",\r\n    \"type\": \"type\",\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/updateWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 07:48:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"\\\"type\\\" must be [criminal-record]\"\n}"}],"_postman_id":"be2d9128-2670-4242-b957-d10a7c25394a"},{"name":"Delete Webhooks","id":"edc9d624-50ae-4ecd-9430-d35db2936fd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/deleteWebhook","description":"<h2 id=\"delete-webhook\">Delete webhook</h2>\n<p>HTTPS DELETE method that deletes a webhook.</p>\n<p>The field <strong>webhook_id</strong> should be the same id that you obtained on method <strong>POST Add Webhook</strong>.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>webhook_id*</td>\n<td>string</td>\n<td>webhook_id obtained on <strong>add webhook or get webhook</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminal-record","deleteWebhook"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"ce3f6bbf-9107-4013-a668-949251c7d440","name":"200 - Ok","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/deleteWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 09:30:33 GMT"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"message\": \"Webhook with id {webhook_id} has been deleted.\"\n}"},{"id":"783aabdd-1dff-4e20-983f-36f159016c85","name":"401 - Unauthorized","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/deleteWebhook"},"_postman_previewlanguage":"json","header":[""],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 401,\n    \"message\": \"Unauthorized. Access token is missing or invalid.\"\n}"},{"id":"9224c605-012a-4ec6-8103-5d6cec4654fe","name":"400 - Bad Request","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhook_id\": \"webhook_id\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal-record/deleteWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 17 Feb 2022 09:31:17 GMT"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Webhook with id {webhook_id} doesn't exist.\"\n}"}],"_postman_id":"edc9d624-50ae-4ecd-9430-d35db2936fd9"}],"id":"38cacc7c-42f6-4da8-9353-8021952af944","_postman_id":"38cacc7c-42f6-4da8-9353-8021952af944","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Check By CURP","event":[{"listen":"test","script":{"id":"3919b2ee-ea8c-4952-bb5c-78cb1a357865","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'error')) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            if(_.get(req, 'id')) {","                pm.response.to.have.jsonBody(\"error\")","            } else {","                pm.expect(resp.error).to.eql('id field is missing');","            }","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Response is a string\", function () {","            pm.expect(pm.response.text()).to.include(\"\");","            pm.collectionVariables.set(\"uuid\", pm.response.text())","        });","    }","});"],"type":"text/javascript"}}],"id":"740b5024-40b5-4b90-834b-df531dc84b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Test01\",\n    \"national_id\": \"MOIC970513HDFNSR00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminalrecord/check","description":"<h2 id=\"check-criminal-records\">Check Criminal Records</h2>\n<p>HTTPS POST method to create a new check of criminal records. You will receive three important fields: check_id, scores and status.\n<br />\n<br />\nThe field <strong>id</strong> is required, this field allows you to identify your check, you can name it as you want.\n<br />\nThe field <strong>national_id</strong> is also required, you will type the curp of the person you want to check.\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id<strong>*</strong></td>\n<td>string</td>\n<td>test01</td>\n</tr>\n<tr>\n<td>national_id<strong>*</strong></td>\n<td>string</td>\n<td>curp</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminalrecord","check"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"1e6132d6-1652-48ed-9ee1-3d7a073f349b","name":"01 - Check - Status 200 not_started","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Test01\",\n    \"national_id\": \"person's_curp\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminalrecord/check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"378"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=87619c1bcf9edccdaac372052beb202b1e23bea2f0bb9af0a9b2e6d69dff1808;Path=/;HttpOnly;Secure;Domain=veridocid.azure-api.net"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=87619c1bcf9edccdaac372052beb202b1e23bea2f0bb9af0a9b2e6d69dff1808;Path=/;HttpOnly;SameSite=None;Secure;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 23 Mar 2021 16:32:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"check_id\": \"CHK8c515a62ro3288l183i8na028fcef12c\",\n    \"country\": \"MX\",\n    \"creation_date\": \"2021-03-23T16:32:14.563859633Z\",\n    \"name_score\": 0,\n    \"id_score\": 0,\n    \"previous_check\": \"CHK4071zay3fdavc5287b510c007a29cc11\",\n    \"score\": -1,\n    \"status\": \"not_started\",\n    \"update_date\": \"2021-03-23T16:32:14.606317215Z\",\n    \"national_id\": \"person's_curp\",\n    \"type\": \"person\"\n}"},{"id":"62367e24-4499-4447-9d44-33dbf2463fee","name":"01 - Check - Status 200 completed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Test01\",\n    \"national_id\": \"person's_curp\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminalrecord/check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"3773"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Tue, 23 Mar 2021 17:44:57 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"check_id\": \"CHK8c515a62ro3288l183i8na028fcef12c\",\n    \"company_summary\": {\n        \"company_status\": \"not_found\",\n        \"result\": \"skipped\"\n    },\n    \"country\": \"MX\",\n    \"creation_date\": \"2021-03-23T16:32:14.563859633Z\",\n    \"name_score\": 1,\n    \"id_score\": 1,\n    \"previous_check\": \"CHK4071zay3fdavc5287b510c007a29cc11\",\n    \"score\": 1,\n    \"scores\": [\n        {\n            \"data_set\": \"personal_identity\",\n            \"severity\": \"none\",\n            \"score\": 1,\n            \"result\": \"found\",\n            \"by_id\": {\n                \"result\": \"found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            },\n            \"by_name\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            }\n        },\n        {\n            \"data_set\": \"criminal_record\",\n            \"severity\": \"none\",\n            \"score\": 1,\n            \"result\": \"not_found\",\n            \"by_id\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            },\n            \"by_name\": {\n                \"result\": \"not_found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            }\n        },\n        {\n            \"data_set\": \"legal_background\",\n            \"severity\": \"none\",\n            \"score\": 1,\n            \"result\": \"not_found\",\n            \"by_id\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            },\n            \"by_name\": {\n                \"result\": \"not_found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            }\n        },\n        {\n            \"data_set\": \"international_background\",\n            \"severity\": \"none\",\n            \"score\": 1,\n            \"result\": \"not_found\",\n            \"by_id\": {\n                \"result\": \"not_found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            },\n            \"by_name\": {\n                \"result\": \"not_found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            }\n        },\n        {\n            \"data_set\": \"alert_in_media\",\n            \"severity\": \"low\",\n            \"score\": 0.6,\n            \"result\": \"found\",\n            \"by_id\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            },\n            \"by_name\": {\n                \"result\": \"found\",\n                \"score\": 0.6,\n                \"severity\": \"low\"\n            }\n        },\n        {\n            \"data_set\": \"affiliations_and_insurances\",\n            \"severity\": \"unknown\",\n            \"score\": 1,\n            \"result\": \"ignored\",\n            \"by_id\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            },\n            \"by_name\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            }\n        },\n        {\n            \"data_set\": \"taxes_and_finances\",\n            \"severity\": \"none\",\n            \"score\": 1,\n            \"result\": \"found\",\n            \"by_id\": {\n                \"result\": \"found\",\n                \"score\": 1,\n                \"severity\": \"none\"\n            },\n            \"by_name\": {\n                \"result\": \"ignored\",\n                \"score\": 1,\n                \"severity\": \"unknown\"\n            }\n        }\n    ],\n    \"status\": \"completed\",\n    \"statuses\": [\n        {\n            \"database_id\": \"DBI01d5e2ad2e8dd6e8bd01291be281b906470e922f\",\n            \"database_name\": \"Poder Judicial Estado de México\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI01d5e2ad2e8dd6e8bd01291be281b906470e922f\",\n            \"database_name\": \"Poder Judicial Estado de México\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI08a7c3402b96b03ff7fd6c7cf283cec1b4df14df\",\n            \"database_name\": \"SAT\",\n            \"data_set\": \"taxes_and_finances\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI08c1ca056fd6cc36d0fc6d563951859350e268d9\",\n            \"database_name\": \"Poder Judicial Morelos - Historial\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI08c1ca056fd6cc36d0fc6d563951859350e268d9\",\n            \"database_name\": \"Poder Judicial Morelos - Historial\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI0f5764b4ee2c0b970147f19cc066d87ac13a5c8d\",\n            \"database_name\": \"Poder Judicial Guerrero\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI1efc3f0c4d7b5d8c4c8dcc0c630f2bb963d98b1b\",\n            \"database_name\": \"Instituto Nacional Electoral\",\n            \"status\": \"skipped\",\n            \"invalid_inputs\": [\n                \"elector_key\",\n                \"issue_number\",\n                \"ocr\",\n                \"cic\",\n                \"ocr\",\n                \"cic\",\n                \"citizen_id\"\n            ]\n        },\n        {\n            \"database_id\": \"DBI280eabe8d7f5e9c9a000f2944195e91bef7e4981\",\n            \"database_name\": \"Poder Judicial Guerrero\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI386340b3ef9b714192cb0d8816769044b14926cc\",\n            \"database_name\": \"Poder Judicial CDMX\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI386340b3ef9b714192cb0d8816769044b14926cc\",\n            \"database_name\": \"Poder Judicial CDMX\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI398292741715dc90345b2f06869865be836eeff3\",\n            \"database_name\": \"Poder Judicial Tabasco\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI398292741715dc90345b2f06869865be836eeff3\",\n            \"database_name\": \"Poder Judicial Tabasco\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI3e2e251f55dc62c78795a87a90ff6e88603d37ab\",\n            \"database_name\": \"Poder Judicial Morelos\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI62205bb1e7a9b1c8c9b41d7678ca9ef9f1018761\",\n            \"database_name\": \"Poder Judicial Tabasco - Segunda Instancia\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI62205bb1e7a9b1c8c9b41d7678ca9ef9f1018761\",\n            \"database_name\": \"Poder Judicial Tabasco - Segunda Instancia\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI82e459b7cd5097475d7ae07545cbf05b4299c75b\",\n            \"database_name\": \"SAT Certificados\",\n            \"status\": \"skipped\",\n            \"invalid_inputs\": [\n                \"tax_id\"\n            ]\n        },\n        {\n            \"database_id\": \"DBI98feea6f905a1caa9c15bbbb7a51b59ddf865d2d\",\n            \"database_name\": \"Poder Judicial Baja California Sur\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI98feea6f905a1caa9c15bbbb7a51b59ddf865d2d\",\n            \"database_name\": \"Poder Judicial Baja California Sur\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI998a562086dda9daecbc0753e5a6c88e522db38d\",\n            \"database_name\": \"Poder Judicial Zacatecas\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI998a562086dda9daecbc0753e5a6c88e522db38d\",\n            \"database_name\": \"Poder Judicial Zacatecas\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIbfe26c66d6fc6dcd35fedf2d152a84f66bc187b0\",\n            \"database_name\": \"Poder Judicial de la Federación\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIbfe26c66d6fc6dcd35fedf2d152a84f66bc187b0\",\n            \"database_name\": \"Poder Judicial de la Federación\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIc0bf47213a30715703c8f8438acb1efe8e66189a\",\n            \"database_name\": \"Poder Judicial Quintana Roo\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIc0bf47213a30715703c8f8438acb1efe8e66189a\",\n            \"database_name\": \"Poder Judicial Quintana Roo\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBId4a02d6bff0054af9cada9f1d2ba3bc0eac92364\",\n            \"database_name\": \"Poder Judicial Aguascalientes\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBId4a02d6bff0054af9cada9f1d2ba3bc0eac92364\",\n            \"database_name\": \"Poder Judicial Aguascalientes\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBId5f2ea3c2ceb92705763d10833ccd018ba4c984b\",\n            \"database_name\": \"Poder Judicial Sonora\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBId5f2ea3c2ceb92705763d10833ccd018ba4c984b\",\n            \"database_name\": \"Poder Judicial Sonora\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIe8148185b2a76adcf5183ab1fcf2b812b99f6b0a\",\n            \"database_name\": \"Registro Nacional de Población\",\n            \"data_set\": \"personal_identity\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIec06869f10863b6c82ffea47024384e9af748187\",\n            \"database_name\": \"Consejo de la Judicatura Federal - Acuerdos\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIec06869f10863b6c82ffea47024384e9af748187\",\n            \"database_name\": \"Consejo de la Judicatura Federal - Acuerdos\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIf054afaaa8afe6e8247c267f6042bb9e31b18f5c\",\n            \"database_name\": \"Poder Judicial Veracruz\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIf054afaaa8afe6e8247c267f6042bb9e31b18f5c\",\n            \"database_name\": \"Poder Judicial Veracruz\",\n            \"data_set\": \"legal_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIff0c5adcbd20ff6bbc099882d6b2ca6ff0cabc41\",\n            \"database_name\": \"Programa de Recompensas de la PGR - Recompensas Criminales\",\n            \"data_set\": \"criminal_record\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI021bf85b4b88628dfe6c9f155e2f53c27c6e491a\",\n            \"database_name\": \"Inter-American Development Bank\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI16189d09c9ea160e0b46f9b02b5aa13b3acdb77e\",\n            \"database_name\": \"Consolidated Screening Lists\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI20279be53a2cc5eb78c4eca234622c7764855804\",\n            \"database_name\": \"Google\",\n            \"data_set\": \"alert_in_media\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI2b69e4bd677e0c028939a2f3c1292c1cf2c31313\",\n            \"database_name\": \"Búsqueda en medios GOOGLE RSS\",\n            \"data_set\": \"alert_in_media\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI2ba70e37e29aacc38fc9a89cb6c39c29e8a5cfdd\",\n            \"database_name\": \"United Nations Security Council Consolidate List\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI36a911fb239aa807ab845534ce42570a99b55a0a\",\n            \"database_name\": \"Offshore Leaks Database - Officers\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI4430985bb6620056a6064cf11bb31186d34d582d\",\n            \"database_name\": \"Most Wanted Fugitives by the DEA\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI59c070f10432398200898abda9e4657273c10748\",\n            \"database_name\": \"Offshore Leaks Database - Offshore entities\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI5a155dfdb55d96a9ea00797ab5cf3fd88eac5910\",\n            \"database_name\": \"Office of Foreign Assets Control\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI6eeab904c812b84f8a78a7fd4e286b817c430fe1\",\n            \"database_name\": \"Federal Bureau Of Prisons\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBI82f0ff06d2c7ae86e16160e637ba072f2fa70203\",\n            \"database_name\": \"U.S. Security and Exchange Commission (SEC)\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIac4d74895385c27eccc0e589c2cf542a01ed6eea\",\n            \"database_name\": \"FBI\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIb6f45cf65d3dfd2c37e6210ebbd9191d35dc48e2\",\n            \"database_name\": \"World Bank Debarred Firms\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIb8f99bb1902b110b5a952e202b408190ab6a9e1a\",\n            \"database_name\": \"OFSI Consolidated List Search (HMT Treasury List)\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIc75c46e22d5565371d2893fad550474abc891fc7\",\n            \"database_name\": \"Reported in the EU financial system\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIca0e39584d803f7b935e481328a559efeb315532\",\n            \"database_name\": \"EU list of the most wanted\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBId73cdff5dd3cf75bb48fbfe773682f2983400180\",\n            \"database_name\": \"Common Position Terrorist EU\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIda71937421a651f8564d16e18b21bb3955278271\",\n            \"database_name\": \"DSS Most Wanted - Bureau of Diplomatic Security\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIdf35eee10ea75c3f52ad489090fe5d0133bb2689\",\n            \"database_name\": \"Offshore Leaks Database - Intermediares\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        },\n        {\n            \"database_id\": \"DBIe9d3417ee6daaff7332c899a9263ad634dd7d178\",\n            \"database_name\": \"Lista de terroristas de USA\",\n            \"data_set\": \"international_background\",\n            \"status\": \"completed\"\n        }\n    ],\n    \"summary\": {\n        \"date_of_birth\": \"1997-05-13T00:00:00Z\",\n        \"gender\": \"male\",\n        \"identity_status\": \"found\",\n        \"names_found\": [\n            {\n                \"first_name\": \"CHARLY\",\n                \"last_name\": \"COOPER\",\n                \"count\": 1\n            }\n        ],\n        \"result\": \"found\"\n    },\n    \"update_date\": \"2021-03-23T16:33:06Z\",\n    \"vehicle_summary\": {\n        \"result\": \"skipped\",\n        \"vehicle_status\": \"not_found\"\n    },\n    \"national_id\": \"person's_curp\",\n    \"type\": \"person\"\n}"}],"_postman_id":"740b5024-40b5-4b90-834b-df531dc84b98"},{"name":"Get Details","id":"090e5019-d04c-4d4a-86c7-105fab301081","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"check_id\":\"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal_record_details","description":"<h2 id=\"get-details\">Get Details</h2>\n<p>HTTPS POST method to obtain details of criminal records\n<br />\n<br />\nThe field <strong>check_id</strong> is also required, you can get it when you check the criminal record history\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>check_id<strong>*</strong></td>\n<td>string</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","criminal_record_details"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"3b7c4dd2-c437-4670-9475-a513ac2b7c11","name":"Status - 200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"check_id\":\"CHKdd9b0fdf55ca1e1ae6ba5b589803a3de\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/criminal_record_details"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 21 Sep 2021 05:27:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"details\": [\n        {\n            \"categorization\": \"\",\n            \"check_id\": \"\",\n            \"data_set\": \"\",\n            \"database_id\": \"\",\n            \"database_name\": \"\",\n            \"depth\": \"\",\n            \"document_type\": \"\",\n            \"found_company_name\": \"\",\n            \"found_date_of_birth\": \"\",\n            \"found_first_name\": \"\",\n            \"found_last_name\": \"\",\n            \"found_rfc\": \"\",\n            \"id\": \"\",\n            \"identity_result\": \"\",\n            \"identity_state\": \"\",\n            \"result\": \"\",\n            \"route\": \"\",\n            \"severity\": \"\",\n            \"tables\": [],\n            \"update_date\": \"\"\n        } \n    ],\n    \"self\": \"\",\n    \"next\": \"\"\n}"},{"id":"9fcf3b7f-fedf-4fae-ab60-f6f6d36c2a1e","name":"Status - 200 - OK - Next","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"check_id\":\"CHKdd9b0fdf55ca1e1ae6ba5b589803a3de\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/criminal_record_details?start_key=bGVnYWxfYmFja2dyb3VuZDpub3RfZm91bmQ6REJJNjIyMDViYjFlN2E5YjFjOGM5YjQxZDc2NzhjYTllZjlmMTAxODc2MTpuYW1l","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","criminal_record_details"],"query":[{"key":"start_key","value":"bGVnYWxfYmFja2dyb3VuZDpub3RfZm91bmQ6REJJNjIyMDViYjFlN2E5YjFjOGM5YjQxZDc2NzhjYTllZjlmMTAxODc2MTpuYW1l"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"2449"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 23 Sep 2021 02:16:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"details\": [\n        {\n            \"categorization\": \"\",\n            \"check_id\": \"\",\n            \"data_set\": \"\",\n            \"database_id\": \"\",\n            \"database_name\": \"\",\n            \"depth\": \"\",\n            \"document_type\": \"\",\n            \"found_company_name\": \"\",\n            \"found_date_of_birth\": \"\",\n            \"found_first_name\": \"\",\n            \"found_last_name\": \"\",\n            \"found_rfc\": \"\",\n            \"id\": \"\",\n            \"identity_result\": \"\",\n            \"identity_state\": \"\",\n            \"result\": \"\",\n            \"route\": \"\",\n            \"severity\": \"\",\n            \"tables\": [],\n            \"update_date\": \"\"\n        } \n    ],\n    \"self\": \"\",\n    \"next\": \"\"\n}"}],"_postman_id":"090e5019-d04c-4d4a-86c7-105fab301081"}],"id":"90f73ed0-d7f3-4c7d-910c-be4b3eed6517","_postman_id":"90f73ed0-d7f3-4c7d-910c-be4b3eed6517","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Afis","item":[{"name":"Process","id":"ecac33b5-ed13-4941-96ff-1984b2fdccc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"MATCH_PERSON_TO_PERSON\",\n    \"personToPersonMatchRequest\": {\n        \"person\": {\n            \"registration\": {\n                \"fingerprintSample\": {\n                    \"sampleType\": \"TENPRINT_SLAP\",\n                    \"tenprint\": {\n                        \"rightIndex\": {\n                            \"format\": \"WSQ\",\n                            \"buffer\": \"imageBase64\"\n                        }\n                    }\n                }\n            }\n        }\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process","description":"<h2 id=\"process-person\">Process Person</h2>\n<p>HTTPS POST method that receives a json with information about the person was looking for, if there is information in the data base.\n<br />\n<br />\nThe <strong>requestType</strong> is required, this specifies what kind of request it is.\n<br />\nThe <strong>typeSelectedRequest</strong> is required, this is an object that contains types of the selected request. Shall be the same type as you indicated on <strong>requestType</strong>.\n<br /></p>\n<h2 id=\"requesttype\">requestType</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>INSERT_PERSON</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>UPDATE_PERSON</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>DELETE_PERSON</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>GET_PERSON</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>EXIST_PERSON</strong></td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>MATCH_PERSON_TO_PERSON</strong></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"typeselectedrequest\">typeSelectedRequest</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>insertPersonRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is INSERT_PERSON</td>\n</tr>\n<tr>\n<td><strong>updatePersonRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is UPDATE_PERSON</td>\n</tr>\n<tr>\n<td><strong>deletePersonRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is DELETE_PERSON</td>\n</tr>\n<tr>\n<td><strong>getPersonRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is GET_PERSON</td>\n</tr>\n<tr>\n<td><strong>existPersonRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is EXIST_PERSON</td>\n</tr>\n<tr>\n<td><strong>personToPersonMatchRequest</strong></td>\n<td>string</td>\n<td>Use this one if your requestType is MATCH_PERSON_TO_PERSON</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"object-tenprint\">Object tenprint</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>rightThumb</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>rightIndex</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>rightMiddle</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>rightRing</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>rightLittle</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftThumb</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftIndex</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftMiddle</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftRing</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftLittle</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"object-slap442\">Object slap442</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>rightHand</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftHand</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>thumbs</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>MissingFingers</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"object-slap4411\">Object slap4411</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>rightHand</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftHand</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>rightThumb</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>leftThumb</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>MissingFingers</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"image\">Image</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>format</strong></td>\n<td>string</td>\n<td>ImageFormatType</td>\n</tr>\n<tr>\n<td><strong>buffer</strong></td>\n<td>string</td>\n<td>Image in base64Binary</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"imageformattype\">ImageFormatType</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Accepts the following format types of image:</td>\n</tr>\n<tr>\n<td>RAW, BPM, WSQ, <br />JPEG, JP2, TIFF, <br />PNG, GIF, UNSPECIFIED, NOT_RAW, <br />ISO_19794_4, ISO_19794_5, ISO_19794_6</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"missingfingers\">MissingFingers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>rightThumb</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>rightIndex</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>rightMiddle</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>rightRing</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>rightLitte</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>leftThumb</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>leftIndex</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>leftMiddle</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>leftRing</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n<tr>\n<td><strong>leftLitte</strong></td>\n<td>boolean</td>\n<td>Set true if the finger is missing</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-body-model-matchpersontoperson\">Request Body Model MatchPersonToPerson</h2>\n<br />\nNOTE: sampleType could be TENPRINT_SLAP, SLAP_442 or SLAP_441.\n<br />\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestType<strong>*</strong></td>\n<td>string</td>\n<td>MATCH_PERSON_TO_PERSON</td>\n</tr>\n<tr>\n<td>personToPersonMatchRequest<strong>*</strong></td>\n<td>object</td>\n<td>{<br />person: { <br />   registration: { <br />     fingerprintSample: { <br />       sampleType: \"TENPRINT_SLAP\", <br />       tenprint: { <br />          } <br />        } <br />      } <br />    } <br /> }</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with the address normalized</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid license</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","afis","process"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"fcef2125-b875-4fc1-aa38-061cdfa9f09b","name":"PersonToPersonMatch-Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlF6TnNRbUpBNm45NUt6cWMyb2NVUSJ9.eyJpc3MiOiJodHRwczovL3Zlcmlkb2NpZC5hdXRoMC5jb20vIiwic3ViIjoiRWo0UXBRMzNIWXdaMkpYWVRMQ2Y2YzFsaTN2VExoam1AY2xpZW50cyIsImF1ZCI6InZlcmlkb2NpZCIsImlhdCI6MTYyMTM2NjE4MSwiZXhwIjoxNjIxNDUyNTgxLCJhenAiOiJFajRRcFEzM0hZd1oySlhZVExDZjZjMWxpM3ZUTGhqbSIsInNjb3BlIjoiaWQgb2NyIGN1cnAgaW5lIG5zcyByZmM6Z2V0IHJmYzp2YWxpZGF0ZSBzaWduIGNyaW1pbmFscmVjb3JkIGNyZWRpdCBmYWNlOmVucm9sbCBmYWNlOmlkZW50aWZ5IGZhY2U6Z2V0IHJlZ2lzdHJhZHVyaWEgYWZpcyIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbImlkIiwib2NyIiwiY3VycCIsImluZSIsIm5zcyIsInJmYzpnZXQiLCJyZmM6dmFsaWRhdGUiLCJzaWduIiwiY3JpbWluYWxyZWNvcmQiLCJjcmVkaXQiLCJmYWNlOmVucm9sbCIsImZhY2U6aWRlbnRpZnkiLCJmYWNlOmdldCIsInJlZ2lzdHJhZHVyaWEiLCJhZmlzIl19.U-4qQJNUjpVKW4NfTpPnE5Wes-B5Xhde18ihBodGTBuc4Q52dWYnhdCqtBvR6t1FttSCG9DYRiFhs6JbfLhxzwXv-q7YVuix3BomkH6I6sgz1ySY8yyiC9Jh274Bk2nAa40dAsl_c8JXgoo_QvaLjSXQFtEYidEvZ9tGjp4ocU3cnpM7Rx3PKAFhZd23m2kHzpZabBmxGHKSpQLluetvrBgrH7ko5EbXOJ8btOB2W6HBtluNpOTbXQmCXq0Q2Vsjob6oWQcDnWD0501OyCJ-JgYL0Lh-o3oDNdAXrS5DmRgg9XPtO19l7Lz9BBMsFY87BuP5sCGytw9c20YKaU-Ppw"},{"key":"Content-Type","value":"application/json"},{"key":"Cookie","value":"ARRAffinity=fff7d90f399b2119b51cf03dbe666334e59391c8837435842fa0bc3f1987c130; ARRAffinitySameSite=8d69b90c05ecaa44b24e8b059b2b951042d72e06f694220099f034a811455a01"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"MATCH_PERSON_TO_PERSON\",\n    \"personToPersonMatchRequest\": {\n        \"person\": {\n            \"registration\": {\n                \"fingerprintSample\": {\n                    \"sampleType\": \"TENPRINT_SLAP\",\n                    \"tenprint\": {\n                        \"rightIndex\": {\n                            \"format\": \"WSQ\",\n                            \"buffer\": \"imageBase64\"\n                        }\n                    }\n                }\n            }\n        }\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"377"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 20 May 2021 01:57:13 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"personToPersonMatchResponse\": {\n            \"basicResponse\": {\n                \"id\": \"a7d17247-8255-441a-b090-3a2298f9fa7d\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 89\n            },\n            \"candidate\": [\n                {\n                    \"id\": \"MXS_MPIEDADMX_713a2fea-96a2-4bd9-b0ab-364c28868d1a\",\n                    \"score\": 32938,\n                    \"clientData\": null,\n                    \"decision\": \"HIT\"\n                }\n            ]\n        }\n    }\n}"},{"id":"411630c3-d351-4c91-810f-1cb5a38431df","name":"InsertPerson-Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"INSERT_PERSON\",\n    \"insertPersonRequest\": {\n        \"person\": {\n            \"id\": \"80739400\",\n            \"registration\": {\n                \"id\": \"1\",\n                \"fingerprintSample\": {\n                    \"sampleType\": \"TENPRINT_SLAP\",\n                    \"tenprint\": {\n                        \"rightIndex\": {\n                            \"format\": \"WSQ\",\n                            \"buffer\": \"imageBase64\"\n                        }\n                    }\n                }\n            }\n        }\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"257"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 21 May 2021 13:45:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"insertPersonResponse\": {\n            \"basicResponse\": {\n                \"id\": \"8ed70037-bd3c-4601-98a2-aa15fe2f02a4\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 63\n            }\n        }\n    }\n}"},{"id":"5685c49d-904f-41c2-8992-f680533c9126","name":"DeletePerson-Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"DELETE_PERSON\",\n    \"deletePersonRequest\": {\n        \"id\": \"80739400\"\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"259"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId="},{"key":"Date","value":"Fri, 21 May 2021 13:41:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"deletePersonResponse\": {\n            \"basicResponse\": {\n                \"id\": \"d79c3aeb-2c97-4324-9601-1a3a566371c1\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 23\n            }\n        }\n    }\n}"},{"id":"92eeea97-0b6c-438c-a44e-df6bb4e97128","name":"GetPerson-Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"GET_PERSON\",\n    \"getPersonRequest\": {\n        \"id\": \"80739400\"\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"4028"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 21 May 2021 13:46:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"getPersonResponse\": {\n            \"basicResponse\": {\n                \"id\": \"41d73f64-fd71-479e-bc62-a2f85266fa76\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 7\n            },\n            \"person\": {\n                \"id\": \"MXS_MPIEDADMX_80739400\",\n                \"registration\": [\n                    {\n                        \"id\": 1,\n                        \"fingerprintSample\": [\n                            {\n                                \"id\": 0,\n                                \"sampleType\": \"TENPRINT_SLAP\",\n                                \"segments\": {\n                                    \"rightIndex\": {\n                                        \"xcentre\": 256,\n                                        \"ycentre\": 256,\n                                        \"width\": 512,\n                                        \"height\": 512,\n                                        \"angle\": 0\n                                    }\n                                },\n                                \"templates\": {\n                                    \"rightIndex\": {\n                                        \"buffer\": \"imageBase64\",\n                                        \"format\": \"CFV\",\n                                        \"templateFormat\": \"CFV\",\n                                        \"version\": \"PUBLIC_CODER_V20 - 5.20.0 (rev 2965) FeatureExtractor [GENERIC,linux-64bits-gcc4]\",\n                                        \"quality\": 166,\n                                        \"qualityScores\": [\n                                            {\n                                                \"name\": \"MORPHO_NBPK\",\n                                                \"score\": 85\n                                            },\n                                            {\n                                                \"name\": \"MORPHO\",\n                                                \"score\": 166\n                                            },\n                                            {\n                                                \"name\": \"ISO_19794\",\n                                                \"score\": 88\n                                            }\n                                        ]\n                                    }\n                                }\n                            }\n                        ]\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"a6b9fcf7-7600-4486-a5d1-710e3fc9f05a","name":"ExistPerson-Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"EXIST_PERSON\",\n    \"existPersonRequest\": {\n        \"id\": \"80739400\"\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"264"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 21 May 2021 13:52:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"existPersonResponse\": {\n            \"basicResponse\": {\n                \"id\": \"2fcae9ba-7408-497d-a7a5-6fea4e2c87d9\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 4\n            },\n            \"exist\": true\n        }\n    }\n}"},{"id":"2e58f16d-b816-4b1a-b78d-f9de3d2a2ba4","name":"UpdatePerson-Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"requestType\": \"UPDATE_PERSON\",\n    \"updatePersonRequest\": {\n        \"person\": {\n            \"id\": \"testing01\",\n            \"registration\": {\n                \"id\": \"1\",\n                \"fingerprintSample\": {\n                    \"sampleType\": \"TENPRINT_SLAP\",\n                    \"tenprint\": {\n                        \"rightIndex\": {\n                            \"format\": \"WSQ\",\n                            \"buffer\": \"ImageBase64\"\n                        },\n                    \"rightThumb\": {\n                            \"format\": \"WSQ\",\n                            \"buffer\": \"ImageBase64\"\n                        }\n                    }\n                }\n            }\n        }\n    }\n}"},"url":"https://veridocid.azure-api.net/api/afis/process"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"257"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 09 Jul 2021 16:11:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"return\": {\n        \"updatePersonResponse\": {\n            \"basicResponse\": {\n                \"id\": \"d44b4e6e-c14e-42bb-af58-7ae15f2d9821\",\n                \"error\": {\n                    \"code\": \"SUCCESS\"\n                },\n                \"duration\": 51\n            }\n        }\n    }\n}"}],"_postman_id":"ecac33b5-ed13-4941-96ff-1984b2fdccc9"}],"id":"c9301c6b-8c23-4edc-a6b2-4146aa65c869","_postman_id":"c9301c6b-8c23-4edc-a6b2-4146aa65c869","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Social","item":[{"name":"Email Verification","event":[{"listen":"test","script":{"id":"13886143-efe5-4058-83b9-0aed9fa0b9da","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'success' == false)) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains success\", function() {","            pm.response.to.have.jsonBody(\"success\");","            pm.expect(resp.success).to.be.oneOf([true, false]);","        });","","        pm.test(\"Respsonse should contains data\", function() {","            pm.response.to.have.jsonBody(\"data\");","        });","    }","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"7ce4dcea-8f09-477e-a3d9-848b57ad13d1","exec":["function makeid(length) {","   var result           = '';","   var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-';","   var charactersLength = characters.length;","   for ( var i = 0; i < length; i++ ) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","   }","   return result;","}","","const id = makeid(15)","","console.log(id)","","pm.collectionVariables.set(\"id\", `testing: ${id}`)"],"type":"text/javascript"}}],"id":"54609597-1336-4818-8633-9cf2d324b875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"email\": \"example@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/social/checkEmail","description":"<h1 id=\"validate-email-address\">Validate email address</h1>\n<p>HTTPS POST method that creates a new validation of an email address.<br /><br />\n<br />\nThe field <strong>id</strong> is required, this id allows you to identify your validation, you can name it as you want.\n<br />\nThe field <strong>email</strong> is also required, you have to send a valid email address.\n<br />\n<br />\nYou will recive a Json response which contains the following fields:\n<br />\n<strong>success</strong>: this is a field boolean. If the email validation was correctly done, you will receive true.\n<br />\n<strong>error</strong>: if success is true, you will receive an empty object. In the other case, you will receive an object with error specifications.\n<br />\n<strong>data</strong>: if success is false, you will receive an empty object. In the other case, you will receive an object with information that will helps you to determinate if the email address is correct.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Example</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>*</td>\n<td>test</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>email</strong>*</td>\n<td><a href=\"mailto:example@outlook.com\">example@outlook.com</a></td>\n<td>string</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with informative data</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid license</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","social","checkEmail"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"3308b654-3c73-496b-8d47-aff57a90491d","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"email\": \"example@example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/social/checkEmail"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 23 Jul 2021 00:42:48 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"error\": {},\n    \"data\": {\n        \"email\": \"example@example.com\",\n        \"score\": 81,\n        \"deliverable\": null,\n        \"domain_details\": {\n            \"domain\": \"example.com\",\n            \"tld\": \".com\",\n            \"created\": \"1995-08-14 04:00:00\",\n            \"updated\": \"2020-08-14 07:02:37\",\n            \"expires\": \"2021-08-13 04:00:00\",\n            \"registered\": true,\n            \"registrar_name\": \"RESERVED-Internet Assigned Numbers Authority\",\n            \"registered_to\": null,\n            \"disposable\": true,\n            \"free\": false,\n            \"custom\": false,\n            \"dmarc_enforced\": false,\n            \"spf_strict\": true,\n            \"valid_mx\": false,\n            \"accept_all\": false,\n            \"suspicious_tld\": false,\n            \"website_exists\": true\n        },\n        \"account_details\": {\n            \"apple\": {\n                \"registered\": true\n            },\n            \"ebay\": {\n                \"registered\": true\n            },\n            \"facebook\": {\n                \"registered\": true,\n                \"url\": null,\n                \"name\": null,\n                \"photo\": null\n            },\n            \"flickr\": {\n                \"registered\": true\n            },\n            \"foursquare\": {\n                \"registered\": true\n            },\n            \"github\": {\n                \"registered\": true\n            },\n            \"google\": {\n                \"registered\": true,\n                \"photo\": null\n            },\n            \"gravatar\": {\n                \"registered\": true\n            },\n            \"instagram\": {\n                \"registered\": false\n            },\n            \"lastfm\": {\n                \"registered\": false\n            },\n            \"linkedin\": {\n                \"registered\": false,\n                \"url\": null,\n                \"name\": null,\n                \"company\": null,\n                \"title\": null,\n                \"location\": null,\n                \"website\": null,\n                \"twitter\": null,\n                \"photo\": null\n            },\n            \"microsoft\": {\n                \"registered\": true\n            },\n            \"myspace\": {\n                \"registered\": true\n            },\n            \"pinterest\": {\n                \"registered\": true\n            },\n            \"skype\": {\n                \"registered\": true,\n                \"country\": \"India\",\n                \"city\": \"New Delhi\",\n                \"gender\": 1,\n                \"name\": \"Sunil Yadav\",\n                \"id\": \"live:sunil.yadav1321_1\",\n                \"handle\": \"live:sunil.yadav1321_1\",\n                \"bio\": \"Just Love Chiilin & Havin Fun...Never Tired of Give life a try.Peace.\",\n                \"age\": 29,\n                \"language\": \"en\",\n                \"state\": \"New Delhi\",\n                \"photo\": \"https://avatar.skype.com/v1/avatars/live:sunil.yadav1321_1/public?returnDefaultImage=true\"\n            },\n            \"spotify\": {\n                \"registered\": true\n            },\n            \"tumblr\": {\n                \"registered\": true\n            },\n            \"twitter\": {\n                \"registered\": true\n            },\n            \"vimeo\": {\n                \"registered\": true\n            },\n            \"weibo\": {\n                \"registered\": null\n            },\n            \"yahoo\": {\n                \"registered\": false\n            }\n        },\n        \"breach_details\": {\n            \"breaches\": [\n                {\n                    \"name\": \"000webhost\",\n                    \"domain\": \"000webhost.com\",\n                    \"date\": \"2015-03-01\"\n                },\n                {\n                    \"name\": \"123RF\",\n                    \"domain\": \"123rf.com\",\n                    \"date\": \"2020-03-22\"\n                },\n                {\n                    \"name\": \"17173\",\n                    \"domain\": \"17173.com\",\n                    \"date\": \"2011-12-28\"\n                },\n                {\n                    \"name\": \"2,844 Separate Data Breaches\",\n                    \"domain\": \"\",\n                    \"date\": \"2018-02-19\"\n                },\n                {\n                    \"name\": \"500px\",\n                    \"domain\": \"500px.com\",\n                    \"date\": \"2018-07-05\"\n                },\n                {\n                    \"name\": \"8fit\",\n                    \"domain\": \"8fit.com\",\n                    \"date\": \"2018-07-01\"\n                },\n                {\n                    \"name\": \"8tracks\",\n                    \"domain\": \"8tracks.com\",\n                    \"date\": \"2017-06-27\"\n                },\n                {\n                    \"name\": \"AbuseWith.Us\",\n                    \"domain\": \"abusewith.us\",\n                    \"date\": \"2016-07-01\"\n                },\n                {\n                    \"name\": \"Adobe\",\n                    \"domain\": \"adobe.com\",\n                    \"date\": \"2013-10-04\"\n                },\n                {\n                    \"name\": \"AerServ\",\n                    \"domain\": \"aerserv.com\",\n                    \"date\": \"2018-04-01\"\n                },\n                {\n                    \"name\": \"Animal Jam\",\n                    \"domain\": \"animaljam.com\",\n                    \"date\": \"2020-10-12\"\n                },\n                {\n                    \"name\": \"AnimeGame\",\n                    \"domain\": \"animegame.me\",\n                    \"date\": \"2020-02-27\"\n                },\n                {\n                    \"name\": \"Animoto\",\n                    \"domain\": \"animoto.com\",\n                    \"date\": \"2018-07-10\"\n                },\n                {\n                    \"name\": \"Anti Public Combo List\",\n                    \"domain\": \"\",\n                    \"date\": \"2016-12-16\"\n                },\n                {\n                    \"name\": \"Apollo\",\n                    \"domain\": \"apollo.io\",\n                    \"date\": \"2018-07-23\"\n                },\n                {\n                    \"name\": \"Appen\",\n                    \"domain\": \"appen.com\",\n                    \"date\": \"2020-06-22\"\n                },\n                {\n                    \"name\": \"Aptoide\",\n                    \"domain\": \"aptoide.com\",\n                    \"date\": \"2020-04-13\"\n                },\n                {\n                    \"name\": \"Armor Games\",\n                    \"domain\": \"armorgames.com\",\n                    \"date\": \"2019-01-01\"\n                },\n                {\n                    \"name\": \"Army Force Online\",\n                    \"domain\": \"armyforceonline.com\",\n                    \"date\": \"2016-05-18\"\n                },\n                {\n                    \"name\": \"B2B USA Businesses\",\n                    \"domain\": \"\",\n                    \"date\": \"2017-07-18\"\n                },\n                {\n                    \"name\": \"Bell (2017 breach)\",\n                    \"domain\": \"bell.ca\",\n                    \"date\": \"2017-05-15\"\n                },\n                {\n                    \"name\": \"bigbasket\",\n                    \"domain\": \"bigbasket.com\",\n                    \"date\": \"2020-10-14\"\n                },\n                {\n                    \"name\": \"Bitcoin Talk\",\n                    \"domain\": \"bitcointalk.org\",\n                    \"date\": \"2015-05-22\"\n                },\n                {\n                    \"name\": \"Bitly\",\n                    \"domain\": \"bitly.com\",\n                    \"date\": \"2014-05-08\"\n                },\n                {\n                    \"name\": \"BlackSpigotMC\",\n                    \"domain\": \"blackspigot.com\",\n                    \"date\": \"2019-07-14\"\n                },\n                {\n                    \"name\": \"BlankMediaGames\",\n                    \"domain\": \"blankmediagames.com\",\n                    \"date\": \"2018-12-28\"\n                },\n                {\n                    \"name\": \"Bolt\",\n                    \"domain\": \"bolt.cd\",\n                    \"date\": \"2017-03-01\"\n                },\n                {\n                    \"name\": \"Bonobos\",\n                    \"domain\": \"bonobos.com\",\n                    \"date\": \"2020-08-14\"\n                },\n                {\n                    \"name\": \"Bookmate\",\n                    \"domain\": \"bookmate.com\",\n                    \"date\": \"2018-07-08\"\n                },\n                {\n                    \"name\": \"BTC-E\",\n                    \"domain\": \"btc-e.com\",\n                    \"date\": \"2014-10-01\"\n                },\n                {\n                    \"name\": \"CafeMom\",\n                    \"domain\": \"cafemom.com\",\n                    \"date\": \"2014-04-10\"\n                },\n                {\n                    \"name\": \"Canva\",\n                    \"domain\": \"canva.com\",\n                    \"date\": \"2019-05-24\"\n                },\n                {\n                    \"name\": \"CashCrate\",\n                    \"domain\": \"cashcrate.com\",\n                    \"date\": \"2016-11-17\"\n                },\n                {\n                    \"name\": \"Chegg\",\n                    \"domain\": \"chegg.com\",\n                    \"date\": \"2018-04-28\"\n                },\n                {\n                    \"name\": \"Cit0day\",\n                    \"domain\": \"cit0day.in\",\n                    \"date\": \"2020-11-04\"\n                },\n                {\n                    \"name\": \"ClearVoice Surveys\",\n                    \"domain\": \"clearvoicesurveys.com\",\n                    \"date\": \"2015-08-23\"\n                },\n                {\n                    \"name\": \"Club Penguin Rewritten (January 2018)\",\n                    \"domain\": \"cprewritten.net\",\n                    \"date\": \"2018-01-21\"\n                },\n                {\n                    \"name\": \"Collection #1\",\n                    \"domain\": \"\",\n                    \"date\": \"2019-01-07\"\n                },\n                {\n                    \"name\": \"Coupon Mom / Armor Games\",\n                    \"domain\": \"\",\n                    \"date\": \"2014-02-08\"\n                },\n                {\n                    \"name\": \"Covve\",\n                    \"domain\": \"covve.com\",\n                    \"date\": \"2020-02-20\"\n                },\n                {\n                    \"name\": \"Cracked.to\",\n                    \"domain\": \"cracked.to\",\n                    \"date\": \"2019-07-21\"\n                },\n                {\n                    \"name\": \"Creative\",\n                    \"domain\": \"creative.com\",\n                    \"date\": \"2018-05-01\"\n                },\n                {\n                    \"name\": \"Cross Fire\",\n                    \"domain\": \"cfire.mail.ru\",\n                    \"date\": \"2016-08-08\"\n                },\n                {\n                    \"name\": \"Daily Quiz\",\n                    \"domain\": \"dailyquiz.me\",\n                    \"date\": \"2021-01-13\"\n                },\n                {\n                    \"name\": \"Dailymotion\",\n                    \"domain\": \"dailymotion.com\",\n                    \"date\": \"2016-10-20\"\n                },\n                {\n                    \"name\": \"DaniWeb\",\n                    \"domain\": \"daniweb.com\",\n                    \"date\": \"2015-12-01\"\n                },\n                {\n                    \"name\": \"Data Enrichment Exposure From PDL Customer\",\n                    \"domain\": \"\",\n                    \"date\": \"2019-10-16\"\n                },\n                {\n                    \"name\": \"Disqus\",\n                    \"domain\": \"disqus.com\",\n                    \"date\": \"2012-07-01\"\n                },\n                {\n                    \"name\": \"DLH.net\",\n                    \"domain\": \"dlh.net\",\n                    \"date\": \"2016-07-31\"\n                },\n                {\n                    \"name\": \"Dodonew.com\",\n                    \"domain\": \"dodonew.com\",\n                    \"date\": \"2011-12-01\"\n                },\n                {\n                    \"name\": \"Domino's\",\n                    \"domain\": \"pizza.dominos.be\",\n                    \"date\": \"2014-06-13\"\n                },\n                {\n                    \"name\": \"Dropbox\",\n                    \"domain\": \"dropbox.com\",\n                    \"date\": \"2012-07-01\"\n                },\n                {\n                    \"name\": \"Dubsmash\",\n                    \"domain\": \"dubsmash.com\",\n                    \"date\": \"2018-12-01\"\n                },\n                {\n                    \"name\": \"Dueling Network\",\n                    \"domain\": \"duelingnetwork.com\",\n                    \"date\": \"2017-03-29\"\n                },\n                {\n                    \"name\": \"EatStreet\",\n                    \"domain\": \"eatstreet.com\",\n                    \"date\": \"2019-05-03\"\n                },\n                {\n                    \"name\": \"Elance\",\n                    \"domain\": \"elance.com\",\n                    \"date\": \"2009-01-01\"\n                },\n                {\n                    \"name\": \"Everybody Edits\",\n                    \"domain\": \"everybodyedits.com\",\n                    \"date\": \"2019-03-23\"\n                },\n                {\n                    \"name\": \"Evite\",\n                    \"domain\": \"evite.com\",\n                    \"date\": \"2013-08-11\"\n                },\n                {\n                    \"name\": \"Evony\",\n                    \"domain\": \"evony.com\",\n                    \"date\": \"2016-06-01\"\n                },\n                {\n                    \"name\": \"Exploit.In\",\n                    \"domain\": \"\",\n                    \"date\": \"2016-10-13\"\n                },\n                {\n                    \"name\": \"EyeEm\",\n                    \"domain\": \"eyeem.com\",\n                    \"date\": \"2018-02-28\"\n                },\n                {\n                    \"name\": \"Factual\",\n                    \"domain\": \"factual.com\",\n                    \"date\": \"2017-03-22\"\n                },\n                {\n                    \"name\": \"FashionFantasyGame\",\n                    \"domain\": \"fashionfantasygame.com\",\n                    \"date\": \"2016-12-01\"\n                },\n                {\n                    \"name\": \"Final Fantasy Shrine\",\n                    \"domain\": \"ffshrine.org\",\n                    \"date\": \"2015-09-18\"\n                },\n                {\n                    \"name\": \"Flash Flash Revolution (2016 breach)\",\n                    \"domain\": \"flashflashrevolution.com\",\n                    \"date\": \"2016-02-01\"\n                },\n                {\n                    \"name\": \"Flash Flash Revolution (2019 breach)\",\n                    \"domain\": \"flashflashrevolution.com\",\n                    \"date\": \"2019-07-16\"\n                },\n                {\n                    \"name\": \"Fotolog\",\n                    \"domain\": \"fotolog.com\",\n                    \"date\": \"2018-12-01\"\n                },\n                {\n                    \"name\": \"Funimation\",\n                    \"domain\": \"funimation.com\",\n                    \"date\": \"2016-07-01\"\n                },\n                {\n                    \"name\": \"Gaadi\",\n                    \"domain\": \"gaadi.com\",\n                    \"date\": \"2015-05-14\"\n                },\n                {\n                    \"name\": \"GameSalad\",\n                    \"domain\": \"gamesalad.com\",\n                    \"date\": \"2019-02-24\"\n                },\n                {\n                    \"name\": \"Ge.tt\",\n                    \"domain\": \"ge.tt\",\n                    \"date\": \"2017-05-04\"\n                },\n                {\n                    \"name\": \"GeekedIn\",\n                    \"domain\": \"geekedin.net\",\n                    \"date\": \"2016-08-15\"\n                },\n                {\n                    \"name\": \"GFAN\",\n                    \"domain\": \"gfan.com\",\n                    \"date\": \"2016-10-10\"\n                },\n                {\n                    \"name\": \"Glofox\",\n                    \"domain\": \"glofox.com\",\n                    \"date\": \"2020-03-27\"\n                },\n                {\n                    \"name\": \"Go Games\",\n                    \"domain\": \"gogames.me\",\n                    \"date\": \"2015-10-24\"\n                },\n                {\n                    \"name\": \"Guns and Robots\",\n                    \"domain\": \"play-gar.com\",\n                    \"date\": \"2016-04-01\"\n                },\n                {\n                    \"name\": \"HauteLook\",\n                    \"domain\": \"hautelook.com\",\n                    \"date\": \"2018-08-07\"\n                },\n                {\n                    \"name\": \"Havenly\",\n                    \"domain\": \"havenly.com\",\n                    \"date\": \"2020-06-25\"\n                },\n                {\n                    \"name\": \"Heroes of Newerth\",\n                    \"domain\": \"heroesofnewerth.com\",\n                    \"date\": \"2012-12-17\"\n                },\n                {\n                    \"name\": \"HiAPK\",\n                    \"domain\": \"hiapk.com\",\n                    \"date\": \"2014-01-01\"\n                },\n                {\n                    \"name\": \"Home Chef\",\n                    \"domain\": \"homechef.com\",\n                    \"date\": \"2020-02-10\"\n                },\n                {\n                    \"name\": \"HoundDawgs\",\n                    \"domain\": \"hounddawgs.org\",\n                    \"date\": \"2017-12-30\"\n                },\n                {\n                    \"name\": \"Houzz\",\n                    \"domain\": \"houzz.com\",\n                    \"date\": \"2018-05-23\"\n                },\n                {\n                    \"name\": \"Hurb\",\n                    \"domain\": \"hurb.com\",\n                    \"date\": \"2019-03-14\"\n                },\n                {\n                    \"name\": \"i-Dressup\",\n                    \"domain\": \"i-dressup.com\",\n                    \"date\": \"2016-07-15\"\n                },\n                {\n                    \"name\": \"IIMJobs\",\n                    \"domain\": \"iimjobs.com\",\n                    \"date\": \"2018-12-31\"\n                },\n                {\n                    \"name\": \"iMesh\",\n                    \"domain\": \"imesh.com\",\n                    \"date\": \"2013-09-22\"\n                },\n                {\n                    \"name\": \"InterPals\",\n                    \"domain\": \"interpals.net\",\n                    \"date\": \"2015-11-04\"\n                },\n                {\n                    \"name\": \"iPmart\",\n                    \"domain\": \"ipmart-forum.com\",\n                    \"date\": \"2015-07-01\"\n                },\n                {\n                    \"name\": \"ixigo\",\n                    \"domain\": \"ixigo.com\",\n                    \"date\": \"2019-01-03\"\n                },\n                {\n                    \"name\": \"JD\",\n                    \"domain\": \"jd.com\",\n                    \"date\": \"2013-01-01\"\n                },\n                {\n                    \"name\": \"Jefit\",\n                    \"domain\": \"jefit.com\",\n                    \"date\": \"2020-08-11\"\n                },\n                {\n                    \"name\": \"Jobandtalent\",\n                    \"domain\": \"jobandtalent.com\",\n                    \"date\": \"2018-02-01\"\n                },\n                {\n                    \"name\": \"Kayo.moe Credential Stuffing List\",\n                    \"domain\": \"\",\n                    \"date\": \"2018-09-11\"\n                },\n                {\n                    \"name\": \"KM.RU\",\n                    \"domain\": \"km.ru\",\n                    \"date\": \"2016-02-29\"\n                },\n                {\n                    \"name\": \"Last.fm\",\n                    \"domain\": \"last.fm\",\n                    \"date\": \"2012-03-22\"\n                },\n                {\n                    \"name\": \"Lead Hunter\",\n                    \"domain\": \"\",\n                    \"date\": \"2020-03-04\"\n                },\n                {\n                    \"name\": \"Ledger\",\n                    \"domain\": \"ledger.com\",\n                    \"date\": \"2020-06-25\"\n                },\n                {\n                    \"name\": \"Leet\",\n                    \"domain\": \"leet.cc\",\n                    \"date\": \"2016-09-10\"\n                },\n                {\n                    \"name\": \"Lifeboat\",\n                    \"domain\": \"lbsg.net\",\n                    \"date\": \"2016-01-01\"\n                },\n                {\n                    \"name\": \"LinkedIn\",\n                    \"domain\": \"linkedin.com\",\n                    \"date\": \"2012-05-05\"\n                },\n                {\n                    \"name\": \"LiveAuctioneers\",\n                    \"domain\": \"liveauctioneers.com\",\n                    \"date\": \"2020-06-19\"\n                },\n                {\n                    \"name\": \"LiveJournal\",\n                    \"domain\": \"livejournal.com\",\n                    \"date\": \"2017-01-01\"\n                },\n                {\n                    \"name\": \"Mac Forums\",\n                    \"domain\": \"mac-forums.com\",\n                    \"date\": \"2016-07-03\"\n                },\n                {\n                    \"name\": \"MALL.cz\",\n                    \"domain\": \"mall.cz\",\n                    \"date\": \"2017-07-27\"\n                },\n                {\n                    \"name\": \"MangaDex\",\n                    \"domain\": \"mangadex.org\",\n                    \"date\": \"2021-03-22\"\n                },\n                {\n                    \"name\": \"Mathway\",\n                    \"domain\": \"mathway.com\",\n                    \"date\": \"2020-01-13\"\n                },\n                {\n                    \"name\": \"Minehut\",\n                    \"domain\": \"minehut.com\",\n                    \"date\": \"2019-05-17\"\n                },\n                {\n                    \"name\": \"Modern Business Solutions\",\n                    \"domain\": \"modbsolutions.com\",\n                    \"date\": \"2016-10-08\"\n                },\n                {\n                    \"name\": \"Moneycontrol\",\n                    \"domain\": \"moneycontrol.com\",\n                    \"date\": \"2017-09-07\"\n                },\n                {\n                    \"name\": \"MPGH\",\n                    \"domain\": \"mpgh.net\",\n                    \"date\": \"2015-10-22\"\n                },\n                {\n                    \"name\": \"MrExcel\",\n                    \"domain\": \"mrexcel.com\",\n                    \"date\": \"2016-12-05\"\n                },\n                {\n                    \"name\": \"MyFitnessPal\",\n                    \"domain\": \"myfitnesspal.com\",\n                    \"date\": \"2018-02-01\"\n                },\n                {\n                    \"name\": \"MyHeritage\",\n                    \"domain\": \"myheritage.com\",\n                    \"date\": \"2017-10-26\"\n                },\n                {\n                    \"name\": \"myRepoSpace\",\n                    \"domain\": \"myrepospace.com\",\n                    \"date\": \"2015-07-06\"\n                },\n                {\n                    \"name\": \"MySpace\",\n                    \"domain\": \"myspace.com\",\n                    \"date\": \"2008-07-01\"\n                },\n                {\n                    \"name\": \"NemoWeb\",\n                    \"domain\": \"nemoweb.net\",\n                    \"date\": \"2016-09-04\"\n                },\n                {\n                    \"name\": \"Neopets\",\n                    \"domain\": \"neopets.com\",\n                    \"date\": \"2013-05-05\"\n                },\n                {\n                    \"name\": \"NetEase\",\n                    \"domain\": \"163.com\",\n                    \"date\": \"2015-10-19\"\n                },\n                {\n                    \"name\": \"Neteller\",\n                    \"domain\": \"neteller.com\",\n                    \"date\": \"2010-05-17\"\n                },\n                {\n                    \"name\": \"Netlog\",\n                    \"domain\": \"netlog.com\",\n                    \"date\": \"2012-11-01\"\n                },\n                {\n                    \"name\": \"NextGenUpdate\",\n                    \"domain\": \"nextgenupdate.com\",\n                    \"date\": \"2014-04-22\"\n                },\n                {\n                    \"name\": \"Nexus Mods\",\n                    \"domain\": \"nexusmods.com\",\n                    \"date\": \"2013-07-22\"\n                },\n                {\n                    \"name\": \"Nihonomaru\",\n                    \"domain\": \"nihonomaru.net\",\n                    \"date\": \"2015-12-01\"\n                },\n                {\n                    \"name\": \"Nitro\",\n                    \"domain\": \"gonitro.com\",\n                    \"date\": \"2020-09-28\"\n                },\n                {\n                    \"name\": \"OGUsers (2019 breach)\",\n                    \"domain\": \"ogusers.com\",\n                    \"date\": \"2018-12-26\"\n                },\n                {\n                    \"name\": \"OGUsers (2020 breach)\",\n                    \"domain\": \"ogusers.com\",\n                    \"date\": \"2020-04-02\"\n                },\n                {\n                    \"name\": \"Onliner Spambot\",\n                    \"domain\": \"\",\n                    \"date\": \"2017-08-28\"\n                },\n                {\n                    \"name\": \"Onverse\",\n                    \"domain\": \"onverse.com\",\n                    \"date\": \"2016-01-01\"\n                },\n                {\n                    \"name\": \"Open CS:GO\",\n                    \"domain\": \"opencsgo.com\",\n                    \"date\": \"2017-11-28\"\n                },\n                {\n                    \"name\": \"Oxfam\",\n                    \"domain\": \"oxfam.org.au\",\n                    \"date\": \"2021-01-20\"\n                },\n                {\n                    \"name\": \"Pemiblanc\",\n                    \"domain\": \"pemiblanc.com\",\n                    \"date\": \"2018-04-02\"\n                },\n                {\n                    \"name\": \"People's Energy\",\n                    \"domain\": \"peoplesenergy.co.uk\",\n                    \"date\": \"2020-12-16\"\n                },\n                {\n                    \"name\": \"PetFlow\",\n                    \"domain\": \"petflow.com\",\n                    \"date\": \"2017-12-09\"\n                },\n                {\n                    \"name\": \"Pixlr\",\n                    \"domain\": \"pixlr.com\",\n                    \"date\": \"2020-10-07\"\n                },\n                {\n                    \"name\": \"Pokémon Creed\",\n                    \"domain\": \"pokemoncreed.net\",\n                    \"date\": \"2014-08-08\"\n                },\n                {\n                    \"name\": \"Poshmark\",\n                    \"domain\": \"poshmark.com\",\n                    \"date\": \"2018-05-16\"\n                },\n                {\n                    \"name\": \"ProctorU\",\n                    \"domain\": \"proctoru.com\",\n                    \"date\": \"2020-06-26\"\n                },\n                {\n                    \"name\": \"Promo\",\n                    \"domain\": \"promo.com\",\n                    \"date\": \"2020-06-22\"\n                },\n                {\n                    \"name\": \"PropTiger\",\n                    \"domain\": \"proptiger.com\",\n                    \"date\": \"2018-01-30\"\n                },\n                {\n                    \"name\": \"PSP ISO\",\n                    \"domain\": \"pspiso.com\",\n                    \"date\": \"2015-09-25\"\n                },\n                {\n                    \"name\": \"QIP\",\n                    \"domain\": \"qip.ru\",\n                    \"date\": \"2011-06-01\"\n                },\n                {\n                    \"name\": \"Quidd\",\n                    \"domain\": \"quidd.co\",\n                    \"date\": \"2019-07-01\"\n                },\n                {\n                    \"name\": \"QuinStreet\",\n                    \"domain\": \"quinstreet.com\",\n                    \"date\": \"2015-12-14\"\n                },\n                {\n                    \"name\": \"R2Games\",\n                    \"domain\": \"r2games.com\",\n                    \"date\": \"2015-11-01\"\n                },\n                {\n                    \"name\": \"Raychat\",\n                    \"domain\": \"raychat.ir\",\n                    \"date\": \"2021-01-31\"\n                },\n                {\n                    \"name\": \"ReverbNation\",\n                    \"domain\": \"reverbnation.com\",\n                    \"date\": \"2014-01-01\"\n                },\n                {\n                    \"name\": \"River City Media Spam List\",\n                    \"domain\": \"rivercitymediaonline.com\",\n                    \"date\": \"2017-01-01\"\n                },\n                {\n                    \"name\": \"Roll20\",\n                    \"domain\": \"roll20.net\",\n                    \"date\": \"2018-12-26\"\n                },\n                {\n                    \"name\": \"Romwe\",\n                    \"domain\": \"romwe.com\",\n                    \"date\": \"2018-06-01\"\n                },\n                {\n                    \"name\": \"Scentbird\",\n                    \"domain\": \"scentbird.com\",\n                    \"date\": \"2020-06-22\"\n                },\n                {\n                    \"name\": \"ShareThis\",\n                    \"domain\": \"sharethis.com\",\n                    \"date\": \"2018-07-09\"\n                },\n                {\n                    \"name\": \"SHEIN\",\n                    \"domain\": \"shein.com\",\n                    \"date\": \"2018-06-01\"\n                },\n                {\n                    \"name\": \"ShopBack\",\n                    \"domain\": \"shopback.com\",\n                    \"date\": \"2020-09-17\"\n                },\n                {\n                    \"name\": \"Shotbow\",\n                    \"domain\": \"shotbow.net\",\n                    \"date\": \"2016-05-09\"\n                },\n                {\n                    \"name\": \"Snail\",\n                    \"domain\": \"snail.com\",\n                    \"date\": \"2015-03-14\"\n                },\n                {\n                    \"name\": \"Social Engineered\",\n                    \"domain\": \"socialengineered.net\",\n                    \"date\": \"2019-06-13\"\n                },\n                {\n                    \"name\": \"Staminus\",\n                    \"domain\": \"staminus.net\",\n                    \"date\": \"2016-03-11\"\n                },\n                {\n                    \"name\": \"StarTribune\",\n                    \"domain\": \"startribune.com\",\n                    \"date\": \"2019-10-10\"\n                },\n                {\n                    \"name\": \"StockX\",\n                    \"domain\": \"stockx.com\",\n                    \"date\": \"2019-07-26\"\n                },\n                {\n                    \"name\": \"StoryBird\",\n                    \"domain\": \"storybird.com\",\n                    \"date\": \"2015-08-07\"\n                },\n                {\n                    \"name\": \"Straffic\",\n                    \"domain\": \"straffic.io\",\n                    \"date\": \"2020-02-14\"\n                },\n                {\n                    \"name\": \"Stratfor\",\n                    \"domain\": \"stratfor.com\",\n                    \"date\": \"2011-12-24\"\n                },\n                {\n                    \"name\": \"Stronghold Kingdoms\",\n                    \"domain\": \"strongholdkingdoms.com\",\n                    \"date\": \"2018-07-04\"\n                },\n                {\n                    \"name\": \"SweClockers.com\",\n                    \"domain\": \"sweclockers.com\",\n                    \"date\": \"2015-04-01\"\n                },\n                {\n                    \"name\": \"Taobao\",\n                    \"domain\": \"taobao.com\",\n                    \"date\": \"2012-01-01\"\n                },\n                {\n                    \"name\": \"Technic\",\n                    \"domain\": \"technicpack.net\",\n                    \"date\": \"2018-11-30\"\n                },\n                {\n                    \"name\": \"Teespring\",\n                    \"domain\": \"teespring.com\",\n                    \"date\": \"2020-04-01\"\n                },\n                {\n                    \"name\": \"TGBUS\",\n                    \"domain\": \"tgbus.com\",\n                    \"date\": \"2017-09-01\"\n                },\n                {\n                    \"name\": \"TheTVDB.com\",\n                    \"domain\": \"thetvdb.com\",\n                    \"date\": \"2017-11-21\"\n                },\n                {\n                    \"name\": \"Tianya\",\n                    \"domain\": \"tianya.cn\",\n                    \"date\": \"2011-12-26\"\n                },\n                {\n                    \"name\": \"Ticketfly\",\n                    \"domain\": \"ticketfly.com\",\n                    \"date\": \"2018-05-31\"\n                },\n                {\n                    \"name\": \"ToonDoo\",\n                    \"domain\": \"toondoo.com\",\n                    \"date\": \"2019-08-21\"\n                },\n                {\n                    \"name\": \"Torrent Invites\",\n                    \"domain\": \"torrent-invites.com\",\n                    \"date\": \"2013-12-12\"\n                },\n                {\n                    \"name\": \"Travel Oklahoma\",\n                    \"domain\": \"travelok.com\",\n                    \"date\": \"2020-12-17\"\n                },\n                {\n                    \"name\": \"Trik Spam Botnet\",\n                    \"domain\": \"\",\n                    \"date\": \"2018-06-12\"\n                },\n                {\n                    \"name\": \"Trillian\",\n                    \"domain\": \"trillian.im\",\n                    \"date\": \"2015-12-27\"\n                },\n                {\n                    \"name\": \"tumblr\",\n                    \"domain\": \"tumblr.com\",\n                    \"date\": \"2013-02-28\"\n                },\n                {\n                    \"name\": \"University of California\",\n                    \"domain\": \"universityofcalifornia.edu\",\n                    \"date\": \"2020-12-24\"\n                },\n                {\n                    \"name\": \"Unverified Data Source\",\n                    \"domain\": \"astoriacompany.com\",\n                    \"date\": \"2021-01-26\"\n                },\n                {\n                    \"name\": \"uTorrent\",\n                    \"domain\": \"utorrent.com\",\n                    \"date\": \"2016-01-14\"\n                },\n                {\n                    \"name\": \"uuu9\",\n                    \"domain\": \"uuu9.com\",\n                    \"date\": \"2016-09-06\"\n                },\n                {\n                    \"name\": \"Verifications.io\",\n                    \"domain\": \"verifications.io\",\n                    \"date\": \"2019-02-25\"\n                },\n                {\n                    \"name\": \"VK\",\n                    \"domain\": \"vk.com\",\n                    \"date\": \"2012-01-01\"\n                },\n                {\n                    \"name\": \"Wanelo\",\n                    \"domain\": \"wanelo.com\",\n                    \"date\": \"2018-12-13\"\n                },\n                {\n                    \"name\": \"Wattpad\",\n                    \"domain\": \"wattpad.com\",\n                    \"date\": \"2020-06-29\"\n                },\n                {\n                    \"name\": \"We Heart It\",\n                    \"domain\": \"weheartit.com\",\n                    \"date\": \"2013-11-03\"\n                },\n                {\n                    \"name\": \"Whitepages\",\n                    \"domain\": \"whitepages.com\",\n                    \"date\": \"2016-06-27\"\n                },\n                {\n                    \"name\": \"WHMCS\",\n                    \"domain\": \"whmcs.com\",\n                    \"date\": \"2012-05-21\"\n                },\n                {\n                    \"name\": \"Wishbone (2016)\",\n                    \"domain\": \"wishbone.io\",\n                    \"date\": \"2016-08-07\"\n                },\n                {\n                    \"name\": \"Wishbone (2020)\",\n                    \"domain\": \"wishbone.io\",\n                    \"date\": \"2020-01-27\"\n                },\n                {\n                    \"name\": \"Wongnai\",\n                    \"domain\": \"wongnai.com\",\n                    \"date\": \"2020-10-28\"\n                },\n                {\n                    \"name\": \"xat\",\n                    \"domain\": \"xat.com\",\n                    \"date\": \"2015-11-04\"\n                },\n                {\n                    \"name\": \"Xbox-Scene\",\n                    \"domain\": \"xboxscene.com\",\n                    \"date\": \"2015-02-01\"\n                },\n                {\n                    \"name\": \"XPG\",\n                    \"domain\": \"xpgamesaves.com\",\n                    \"date\": \"2016-01-01\"\n                },\n                {\n                    \"name\": \"XSplit\",\n                    \"domain\": \"xsplit.com\",\n                    \"date\": \"2013-11-07\"\n                },\n                {\n                    \"name\": \"Yam\",\n                    \"domain\": \"yam.com\",\n                    \"date\": \"2013-06-02\"\n                },\n                {\n                    \"name\": \"Yatra\",\n                    \"domain\": \"yatra.com\",\n                    \"date\": \"2013-09-01\"\n                },\n                {\n                    \"name\": \"YouNow\",\n                    \"domain\": \"younow.com\",\n                    \"date\": \"2019-02-15\"\n                },\n                {\n                    \"name\": \"Zomato\",\n                    \"domain\": \"zomato.com\",\n                    \"date\": \"2017-05-17\"\n                },\n                {\n                    \"name\": \"Zoomcar\",\n                    \"domain\": \"zoomcar.com\",\n                    \"date\": \"2018-07-01\"\n                },\n                {\n                    \"name\": \"Zynga\",\n                    \"domain\": \"zynga.com\",\n                    \"date\": \"2019-09-01\"\n                },\n                {\n                    \"name\": \"Пара Па\",\n                    \"domain\": \"parapa.mail.ru\",\n                    \"date\": \"2016-08-08\"\n                },\n                {\n                    \"name\": \"Спрашивай.ру\",\n                    \"domain\": \"sprashivai.ru\",\n                    \"date\": \"2015-05-11\"\n                },\n                {\n                    \"name\": \"siph0n.in\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{$mybb->settings[\\\\'bbname\\\\']}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"remotestaff.com.au\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"balockae.online\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"pxahb.xyz\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"www.pemiblanc.com\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"hypixel.party\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"cdn-03.anonfile.com\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"discordgg.ga\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"187.85.134.4\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{$mybb->settings[\\\\'bbname\\\\']}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{$mybb->settings[\\\\'bbname\\\\']}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"\\\\' . $pages[\\\\'name\\\\'] . \\\\'\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"Upgrade - (Website name here)\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{$mybb->settings[\\\\'bbname\\\\']}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"404 Not Found\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"404 Not Found\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"404 Not Found\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"underground-revolution.eu\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"185.177.126.72\",\n                    \"domain\": null,\n                    \"date\": null\n                },\n                {\n                    \"name\": \"NL list\",\n                    \"domain\": null,\n                    \"date\": \"2013-06-22\"\n                },\n                {\n                    \"name\": \"Email I\",\n                    \"domain\": null,\n                    \"date\": \"2014-02-04\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2014-08-07\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2014-08-29\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2014-08-29\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2014-08-30\"\n                },\n                {\n                    \"name\": \"PH1K3 EGYPT GOV LEAK\",\n                    \"domain\": null,\n                    \"date\": \"2014-09-16\"\n                },\n                {\n                    \"name\": \"Satyabama University India Whole Database Leaked By KaMi\",\n                    \"domain\": null,\n                    \"date\": \"2014-10-13\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2014-11-02\"\n                },\n                {\n                    \"name\": \"5k email dump list\",\n                    \"domain\": null,\n                    \"date\": \"2014-11-16\"\n                },\n                {\n                    \"name\": \"................\",\n                    \"domain\": null,\n                    \"date\": \"2015-04-17\"\n                },\n                {\n                    \"name\": \"Egypt gov stuff\",\n                    \"domain\": null,\n                    \"date\": \"2015-05-01\"\n                },\n                {\n                    \"name\": \"mailist\",\n                    \"domain\": null,\n                    \"date\": \"2015-05-21\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-06-08\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-06-08\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-06-19\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-06-21\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-07-11\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-08-01\"\n                },\n                {\n                    \"name\": \"17174 mail valid other\",\n                    \"domain\": null,\n                    \"date\": \"2015-08-28\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-10-13\"\n                },\n                {\n                    \"name\": \"dorethjones LEAKED EMAILS AND PASSWORDS OF CUSTOMERS\",\n                    \"domain\": null,\n                    \"date\": \"2015-11-07\"\n                },\n                {\n                    \"name\": \"blackside\",\n                    \"domain\": null,\n                    \"date\": \"2015-11-21\"\n                },\n                {\n                    \"name\": \"gitlab.rb default\",\n                    \"domain\": null,\n                    \"date\": \"2015-12-08\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2015-12-08\"\n                },\n                {\n                    \"name\": \"project_snailz\",\n                    \"domain\": null,\n                    \"date\": \"2016-01-01\"\n                },\n                {\n                    \"name\": \"project_snailz\",\n                    \"domain\": null,\n                    \"date\": \"2016-01-01\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-01-29\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-03-21\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-04-16\"\n                },\n                {\n                    \"name\": \"[LEAK] nationalpoultryequipment.com\",\n                    \"domain\": null,\n                    \"date\": \"2016-06-24\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-07-04\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-07-07\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-07-07\"\n                },\n                {\n                    \"name\": \"DB\",\n                    \"domain\": null,\n                    \"date\": \"2016-08-13\"\n                },\n                {\n                    \"name\": \"11K emails turbo\",\n                    \"domain\": null,\n                    \"date\": \"2016-09-01\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-09-02\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-09-06\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-09-14\"\n                },\n                {\n                    \"name\": \"100k SQLi..txt\",\n                    \"domain\": null,\n                    \"date\": \"2016-09-15\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-09-28\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2016-11-03\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-01-18\"\n                },\n                {\n                    \"name\": \"Amz 1200\",\n                    \"domain\": null,\n                    \"date\": \"2017-02-14\"\n                },\n                {\n                    \"name\": \"bingojay10k\",\n                    \"domain\": null,\n                    \"date\": \"2017-02-15\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-01\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-02\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-04\"\n                },\n                {\n                    \"name\": \"gitlab.rb\",\n                    \"domain\": null,\n                    \"date\": \"2017-03-09\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-22\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-23\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-03-24\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-04-25\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-04-26\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-05-17\"\n                },\n                {\n                    \"name\": \"partial of the roblox database\",\n                    \"domain\": null,\n                    \"date\": \"2017-06-06\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-08-21\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-10-05\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-10-24\"\n                },\n                {\n                    \"name\": \"List.txt\",\n                    \"domain\": null,\n                    \"date\": \"2017-11-20\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2017-12-14\"\n                },\n                {\n                    \"name\": \"dsds\",\n                    \"domain\": null,\n                    \"date\": \"2017-12-24\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-01-06\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-01-08\"\n                },\n                {\n                    \"name\": \"surprise for u\",\n                    \"domain\": null,\n                    \"date\": \"2018-01-15\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-01-20\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-01-24\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-02-02\"\n                },\n                {\n                    \"name\": \"COMBOS FRESCO 14K\",\n                    \"domain\": null,\n                    \"date\": \"2018-02-05\"\n                },\n                {\n                    \"name\": \"Des comptes Pandora WWE INSTAGRAM TWITTER\",\n                    \"domain\": null,\n                    \"date\": \"2018-02-10\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-02-11\"\n                },\n                {\n                    \"name\": \"jerry2\",\n                    \"domain\": null,\n                    \"date\": \"2018-03-04\"\n                },\n                {\n                    \"name\": \"roblox\",\n                    \"domain\": null,\n                    \"date\": \"2018-03-18\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-03-28\"\n                },\n                {\n                    \"name\": \"shardgaming.com users\",\n                    \"domain\": null,\n                    \"date\": \"2018-04-01\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-06\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-07\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-16\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-16\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-16\"\n                },\n                {\n                    \"name\": \"shardgaming_users.db\",\n                    \"domain\": null,\n                    \"date\": \"2018-04-19\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-04-26\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-05-20\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-06-16\"\n                },\n                {\n                    \"name\": \"asdasda\",\n                    \"domain\": null,\n                    \"date\": \"2018-07-04\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-07-10\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-07-10\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-07-14\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-09-04\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-09-04\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-09-05\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-10-29\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-11-06\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2018-11-10\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-01-30\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-02-23\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-02-23\"\n                },\n                {\n                    \"name\": \"MAILIST IT\",\n                    \"domain\": null,\n                    \"date\": \"2019-03-12\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-03-20\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-03-28\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-05-11\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-06-07\"\n                },\n                {\n                    \"name\": \"fuck roblox ban me\",\n                    \"domain\": null,\n                    \"date\": \"2019-06-09\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-06-14\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-06-29\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-08-21\"\n                },\n                {\n                    \"name\": \"settings.yml\",\n                    \"domain\": null,\n                    \"date\": \"2019-09-08\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2019-11-12\"\n                },\n                {\n                    \"name\": \"M\",\n                    \"domain\": null,\n                    \"date\": \"2019-12-19\"\n                },\n                {\n                    \"name\": \"EasyBackup Config\",\n                    \"domain\": null,\n                    \"date\": \"2020-01-13\"\n                },\n                {\n                    \"name\": null,\n                    \"domain\": null,\n                    \"date\": \"2020-03-02\"\n                }\n            ],\n            \"haveibeenpwned_listed\": true,\n            \"number_of_breaches\": 343,\n            \"first_breach\": \"2008-07-01\"\n        },\n        \"applied_rules\": [\n            {\n                \"id\": \"E100\",\n                \"name\": \"Domain is disposable\",\n                \"operation\": \"+\",\n                \"score\": 80\n            },\n            {\n                \"id\": \"E123\",\n                \"name\": \"Email is not similar to user full name\",\n                \"operation\": \"+\",\n                \"score\": 0\n            },\n            {\n                \"id\": \"E125\",\n                \"name\": \"Mail server's DMARC is not enforced\",\n                \"operation\": \"+\",\n                \"score\": 1\n            }\n        ]\n    }\n}"},{"id":"0667fc86-95db-4da4-9ad7-56d4f8417778","name":"Invalid email","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"email\": \"example\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/social/checkEmail"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"207"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 23 Jul 2021 00:45:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"error\": {\n        \"code\": \"1009\",\n        \"message\": \"invalid email address\"\n    },\n    \"data\": {}\n}"}],"_postman_id":"54609597-1336-4818-8633-9cf2d324b875"},{"name":"Phone Number Verification","event":[{"listen":"test","script":{"id":"d8f613bd-43ed-441b-bab5-95eb92cb540b","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (_.get(resp, 'success' == false)) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql('id field is missing');","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains success\", function() {","            pm.response.to.have.jsonBody(\"success\");","            pm.expect(resp.success).to.be.oneOf([true, false]);","        });","","        pm.test(\"Respsonse should contains data\", function() {","            pm.response.to.have.jsonBody(\"data\");","        });","    }","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"6262d76e-25d1-4090-a6b7-b7604824b7a1","exec":["function makeid(length) {","   var result           = '';","   var characters       = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-';","   var charactersLength = characters.length;","   for ( var i = 0; i < length; i++ ) {","      result += characters.charAt(Math.floor(Math.random() * charactersLength));","   }","   return result;","}","","const id = makeid(15)","","console.log(id)","","pm.collectionVariables.set(\"id\", `testing: ${id}`)"],"type":"text/javascript"}}],"id":"c0e0537f-6a74-4f24-ae65-9e2696a0af00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"phone\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/social/checkPhone","description":"<h1 id=\"validate-phone-number\">Validate phone number</h1>\n<p>HTTPS POST method that creates a new validation of a phone number.<br /><br />\n<br />\nThe field <strong>id</strong> is required, this id allows you to identify your validation, you can name it as you want.\n<br />\nThe field <strong>phone</strong> is also required, you have to send a valid phone number with the area code.\n<br />\n<br />\nYou will recive a Json response which contains the following fields:\n<br />\n<strong>success</strong>: this is a field boolean. If the phone number was correctly done, you will receive true.\n<br />\n<strong>error</strong>: if success is true, you will receive an empty object. In the other case, you will receive an object with error specifications.\n<br />\n<strong>data</strong>: if success is false, you will receive an empty object. In the other case, you will receive an object with information that will helps you to determinate if the email address is correct.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Example</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>*</td>\n<td>test</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>phone</strong>*</td>\n<td>5255555555</td>\n<td>number</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with informative data</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid license</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","social","checkPhone"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"78609782-aa78-4e73-bfec-5e3e118830aa","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"phone\": 5255555555\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/social/checkPhone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"490"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 23 Jul 2021 01:10:53 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"error\": {},\n    \"data\": {\n        \"number\": 5255555555,\n        \"valid\": true,\n        \"type\": \"FIXED_LINE_OR_MOBILE\",\n        \"country\": \"MX\",\n        \"carrier\": \"\",\n        \"score\": 0,\n        \"account_details\": {\n            \"facebook\": {\n                \"registered\": true\n            },\n            \"google\": {\n                \"registered\": true\n            },\n            \"twitter\": {\n                \"registered\": true\n            },\n            \"instagram\": {\n                \"registered\": false\n            },\n            \"yahoo\": {\n                \"registered\": false\n            },\n            \"whatsapp\": {\n                \"registered\": true,\n                \"photo\": null,\n                \"last_seen\": null\n            },\n            \"telegram\": {\n                \"registered\": false,\n                \"photo\": null,\n                \"last_seen\": null\n            },\n            \"viber\": {\n                \"registered\": false,\n                \"photo\": null,\n                \"last_seen\": null\n            }\n        },\n        \"applied_rules\": [\n            {\n                \"id\": \"PH100\",\n                \"name\": \"At least 2 online profiles were found\",\n                \"operation\": \"+\",\n                \"score\": 0\n            }\n        ]\n    }\n}"},{"id":"551b5385-c1fc-474b-9d47-5b6304a5cae0","name":"Invalid phone number","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"{{id}}\",\n    \"phone\": 0\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/social/checkPhone"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"207"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 23 Jul 2021 01:12:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"error\": {\n        \"code\": \"1014\",\n        \"message\": \"invalid phone number\"\n    },\n    \"data\": {}\n}"}],"_postman_id":"c0e0537f-6a74-4f24-ae65-9e2696a0af00"}],"id":"5e64db37-8406-4d6d-bf3a-264160711893","_postman_id":"5e64db37-8406-4d6d-bf3a-264160711893","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Blacklist","item":[{"name":"Check blacklist","id":"f37eac85-37cd-48e0-9e58-ac78c3b7d763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"1\",\r\n    \"name\": \"Boris Johnson\",\r\n    \"date_of_birth\": \"19/06/1964\",\r\n    \"exact_match\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/blacklist","description":"<h1 id=\"validate-blaklist\">Validate blaklist</h1>\n<p>HTTPS POST method that creates a new validation of blacklist.<br /><br />\n<br />\nThe field <strong>id</strong> is required, this id allows you to identify your validation, you can name it as you want.\n<br />\nThe field <strong>name</strong> is also required, a name must be sent to improve the search in the blacklists.\n<br />\nThe field <strong>date_of_bith</strong> is optional, although it is recommended to send a valid date to improve the blacklist search.\nPossible variations are</p>\n<ul>\n<li>dd/mm/yyyy if the exact date is known (e.g. 01/05/1990).</li>\n<li>00/00/yyyy if only the year is known (e.g. 00/00/1990).</li>\n<li>00/mm/yyyy if only the month and the year are known (e.g. 00/05/1990).</li>\n<li>dd/00/yyyy if only the day and the year are known (e.g. 01/00/1990).</li>\n</ul>\n<p>The <strong>exact_match</strong> field is also required, a value between 1 and 2 must be sent to improve the blacklist search. \n<br />\n<br />\nYou will recive a Json response which contains the following fields:\n<br />\n<strong>timestamp</strong>: this is a field for the time the search request was made. If the data entered are correct, you will receive the time.\n<br />\n<strong>total_hits</strong>: this is a field that displays the results found in the blacklists.\n<br />\n<strong>found_records</strong>: if total_hits is zero, you will receive an empty object. In the other case, you will receive an object with information that will help you verify the risk associated with that person.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Example</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong>*</td>\n<td>test</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>name</strong>*</td>\n<td>Boris Johnson</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>date_of_birth</strong></td>\n<td>DD/MM/YYYY</td>\n<td>string</td>\n</tr>\n<tr>\n<td><strong>exact_match</strong>*</td>\n<td>2</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with informative data</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid license</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","blacklist"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"a071f13b-d307-4038-aa37-8887bd0c7f99","name":"Check blacklist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"1\",\r\n    \"name\": \"Boris Johnson\",\r\n    \"date_of_birth\": \"19/06/1964\",\r\n    \"exact_match\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/blacklist"},"status":"Success","_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"1100"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 17 Sep 2021 22:30:05 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"timestamp\": \"2021-09-17T22:30:05Z\",\n    \"total_hits\": 1,\n    \"found_records\": [\n        {\n            \"siblings\": [\n                \"Jo Johnson\",\n                \"Leo Fenton Johnson\",\n                \"Rachel Johnson\"\n            ],\n            \"gender\": \"MALE\",\n            \"date_of_birth\": [\n                \"19/06/1964\"\n            ],\n            \"political_parties\": [\n                \"Conservative Party\"\n            ],\n            \"description\": [\n                \"Prime Minister of the United Kingdom\"\n            ],\n            \"given_names\": [\n                \"Boris\"\n            ],\n            \"occupations\": [\n                \"journalist\",\n                \"politician\"\n            ],\n            \"spouse\": [\n                \"Allegra Mostyn-Owen\",\n                \"Carrie Symonds\",\n                \"Marina Wheeler\"\n            ],\n            \"alias_names\": [\n                \"Boris Johnson@en\"\n            ],\n            \"children\": [\n                \"Cassia Peaches Johnson\",\n                \"Lara Lettice Johnson\",\n                \"Milo Arthur Johnson\",\n                \"Theodore Apollo Johnson\",\n                \"Wilfred Johnson\"\n            ],\n            \"links\": [\n                \"https://www.gov.uk/government/people/boris-johnson\",\n                \"Facebook: borisjohnson\"\n            ],\n            \"last_names\": [\n                \"Johnson\"\n            ],\n            \"citizenship\": [\n                \"United Kingdom\",\n                \"United States of America\"\n            ],\n            \"positions\": [\n                \"2001-06-07 - 2005-04-11  Member of the 53rd Parliament of the United Kingdom\",\n                \"2005-05-05 - 2008-06-04  Member of the 54th Parliament of the United Kingdom\",\n                \"2008-05-04 - 2016-05-07  Mayor of London\",\n                \"2015-05-07 - 2017-05-03  Member of the 56th Parliament of the United Kingdom\",\n                \"2016-07-13 - 2018-07-09  Secretary of State for Foreign and Commonwealth Affairs\",\n                \"2017-06-08 - 2019-11-06  Member of the 57th Parliament of the United Kingdom\",\n                \"Since 2016-01-01  Member of the Privy Council of the United Kingdom\",\n                \"Since 2019-07-23  Leader of the Conservative Party\",\n                \"Since 2019-07-24  Minister for the Civil Service\",\n                \"Since 2019-07-24  Prime Minister of the United Kingdom\",\n                \"Since 2019-07-25  First Lord of the Treasury\",\n                \"Since 2019-07-26  Minister for the Union\",\n                \"Since 2019-12-12  Member of the 58th Parliament of the United Kingdom\"\n            ],\n            \"source_type\": \"PEP\",\n            \"list_date\": \"0\",\n            \"place_of_birth\": [\n                \"New York City\"\n            ],\n            \"entity_type\": \"INDIVIDUAL\",\n            \"pep_type\": \"POLITICIAN\",\n            \"name\": \"Boris Johnson\",\n            \"source_id\": \"dilisense_pep\",\n            \"parents\": [\n                \"Charlotte Johnson Wahl\",\n                \"Stanley Johnson\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"f37eac85-37cd-48e0-9e58-ac78c3b7d763"}],"id":"12ec2d70-7b01-4147-acb8-adf61d164040","_postman_id":"12ec2d70-7b01-4147-acb8-adf61d164040","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Sign Plus","item":[{"name":"Webhooks","item":[{"name":"Get","id":"9c02cd2d-f979-427f-bb3a-0e0d58f53275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://veridocid.azure-api.net/api/v3/sign_template?clientId={{clientId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign_template"],"host":["veridocid","azure-api","net"],"query":[{"key":"clientId","value":"{{clientId}}"}],"variable":[]}},"response":[{"id":"2efbfe41-ad58-490b-bfdf-b6094a9daf1e","name":"200 - Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://veridocid.azure-api.net/api/v3/sign_template?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","sign_template"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:00:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Results listed\",\n    \"status\": 200,\n    \"page\": 0,\n    \"pagination\": 10,\n    \"totalRecords\": 1,\n    \"result\": [\n        {\n            \"status\": true,\n            \"_id\": \"62043c23649f833c50971ee1\",\n            \"id\": \"Template_Plantilla de prueba\",\n            \"name\": \"Plantilla de prueba\",\n            \"title\": \"Titulo del correo\",\n            \"message\": \"Mensaje del correo\",\n            \"uuid\": \"0038f3a6-0695-4dea-afe7-96a28bacep0i\"\n        }\n    ]\n}"},{"id":"d1874ec4-19a1-461e-a36a-04e5cd2c85b0","name":"400 - client id field is missing","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign_template"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:01:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"client id is missing\"\n}"}],"_postman_id":"9c02cd2d-f979-427f-bb3a-0e0d58f53275"},{"name":"Add","id":"dac09ed9-f01c-4d83-9138-002338301fb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Template_Plantilla de prueba\",\n    \"document\": {\n        \"name\": \"File.pdf\",\n        \"base64\": \"****\",\n        \"signs\": [\n            {\n                \"email\": \"user@user.com\",\n                \"name\": \"User\",\n                \"positionX\": 184,\n                \"positionY\": 561.5,\n                \"width\": 134,\n                \"height\": 73,\n                \"page\": 1,\n                \"zoom\": 1\n            }\n        ]\n    },\n    \"name\": \"Plantilla de prueba\",\n    \"title\": \"Titulo del correo\",\n    \"country\": \"Mexico\",\n    \"geo\": false,\n    \"language\": \"es\",\n    \"message\": \"Mensaje del correo\",\n    \"observers\": [\n        {\n            \"name\": \"User\",\n            \"email\": \"user@user.com\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign_template?clientId={{clientId}}","description":"<h2 id=\"create-sign-webhook\">Create sign webhook</h2>\n<p>HTTPS POST method that creates a webhook.\n<br />\n<br />\nThe field <strong>url</strong> is required, this url should be the endpoint where you want to receive responses.\n<br />\nThe field <strong>type</strong> is optional, this specifies which kind of documents you will receive.\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type</td>\n<td>StatusDocumentType</td>\n<td>completedDocument</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"statusdocumenttype\">StatusDocumentType</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>completedDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>signDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>sendDocument</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign_template"],"host":["veridocid","azure-api","net"],"query":[{"key":"clientId","value":"{{clientId}}"}],"variable":[]}},"response":[{"id":"7470cb72-14a9-498a-80fc-ad40f1131861","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Template_Plantilla de prueba\",\n    \"document\": {\n        \"name\": \"File.pdf\",\n        \"base64\": \"****\",\n        \"signs\": [\n            {\n                \"email\": \"user@user.com\",\n                \"name\": \"User\",\n                \"positionX\": 184,\n                \"positionY\": 561.5,\n                \"width\": 134,\n                \"height\": 73,\n                \"page\": 1,\n                \"zoom\": 1\n            }\n        ]\n    },\n    \"name\": \"Plantilla de prueba\",\n    \"title\": \"Titulo del correo\",\n    \"country\": \"Mexico\",\n    \"geo\": false,\n    \"language\": \"es\",\n    \"message\": \"Mensaje del correo\",\n    \"observers\": [\n        {\n            \"name\": \"User\",\n            \"email\": \"user@user.com\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/sign_template?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","sign_template"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"370"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:26:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sign template recorded\",\n    \"status\": 200,\n    \"result\": {\n        \"geo\": false,\n        \"status\": true,\n        \"_id\": \"62055083dbc2c914e8ca5b00\",\n        \"id\": \"Template_Plantilla de prueba\",\n        \"document\": {\n            \"_id\": \"62055083dbc2c914e8ca5000\",\n            \"name\": \"File.pdf\",\n            \"base64\": \"****\",\n            \"signs\": [\n                {\n                    \"_id\": \"62055083dbc2c914e8ca5000\",\n                    \"email\": \"user@user.com\",\n                    \"name\": \"User\",\n                    \"positionX\": 184,\n                    \"positionY\": 561.5,\n                    \"width\": 134,\n                    \"height\": 73,\n                    \"page\": 1\n                }\n            ],\n            \"signsLegalRepresentative\": []\n        },\n        \"name\": \"Plantilla de prueba\",\n        \"title\": \"Titulo del correo\",\n        \"country\": \"Mexico\",\n        \"language\": \"es\",\n        \"message\": \"Mensaje del correo\",\n        \"observers\": [\n            {\n                \"_id\": \"62055083dbc2c914e8ca5000\",\n                \"name\": \"User\",\n                \"email\": \"user@user.com\"\n            }\n        ],\n        \"uuid\": \"9776632c-591e-41e2-acd4-28fd39f5000\",\n        \"client\": \"5ed2f4ad18515964f85d000\",\n        \"createdAt\": \"2022-02-10T17:50:59.999Z\",\n        \"updatedAt\": \"2022-02-10T17:50:59.999Z\",\n        \"__v\": 0\n    }\n}"},{"id":"c3c9831b-af19-444b-856b-e989a7e3f048","name":"400 - client id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"Template_Plantilla de prueba\",\n    \"document\": {\n        \"name\": \"File.pdf\",\n        \"base64\": \"****\",\n        \"signs\": [\n            {\n                \"email\": \"user@user.com\",\n                \"name\": \"User\",\n                \"positionX\": 184,\n                \"positionY\": 561.5,\n                \"width\": 134,\n                \"height\": 73,\n                \"page\": 1,\n                \"zoom\": 1\n            }\n        ]\n    },\n    \"name\": \"Plantilla de prueba\",\n    \"title\": \"Titulo del correo\",\n    \"country\": \"Mexico\",\n    \"geo\": false,\n    \"language\": \"es\",\n    \"message\": \"Mensaje del correo\",\n    \"observers\": [\n        {\n            \"name\": \"User\",\n            \"email\": \"user@user.com\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign_template"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:01:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"client id is missing\"\n}"}],"_postman_id":"dac09ed9-f01c-4d83-9138-002338301fb9"},{"name":"Update","id":"37ec1255-1b4f-492d-a1a4-1e5a489ac3a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Nuevo titulo del correo\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign_template/{{uuid}}?clientId={{clientId}}","description":"<h2 id=\"create-sign-webhook\">Create sign webhook</h2>\n<p>HTTPS POST method that creates a webhook.\n<br />\n<br />\nThe field <strong>url</strong> is required, this url should be the endpoint where you want to receive responses.\n<br />\nThe field <strong>type</strong> is optional, this specifies which kind of documents you will receive.\n<br /></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type</td>\n<td>StatusDocumentType</td>\n<td>completedDocument</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"statusdocumenttype\">StatusDocumentType</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>completedDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>signDocument</strong></td>\n<td>Image</td>\n</tr>\n<tr>\n<td><strong>sendDocument</strong></td>\n<td>Image</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign_template","{{uuid}}"],"host":["veridocid","azure-api","net"],"query":[{"key":"clientId","value":"{{clientId}}"}],"variable":[]}},"response":[{"id":"519781fd-cdf4-4d88-8b6f-0d5591091953","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Nuevo titulo del correo\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/sign_template/{{uuid}}?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","sign_template","{{uuid}}"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"370"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Wed, 25 Aug 2021 01:26:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Sign template updated\",\n    \"status\": 200,\n    \"result\": {\n        \"geo\": false,\n        \"status\": true,\n        \"_id\": \"62055083dbc2c914e8ca5b00\",\n        \"id\": \"Template_Plantilla de prueba\",\n        \"document\": {\n            \"_id\": \"62055083dbc2c914e8ca5000\",\n            \"name\": \"File.pdf\",\n            \"base64\": \"****\",\n            \"signs\": [\n                {\n                    \"_id\": \"62055083dbc2c914e8ca5000\",\n                    \"email\": \"user@user.com\",\n                    \"name\": \"User\",\n                    \"positionX\": 184,\n                    \"positionY\": 561.5,\n                    \"width\": 134,\n                    \"height\": 73,\n                    \"page\": 1\n                }\n            ],\n            \"signsLegalRepresentative\": []\n        },\n        \"name\": \"Plantilla de prueba\",\n        \"title\": \"Nuevo titulo del correo\",\n        \"country\": \"Mexico\",\n        \"language\": \"es\",\n        \"message\": \"Mensaje del correo\",\n        \"observers\": [\n            {\n                \"_id\": \"62055083dbc2c914e8ca5000\",\n                \"name\": \"User\",\n                \"email\": \"user@user.com\"\n            }\n        ],\n        \"uuid\": \"9776632c-591e-41e2-acd4-28fd39f5000\",\n        \"client\": \"5ed2f4ad18515964f85d000\",\n        \"createdAt\": \"2022-02-10T17:50:59.999Z\",\n        \"updatedAt\": \"2022-02-10T17:50:59.999Z\",\n        \"__v\": 0\n    }\n}"},{"id":"44b20639-7f2a-4f27-8049-be25d62fccee","name":"400 - client id field is missing","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Nuevo titulo del correo\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign_template/{{uuid}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:01:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"client id is missing\"\n}"},{"id":"b51f0f42-8ac5-4772-b959-60176fe46125","name":"400 - documentName field is missing Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"Nuevo titulo del correo\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/sign_template/{{uuid}}?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","sign_template","{{uuid}}"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"48"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:38:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Sing template not found\"\n}"}],"_postman_id":"37ec1255-1b4f-492d-a1a4-1e5a489ac3a3"}],"id":"beaf4da1-3242-48be-8426-dd9bed38203e","_postman_id":"beaf4da1-3242-48be-8426-dd9bed38203e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Add Document","id":"e7384eca-fdca-4c6e-ac9c-54b758000c74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"create_name\":\"Document creator name\",\r\n    \"create_email\":\"Document creator email\",\r\n    \"documentName\":\"string\",\r\n    \"document\":\"PDF base 64\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"e2f7c2af-8512-45d3-b249-6fac41e70024","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"create_name\":\"Document creator name\",\r\n    \"create_email\":\"Document creator email\",\r\n    \"documentName\":\"string\",\r\n    \"document\":\"PDF base 64\",\r\n    \"country\":\"string\",\r\n    \"geo\":\"boolean\",\r\n    \"language\":\"string\",\r\n    \"signType\":\"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"351"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:31:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document added successfully\",\n    \"status\": 200,\n    \"country\": \"string\",\n    \"isValid\": true,\n    \"geo\": true,\n    \"language\": \"string\",\n    \"signType\": \"string\",\n    \"documentID\": \"string\",\n    \"document\": \"string\",\n    \"uuid\": \"string\",\n    \"id\": \"string\"\n}"},{"id":"08a4eae1-47af-4e03-9806-3f6391582f58","name":"400 - Id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"create_name\":\"Document creator name\",\r\n    \"create_email\":\"Document creator email\",\r\n    \"documentName\":\"string\",\r\n    \"document\":\"PDF base 64\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:37:10 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id field is missing\"\n}"},{"id":"2e537917-0431-478e-97c5-45904675ee3d","name":"400 - documentName field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"create_name\":\"Document creator name\",\r\n    \"create_email\":\"Document creator email\",\r\n    \"document\":\"PDF base 64\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"48"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:38:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"documentName field is missing\"\n}"},{"id":"3c7f8709-48f0-4998-b381-af175c8e33db","name":"400 - document field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"create_name\":\"Document creator name\",\r\n    \"create_email\":\"Document creator email\",\r\n    \"documentName\":\"string\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:39:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"document is missing\"\n}"}],"_postman_id":"e7384eca-fdca-4c6e-ac9c-54b758000c74"},{"name":"Fixed Signatory","id":"b2fa4835-e25a-4116-94ca-04fa8bc03c1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"staticSignPositions\":[{\r\n                \"parentImageSize\": {\r\n                \"width\": \"136\",\r\n                \"height\": \"73\"\r\n                },\r\n                \"user\": {\r\n                \"email\": \"string\",\r\n                \"name\":\"string\"\r\n                },\r\n                \"coordinates\": {\r\n                \"x\": \"100\",\r\n                \"y\": \"100\"\r\n                },\r\n                \"page\": 1\r\n                }\r\n                ]}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign","fixed-signatory"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"4b01c69d-bda7-46b5-8b4f-56ffacf1cb9c","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"staticSignPositions\":[{\r\n                \"parentImageSize\": {\r\n                \"width\": \"136\",\r\n                \"height\": \"73\"\r\n                },\r\n                \"user\": {\r\n                \"email\": \"string\",\r\n                \"name\":\"string\"\r\n                },\r\n                \"coordinates\": {\r\n                \"x\": \"100\",\r\n                \"y\": \"100\"\r\n                },\r\n                \"page\": 1\r\n                }\r\n                ]}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"416"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:45:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Participants successfully added\",\n    \"status\": 200,\n    \"documentID\": \"string\",\n    \"uuid\": \"string\",\n    \"id\": \"string\",\n    \"participants\": [\n        {\n            \"email\": \"string\",\n            \"name\": \"string\",\n            \"status\": \"string\",\n            \"participantId\": \"string\",\n            \"positions\": [\n                {\n                    \"positionX\": \"100\",\n                    \"positionY\": \"100\",\n                    \"page\": 1\n                }\n            ]\n        }\n    ]\n}"},{"id":"ebae8f0b-b64d-4478-ac79-7eb3a6709330","name":"400 - Id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \r\n    \"documentID\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"staticSignPositions\":[{\r\n                \"parentImageSize\": {\r\n                \"width\": \"136\",\r\n                \"height\": \"73\"\r\n                },\r\n                \"user\": {\r\n                \"email\": \"string\",\r\n                \"name\":\"string\"\r\n                },\r\n                \"coordinates\": {\r\n                \"x\": \"100\",\r\n                \"y\": \"100\"\r\n                },\r\n                \"page\": 1\r\n                }\r\n                ]}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:50:07 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id field is missing\"\n}"},{"id":"1e9ab687-0c4b-4718-a243-74aeb12115fb","name":"400 - documentId field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"id\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"staticSignPositions\":[{\r\n                \"parentImageSize\": {\r\n                \"width\": \"136\",\r\n                \"height\": \"73\"\r\n                },\r\n                \"user\": {\r\n                \"email\": \"string\",\r\n                \"name\":\"string\"\r\n                },\r\n                \"coordinates\": {\r\n                \"x\": \"100\",\r\n                \"y\": \"100\"\r\n                },\r\n                \"page\": 1\r\n                }\r\n                ]}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:52:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"documentID field is missing\"\n}"},{"id":"9663907d-fddb-4101-a41f-9a6cfbef38df","name":"400 - staticSignPositions field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"55"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 09:58:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"staticSignPositions field is missing\"\n}"},{"id":"11d6bf0f-eb1c-4b5a-968e-055d9f4b4a7f","name":"404 - Document not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{   \r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"participants\":[\r\n    {\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"observers\":[{\r\n        \"email\":\"string\",\r\n        \"name\":\"string\"\r\n    }],\r\n    \"staticSignPositions\":[{\r\n                \"parentImageSize\": {\r\n                \"width\": \"136\",\r\n                \"height\": \"73\"\r\n                },\r\n                \"user\": {\r\n                \"email\": \"string\",\r\n                \"name\":\"string\"\r\n                },\r\n                \"coordinates\": {\r\n                \"x\": \"100\",\r\n                \"y\": \"100\"\r\n                },\r\n                \"page\": 1\r\n                }\r\n                ]}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/fixed-signatory"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"45"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 10:00:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document not found\",\n    \"status\": 404\n}"}],"_postman_id":"b2fa4835-e25a-4116-94ca-04fa8bc03c1e"},{"name":"Signatory","id":"7687839a-dd09-4227-bb04-4d05b2ac349f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n  \"message\": \"string\",\r\n  \"title\": \"string\",\r\n  \"signatory\": [\r\n    {\r\n      \"email\": \"string\",\r\n      \"name\": \"string\"\r\n    }\r\n  ],\r\n  \"sharedWith\": [\r\n      {\r\n          \"email\": \"string\",\r\n          \"name\":\"string\"\r\n      }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/signatory","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","sign","signatory"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"eb757b4f-3540-4b21-836e-65a97a959926","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n  \"documentID\": \"string\",\r\n  \"message\": \"string\",\r\n  \"title\": \"string\",\r\n  \"signatory\": [\r\n    {\r\n      \"email\": \"string\",\r\n      \"name\": \"string\"\r\n    }\r\n  ],\r\n  \"sharedWith\": [\r\n      {\r\n          \"email\": \"string\",\r\n          \"name\":\"string\"\r\n      }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/signatory"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"216"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 10:09:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Emails sent successfully\",\n    \"status\": 200,\n    \"documentID\": \"string\"\n}"},{"id":"aa18cfe4-f2a5-4448-901b-1a11ee9c51ff","name":"400 - Id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"documentID\": \"string\",\r\n  \"message\": \"string\",\r\n  \"title\": \"string\",\r\n  \"signatory\": [\r\n    {\r\n      \"email\": \"string\",\r\n      \"name\": \"string\"\r\n    }\r\n  ],\r\n  \"sharedWith\": [\r\n      {\r\n          \"email\": \"string\",\r\n          \"name\":\"string\"\r\n      }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/signatory"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId="},{"key":"Date","value":"Thu, 16 Dec 2021 10:11:34 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id field is missing\"\n}"},{"id":"fc7df931-9cba-459a-9e6e-abc61770bec6","name":"400 - documentID field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n  \"message\": \"string\",\r\n  \"title\": \"string\",\r\n  \"signatory\": [\r\n    {\r\n      \"email\": \"string\",\r\n      \"name\": \"string\"\r\n    }\r\n  ],\r\n  \"sharedWith\": [\r\n      {\r\n          \"email\": \"string\",\r\n          \"name\":\"string\"\r\n      }\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/sign/signatory"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 10:12:28 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"documentID field is missing\"\n}"}],"_postman_id":"7687839a-dd09-4227-bb04-4d05b2ac349f"},{"name":"Add Sign","id":"9c810208-324a-4f18-8440-82743037c3c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={{clientId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","add_sign"],"host":["veridocid","azure-api","net"],"query":[{"key":"clientId","value":"{{clientId}}"}],"variable":[]}},"response":[{"id":"6bb41068-a2c4-496c-99ec-a9ff65cb0024","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={clientId}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{clientId}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:21:29 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Signature added successfully\",\n    \"status\": 200,\n    \"documentID\": \"string\",\n    \"document\": \"base64 document\"\n}"},{"id":"1b93503a-957e-4322-89e8-eac3b75b89b0","name":"400 - Id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={clientId}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{clientId}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:27:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id field is missing\"\n}"},{"id":"00f5139a-95e1-472d-a07c-19f926529f7a","name":"400 - DocumentID field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={clientId}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{clientId}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:30:25 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"documentID field is missing\"\n}"},{"id":"793ad525-0f1f-4116-b67d-721b27ade460","name":"400 - participantId field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={clientId}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{clientId}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"49"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:31:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"participantId field is missing\"\n}"},{"id":"27172521-b9bd-4e31-93c8-b32398ef562b","name":"400 - staticSignPositions field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={clientId}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{clientId}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"55"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:31:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"staticSignPositions field is missing\"\n}"},{"id":"56b73215-efe7-4097-a76c-15b86faf1e11","name":"404 - Document not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"string\",\r\n    \"documentID\":\"string\",\r\n    \"ip\":\"string\",\r\n    \"ubicacion\":\"string\",\r\n    \"participantId\":\"string\",\r\n    \"staticSignPositions\":[{\r\n        \"imageSize\": \r\n        {\r\n        \"width\": \"113\",\r\n        \"height\": \"35\"\r\n        },\r\n        \"parentImageSize\": {\r\n            \"width\": \"20\",\r\n            \"height\": \"20\"\r\n            },\r\n            \"user\": {\r\n            \"email\": \"string\"\r\n            },\r\n            \"coordinates\": {\r\n            \"x\": \"110\",\r\n            \"y\": \"110\"\r\n            },\r\n            \"page\": 1\r\n    }],\r\n    \"imageB64\":\"sign image base64\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/add_sign?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","add_sign"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"45"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 21:32:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document not found\",\n    \"status\": 404\n}"}],"_postman_id":"9c810208-324a-4f18-8440-82743037c3c1"},{"name":"Get Document By Id","id":"c00655b3-f121-4d7c-8827-88ca2abd1381","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/v3/get_document_by_id?clientId={{clientId}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v3","get_document_by_id"],"host":["veridocid","azure-api","net"],"query":[{"key":"clientId","value":"{{clientId}}"}],"variable":[]}},"response":[{"id":"384e6920-c5c1-4664-8a7a-8b22e8ba21b4","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"test\",\r\n    \"documentID\":\"bba52846-e49a-47a8-b931-a8c125d2831a\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/get_document_by_id?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","get_document_by_id"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:00:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Document found\",\n    \"status\": 200,\n    \"documentID\": \"string\",\n    \"document\": \"document base64\"\n}"},{"id":"6f2bd3dc-5bfd-4eac-98d5-895dba814ed8","name":"400 - Id field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"documentID\":\"bba52846-e49a-47a8-b931-a8c125d2831a\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/get_document_by_id?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","get_document_by_id"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"38"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:01:45 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"id field is missing\"\n}"},{"id":"45b7e948-3597-444b-b9b1-7ecc3dd64076","name":"400 - DocumentID field is missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\":\"test\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://veridocid.azure-api.net/api/v3/get_document_by_id?clientId={{clientId}}","protocol":"https","host":["veridocid","azure-api","net"],"path":["api","v3","get_document_by_id"],"query":[{"key":"clientId","value":"{{clientId}}"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"46"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 16 Dec 2021 22:02:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"documentID field is missing\"\n}"}],"_postman_id":"c00655b3-f121-4d7c-8827-88ca2abd1381"}],"id":"36aebb7a-782d-48f8-b29d-396f938a6294","_postman_id":"36aebb7a-782d-48f8-b29d-396f938a6294","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Add Webhook","event":[{"listen":"test","script":{"id":"f0467c73-d36e-42d1-9f99-9ddddf67bc81","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains id\", function() {","            pm.response.to.have.jsonBody(\"id\");","            pm.collectionVariables.set(\"id\", resp.id);","        });","","        pm.test(`Respsonse should contains url ${req.url}`, function() {","            pm.response.to.have.jsonBody(\"url\");","            pm.expect(resp.url).to.eql(req.url);","        });","","        pm.test(`Respsonse should contains type ${req.type}`, function() {","            pm.response.to.have.jsonBody(\"type\");","            pm.expect(resp.type).to.eql(req.type)","        });","","        pm.test(\"Respsonse should contains name\", function() {","            pm.response.to.have.jsonBody(\"name\");","        });","    }","});"],"type":"text/javascript"}}],"id":"bea91979-bfb1-4182-be37-d741106ec2e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"ocr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"create-webhook\">Create webhook</h2>\n<p>HTTPS POST method that creates a webhook.</p>\n<p>The field <strong>name</strong> is required, this name allows you to identify your webhook, you can name it as you want.</p>\n<p>The field <strong>url</strong> is also required, this url should be the endpoint where you want to receive responses.</p>\n<p>The field <strong>type</strong> specifies which type do you want to receive id, ocr or sign.</p>\n<p>The field <strong>publicKey</strong> is optional, this is a rsa public key 2048 bits that helps you to encrypted the json.</p>\n<p><strong>NOTE: The cipher method is only allowed with type id.</strong></p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name*</td>\n<td>string</td>\n<td>first webhook</td>\n</tr>\n<tr>\n<td>url*</td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type*</td>\n<td>string can be id, ocr or sign.</td>\n<td>sign</td>\n</tr>\n<tr>\n<td>publicKey</td>\n<td>string <strong>base64</strong></td>\n<td>publicKey rsa 2048 bits, format pem encoded in base64</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"example-public-key-rsa-bits-2048-format-pem\">Example Public Key RSA bits 2048 format PEM</h2>\n<p>-----BEGIN PUBLIC KEY-----<br />MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBlN3YjtwEE0lIUBmVbdPHJ<br />Pbc5zOBxMOh7FSwF4sBMDq7VbdEPBRp+FGOVMkkIeRDLRQBJDtso9ILv7tiY4WP6<br />tGtIErrBBiaTpcWOq9LHbuhA01JE3L31ri/QpWLU/Oz8JfC3MjsdPvLYbfhRwYvb<br />yrTohaTpOhpKKbs9c2E+X1tc0xZkP/Eu0cPr31xnurGvOhz/k6fhU2SoLGnDp2FL<br />jLr0uOnNgwvhbIdt9zuDZ2Lj4BvzCH87kCDpb7g2dnLtRMIzgO/HCdNWZ+0ivfpe<br />V2f/AgQyDtcKBMVPqnxzKlDQLAQ/TLzNBHOO3LWtll28QGxcTyJZFDRQWyQBgHgd<br />AgMBAAE=<br />-----END PUBLIC KEY-----</p>\n<h2 id=\"how-do-you-have-to-decipher-the-data\">How do you have to decipher the data</h2>\n<p>You will receive the cipher data, the key comes into the first 256 bytes, the iv comes since 256 bytes to 512 bytes and finally the data starts at 512 bytes to the end.<br />To decipher you have to use RSA method using sha256 <strong>as a oapesh</strong>, RSA_PKCS1_OAEP_PADDING <strong>as a padding</strong> and the public key that you create <strong>as a key</strong>.</p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"9b052f98-bd4e-4396-b828-b1714bca4bb9","name":"Add Webhook-Encrypted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"id\",\n    \"publicKey\": \"B64 public key RSA 2048 bits format pem\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"269"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=1ea203b06b6b4d040efe5f54a517aa09dec1478d0087e41e8482eac0fcd20598;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 22 Apr 2021 14:52:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"name\": \"test01\",\n    \"type\": \"id\",\n    \"id\": \"fc7f30d0-0a76-4675-8337-9c943e02d64e\",\n    \"encrypted\": true\n}"},{"id":"cde4d0bd-0271-4783-8221-b83931f674ea","name":"Add Webhook-Decrypted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test01\",\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"type\": \"ocr\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Length","value":"266"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"ARRAffinity=1ea203b06b6b4d040efe5f54a517aa09dec1478d0087e41e8482eac0fcd20598;Path=/;HttpOnly;Domain=veridocid.azure-api.net"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Thu, 22 Apr 2021 14:54:18 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://webhook.site/8a7c40ee-bf3f-427d-950c-628f2f93f6a3\",\n    \"name\": \"test01\",\n    \"type\": \"ocr\",\n    \"id\": \"d9d74e90-95c7-4600-ac4f-8170cb4b1d43\",\n    \"encrypted\": false\n}"}],"_postman_id":"bea91979-bfb1-4182-be37-d741106ec2e7"},{"name":"Update Webhook","event":[{"listen":"test","script":{"id":"bd219e64-07d8-4d3d-a1c6-cb64b7f99d24","exec":["const req = JSON.parse(request.data);","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains id\", function() {","            pm.response.to.have.jsonBody(\"id\");","        });","","        pm.test(`Id should be ${resp.id}`, function () {","            pm.expect(resp.id).to.eql(req.id)","        });","    }","});"],"type":"text/javascript"}}],"id":"e7881598-fb7d-4ea2-a7b8-53ccea157825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n\t\"name\": \"test01\",\n\t\"url\": \"https://webhook.site/20e41e44-4be9-426e-9d0f-bdd0904b8ab2\",\n\t\"type\": \"id\",\n\t\"id\": \"{{id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"update-webhook\">Update webhook</h2>\n<p>HTTPS PATCH method that updates a webhook.\n<br />\n<br />\nThe fields <strong>url</strong> and <strong>name</strong> should be the same that you use on method <strong>POST Add Webhook</strong>.\n<br />\nThe filed <strong>type</strong> should be different tha you used before.\n<br />\nThe field <strong>id</strong> should be the same id that you obtained on method <strong>POST Add Webhook</strong>.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name<strong>*</strong></td>\n<td>string</td>\n<td>first webhook</td>\n</tr>\n<tr>\n<td>url<strong>*</strong></td>\n<td>string</td>\n<td>url customize</td>\n</tr>\n<tr>\n<td>type<strong>*</strong></td>\n<td>string can be id or ocr</td>\n<td>id</td>\n</tr>\n<tr>\n<td>id<strong>*</strong></td>\n<td>string</td>\n<td>id obtained on <strong>add webhook</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7881598-fb7d-4ea2-a7b8-53ccea157825"},{"name":"Delete Webhook","event":[{"listen":"test","script":{"id":"b71ad376-d678-492f-9273-1ac4baa3c356","exec":["const req = request.data;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else if (pm.response.code === 500) {","        pm.response.to.have.status(500);","","        pm.test(`Error should be ${resp.error}`, function () {","            pm.expect(resp.error).to.eql(resp.error);","        });","    } else {","        pm.response.to.have.status(200);","","        pm.test(\"Respsonse should contains message\", function() {","            pm.response.to.have.jsonBody(\"message\");","        });","","        pm.test(`Message should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    }","});"],"type":"text/javascript"}}],"id":"b32df28a-fb32-4190-bae1-d9e6859e5819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n\"id\": \"{{id}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"delete-webhook\">Delete webhook</h2>\n<p>HTTPS DELETE method that deletes a webhook.\n<br />\n<br />\nThe field <strong>id</strong> should be the same id that you obtained on method <strong>POST Add Webhook</strong>.</p>\n<h2 id=\"request-model\">Request Model</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>type</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id<strong>*</strong></td>\n<td>string</td>\n<td>id obtained on <strong>add webhook</strong></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}},"urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"b32df28a-fb32-4190-bae1-d9e6859e5819"},{"name":"Get Webhooks","event":[{"listen":"test","script":{"id":"87743996-c5e5-41d4-9097-6697be5827fc","exec":["const req = pm.request.url;","let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {"," if (pm.response.code === 404) {","        pm.response.to.have.status(404);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (!(_.get(request.headers, 'authorization')) || pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"Message should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql('Unauthorized. Access token is missing or invalid.');","        });","    } else {","        pm.response.to.have.status(200);","    }","});"],"type":"text/javascript"}}],"id":"398ee5d2-0d25-4359-b998-4f4076415e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://veridocid.azure-api.net/api/webhooks","description":"<h2 id=\"get-webhooks\">Get webhooks</h2>\n<p>HTTPS GET method that gives you an array of all your webhooks you have been created.   </p>\n<h2 id=\"response\">Response</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>Json object</td>\n<td>JSON with useful information</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Invalid content</td>\n</tr>\n<tr>\n<td><strong>401</strong></td>\n<td>Json ErrorMessage object</td>\n<td>Unauthorized. Invalid token</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","webhooks"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"398ee5d2-0d25-4359-b998-4f4076415e9f"}],"id":"d43fc91b-5857-4835-9b01-a39e8e9e345a","_postman_id":"d43fc91b-5857-4835-9b01-a39e8e9e345a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","id":"8d347853-49e6-4ca9-aeb2-78154ce9ebd9","name":"VeriDocID API Docs old","type":"collection"}}},{"name":"Login","event":[{"listen":"test","script":{"id":"d01c63b9-5ad0-435e-8ba8-b0bd56f81997","exec":["let resp = {};","","try {","    resp = pm.response.json();","}","catch (e) {}","","pm.test(`Status code should be ${pm.response.code}`, function () {","    if (pm.response.code === 400) {","        pm.response.to.have.status(400);","","        pm.test(`Error should be ${resp.message}`, function () {","            pm.expect(resp.message).to.eql(resp.message);","        });","    } else if (pm.response.code === 401) {","        pm.response.to.have.status(401);","","        pm.test(\"error should be Unauthorized\", function () {","            pm.expect(resp.message).to.eql({error: 'access_denied', error_description: 'Unauthorized'});","            pm.collectionVariables.clear()","        });","    } else if (pm.response.code === 403) {","        pm.response.to.have.status(403);","","        pm.test(\"error should be Non-global clients are not allowed\", function () {","            pm.expect(resp.message).to.eql({error: 'access_denied', error_description: 'Non-global clients are not allowed access to APIv1'});","        });","    }else {","        pm.response.to.have.status(200);","","        pm.test(\"Response should contains token\", function() {","            pm.response.to.have.jsonBody(\"access_token\");","            pm.environment.unset(\"access_token\");","","            let token = pm.response.json();","            pm.collectionVariables.set(\"token\", token.access_token);","        });","","        pm.test(\"Respsonse should contains token_type\", function() {","            const responseJson = pm.response.json();","","            pm.response.to.have.jsonBody(\"token_type\");","            pm.expect(responseJson.token_type).to.eql(\"Bearer\");","        });","    }","});"],"type":"text/javascript"}}],"id":"b16fecb2-4ba1-47ee-9358-18b413933d86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"{{clientID}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"},{"key":"audience","value":"veridocid","type":"text"}]},"url":"https://veridocid.azure-api.net/api/auth/token","description":"<h1 id=\"obtain-authentication-token\">Obtain Authentication Token</h1>\n<p>In order to request access to VeriDocID API,<br />you must call the authentication method with your API <strong>client_id</strong> and <strong>client_secret</strong>,<br />along with a valid username and password.<br />Once validated, you will receive an authorization token, which must be used to call face API methods.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>HTTP Method</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>auth/token</strong></td>\n<td>POST</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"request-parameters\">Request Parameters:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>grant_type</td>\n<td>string</td>\n<td>Client Credentials grant type is used by clients to obtain an access token outside of the context of a user.</td>\n</tr>\n<tr>\n<td>client_id</td>\n<td>string</td>\n<td>your Client Id</td>\n</tr>\n<tr>\n<td>client_secret</td>\n<td>string</td>\n<td>Your client secret</td>\n</tr>\n<tr>\n<td>audience</td>\n<td>string</td>\n<td>veridocid</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response:</h2>\n<p>If request is correct, you will receive a Success response with the access token generated.<br />This token is only valid for a short period, exposed in the expires_in property.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Body</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>200</strong></td>\n<td>JSON Authorization object</td>\n<td>Valid OAuth token for request authorization</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Invalid ClientId</td>\n</tr>\n<tr>\n<td><strong>400</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Unsupported grant type</td>\n</tr>\n<tr>\n<td><strong>500</strong></td>\n<td>JSON ErrorMessage object</td>\n<td>Internal Error</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","auth","token"],"host":["veridocid","azure-api","net"],"query":[],"variable":[]}},"response":[{"id":"6e30705e-3c2a-425f-88b6-8d74885db725","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"Asignado por SUMA","type":"text"},{"key":"client_secret","value":"Asignado por SUMA","type":"text"},{"key":"audience","value":"veridocid","type":"text"}]},"url":"https://veridocid.azure-api.net/api/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Set-Cookie","value":"did=s%3Av0%3Ac1c7d990-85e0-11ea-9524-1be45f933089.JHI4yvu9L2xZRKe6GLdM6c9UBkKGpPDFXr3tvXJEtrs; Max-Age=31557600; Path=/; Expires=Sat, 24 Apr 2021 10:04:55 GMT; HttpOnly; Secure; SameSite=None"},{"key":"Set-Cookie","value":"did_compat=s%3Av0%3Ac1c7d990-85e0-11ea-9524-1be45f933089.JHI4yvu9L2xZRKe6GLdM6c9UBkKGpPDFXr3tvXJEtrs; Max-Age=31557600; Path=/; Expires=Sat, 24 Apr 2021 10:04:55 GMT; HttpOnly; Secure"},{"key":"ot-tracer-spanid","value":"315079755c8dd70d"},{"key":"ot-tracer-traceid","value":"721397cc6cf3b7b7"},{"key":"ot-tracer-sampled","value":"true"},{"key":"ot-baggage-auth0-request-id","value":"e6f7c5e2f30785120189bb61"},{"key":"X-Auth0-RequestId","value":"a00f80023318edb70a4b"},{"key":"X-RateLimit-Limit","value":"30"},{"key":"X-RateLimit-Remaining","value":"29"},{"key":"X-RateLimit-Reset","value":"1587701096"},{"key":"Strict-Transport-Security","value":"max-age=15724800"},{"key":"X-Robots-Tag","value":"noindex,nofollow,nosnippet,noarchive"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 04:04:56 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"string\",\n    \"scope\": \"string\",\n    \"expires_in\": 86400,\n    \"token_type\": \"Bearer\"\n}"},{"id":"a41e3b6f-4db9-4df9-bf3b-42d2d87d904c","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"Asignado por SUMA","type":"text"},{"key":"client_secret","value":"Asignado por SUMA","type":"text"},{"key":"audience","value":"veridocid","type":"text"}]},"url":"https://veridocid.azure-api.net/api/auth/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0, no-transform"},{"key":"Content-Length","value":"60"},{"key":"Content-Type","value":"application/json"},{"key":"ot-tracer-spanid","value":"597245694c97112c"},{"key":"ot-tracer-traceid","value":"69e8ccdb7ea5d574"},{"key":"ot-tracer-sampled","value":"true"},{"key":"ot-baggage-auth0-request-id","value":"d50058b16241e408d1c8fb30"},{"key":"X-Auth0-RequestId","value":"a52ab714dad8035e1b2b"},{"key":"X-RateLimit-Limit","value":"30"},{"key":"X-RateLimit-Remaining","value":"29"},{"key":"X-RateLimit-Reset","value":"1587703063"},{"key":"Request-Context","value":"appId=cid-v1:7e8b5d1f-7db2-4ada-9727-bc278f906e1b"},{"key":"Date","value":"Fri, 24 Apr 2020 04:37:41 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"access_denied\",\n    \"error_description\": \"Unauthorized\"\n}"}],"_postman_id":"b16fecb2-4ba1-47ee-9358-18b413933d86"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"59c0c782-31ea-4cf3-a6c7-be2ac55314f4"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"c99711e2-bdd0-48e6-a1cb-99fe790e1fb0"}}]}