BuildOnboarding
This function allows you to perform the onboarding process, using the actions set as input parameters.
Parameter Configuration
This function requires you to complete the input parameters with the session ID and the actions to be performed.
Function ID
Register | Value |
---|---|
110 | 2 |
Input Registers
Register | Description | Mandatory | Value |
---|---|---|---|
300 | Session ID, generated by the CreateSession function. | X | InterviewId |
301 | Actions to be performed, separated by semicolons. | X | GEOLOCATION;SCAN_ID;FACE_SELFIE;FACE_MATCH;VIDEO_SELFIE |
302 | Images are compressed by default. This register is used to indicate that images should not be compressed. | UNCOMPRESSED |
Output Registers
Register | Description | Value | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
112 | Call Result |
| ||||||||||||||||||||||||||
291 | JSON with the results of the actions requested. | { "geolocation": { "addressFields": { "colony":"", "street":"", "city":"", "state":"", "postalCode":"" } }, "idScan": { "frontIdCroppedFace":"{Image in Base64 format}", "frontIdResult":0, "backIdResult":0, "idCaptureResult": { "frontIdImage":"{Image in Base64 format}", "backIdImage":"{Image in Base64 format}" }, "ocrData": { "curp":"", "registrationDate":0, "numeroEmisionCredencial":"", "addressFields": { "colony":"", "street":"", "city":"", "state":"", "postalCode":"" }, "birthDate":"172627200000", "claveDeElector":"", "issueDate":0, "cic":"", "expirationDate":0, "address":"", "ocr":"", "gender":"", "name": { "firstName":"", "paternalLastName":"", "fullName":"", "maternalLastName":"" } } }, "selfieScan": { "image":"{Image in Base64 format}" }, "faceMatch": { "isFaceMatched":true }, "videoSelfie":{ "success":true } } |