This section details about the REST services in Commons Packet Manager.
API to fetch the audit details from a packet.
API to fetch the biometric details from a packet.
{
"id": null,
"version": null,
"responsetime": "2020-07-22T15:17:01.481Z",
"metadata": null,
"response": {
"version": null,
"cbeffversion": null,
"birInfo": null,
"segments": [
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "f310da6a-797b-45d8-b3a5-d1cfe8f0329e",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.904",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"IRIS"
],
"subtype": [
"Left"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "9"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "94c78e40-1f5c-41a3-8423-08e6f86965f1",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"IRIS"
],
"subtype": [
"Right"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "9"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "b2968543-ae0e-4036-8038-790fb11aebbd",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Right",
"IndexFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "4fa613de-6d09-4955-a554-885e918edc86",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Right",
"LittleFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "9187d8d7-64db-40b4-ba27-3640f9c715e0",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Right",
"RingFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "e6941ad4-d606-420e-9ac0-4544f2db590d",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Right",
"MiddleFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "b472b350-083f-412e-80d9-b9dae865ac74",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Left",
"IndexFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "dc8f4f8d-72db-4393-92b8-3bfd261d501f",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Left",
"LittleFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "1d180682-bda9-4fe8-bec9-adf45544c932",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Left",
"RingFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "7d43c3b1-0667-498a-8a24-81f985591bb4",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Left",
"MiddleFinger"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "50d6e8ac-9393-43f2-b7bd-524480602812",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Left",
"Thumb"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "927c10eb-4a39-4250-97db-3b75f7c791d8",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FINGER"
],
"subtype": [
"Right",
"Thumb"
],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "7"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
},
{
"version": {
"major": 1,
"minor": 1
},
"cbeffversion": {
"major": 1,
"minor": 1
},
"birInfo": {
"creator": null,
"index": null,
"payload": null,
"integrity": false,
"creationDate": null,
"notValidBefore": null,
"notValidAfter": null
},
"bdbInfo": {
"challengeResponse": null,
"index": "542bea75-350d-4bd8-8067-b01f806d9d8d",
"encryption": null,
"creationDate": "2020-07-20T09:24:49.905",
"notValidBefore": null,
"notValidAfter": null,
"type": [
"FACE"
],
"subtype": [],
"level": "RAW",
"product": null,
"purpose": "ENROLL",
"quality": {
"algorithm": {
"organization": "HMAC",
"type": "SHA-256"
},
"score": 90,
"qualityCalculationFailed": null
},
"format": {
"organization": "Mosip",
"type": "8"
},
"captureDevice": null,
"featureExtractionAlgorithm": null,
"comparisonAlgorithm": null,
"compressionAlgorithm": null
},
"bdb": "<BASE64 ENCODED ISO BYTES>",
"sb": null,
"sbInfo": null,
"others": null
}
]
},
"errors": []
}
{
"id": null,
"version": null,
"responsetime": "2020-07-22T15:15:27.791Z",
"metadata": null,
"response": {
"fields": {
"biometrics": "{\r\n \"applicant\" : {\r\n \"leftEye\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"f310da6a-797b-45d8-b3a5-d1cfe8f0329e\"\r\n },\r\n \"rightIndex\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"b2968543-ae0e-4036-8038-790fb11aebbd\"\r\n },\r\n \"rightLittle\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"4fa613de-6d09-4955-a554-885e918edc86\"\r\n },\r\n \"leftLittle\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"dc8f4f8d-72db-4393-92b8-3bfd261d501f\"\r\n },\r\n \"leftIndex\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"b472b350-083f-412e-80d9-b9dae865ac74\"\r\n },\r\n \"face\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"542bea75-350d-4bd8-8067-b01f806d9d8d\"\r\n },\r\n \"rightEye\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"94c78e40-1f5c-41a3-8423-08e6f86965f1\"\r\n },\r\n \"rightThumb\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"927c10eb-4a39-4250-97db-3b75f7c791d8\"\r\n },\r\n \"rightRing\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"9187d8d7-64db-40b4-ba27-3640f9c715e0\"\r\n },\r\n \"rightMiddle\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"e6941ad4-d606-420e-9ac0-4544f2db590d\"\r\n },\r\n \"leftRing\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"1d180682-bda9-4fe8-bec9-adf45544c932\"\r\n },\r\n \"leftThumb\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"50d6e8ac-9393-43f2-b7bd-524480602812\"\r\n },\r\n \"leftMiddle\" : {\r\n \"numRetry\" : 1,\r\n \"forceCaptured\" : false,\r\n \"BIRIndex\" : \"7d43c3b1-0667-498a-8a24-81f985591bb4\"\r\n }\r\n }\r\n}",
"exceptionBiometrics": "[ ]",
"documents": "[ {\r\n \"documentName\" : \"proofOfAddress\",\r\n \"documentCategory\" : \"POA\",\r\n \"documentOwner\" : \"Applicant\",\r\n \"documentType\" : \"DOC004\"\r\n}, {\r\n \"documentName\" : \"proofOfIdentity\",\r\n \"documentCategory\" : \"POI\",\r\n \"documentOwner\" : \"Applicant\",\r\n \"documentType\" : \"DOC003\"\r\n} ]",
"metaData": "[ {\r\n \"label\" : \"registrationId\",\r\n \"value\" : \"10001100770000320200720092256\"\r\n}, {\r\n \"label\" : \"creationDate\",\r\n \"value\" : \"2020-07-20T14:54:49.823Z\"\r\n}, {\r\n \"label\" : \"Registration Client Version Number\",\r\n \"value\" : \"1.0.10-rc2\"\r\n}, {\r\n \"label\" : \"registrationType\",\r\n \"value\" : \"New\"\r\n}, {\r\n \"label\" : \"preRegistrationId\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"machineId\",\r\n \"value\" : \"10077\"\r\n}, {\r\n \"label\" : \"centerId\",\r\n \"value\" : \"10001\"\r\n}, {\r\n \"label\" : \"dongleId\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"keyIndex\",\r\n \"value\" : \"4F:38:72:D9:F8:DB:94:E7:22:48:96:D0:91:01:6D:3C:64:90:2E:14:DC:D2:F8:14:1F:2A:A4:19:1A:BC:91:41\"\r\n}, {\r\n \"label\" : \"consentOfApplicant\",\r\n \"value\" : \"Yes\"\r\n} ]",
"operationsData": "[ {\r\n \"label\" : \"officerId\",\r\n \"value\" : \"110122\"\r\n}, {\r\n \"label\" : \"officerBiometricFileName\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"supervisorId\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"supervisorBiometricFileName\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"supervisorPassword\",\r\n \"value\" : \"false\"\r\n}, {\r\n \"label\" : \"officerPassword\",\r\n \"value\" : \"true\"\r\n}, {\r\n \"label\" : \"supervisorPIN\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"officerPIN\",\r\n \"value\" : null\r\n}, {\r\n \"label\" : \"supervisorOTPAuthentication\",\r\n \"value\" : \"false\"\r\n}, {\r\n \"label\" : \"officerOTPAuthentication\",\r\n \"value\" : \"false\"\r\n} ]",
"hashSequence1": "[ {\r\n \"label\" : \"biometricSequence\",\r\n \"value\" : [ \"individualBiometrics_bio_CBEFF\" ]\r\n}, {\r\n \"label\" : \"demographicSequence\",\r\n \"value\" : [ \"proofOfAddress\", \"proofOfIdentity\", \"ID\" ]\r\n} ]",
"hashSequence2": "[ {\r\n \"label\" : \"otherFiles\",\r\n \"value\" : [ \"audit\" ]\r\n} ]",
"capturedRegisteredDevices": "[ ]",
"capturedNonRegisteredDevices": null,
"checkSum": "[ {\r\n \"label\" : \"mosip-client.jar\",\r\n \"value\" : \"3BD4FDE4F7E6BFF03ED0E2E735825DF07C9C2C3FF91C0A344F7E72C5378126E4\"\r\n}, {\r\n \"label\" : \"mosip-services.jar\",\r\n \"value\" : \"02E72AA598FAE10C2097DBDA241A48245806F524735A12A26CC5D4986206A22C\"\r\n} ]",
"printingName": "[ ]"
}
},
"errors": []
}