Master Data Biometric APIs
Introduction
This section details about the service APIs in the biometric types and biometric attributes modules
Biometric types
POST /biometrictypes
This service will create a biometric types which would be used in MOSIP platform.
Resource URL
POST /biometrictypes
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometrictype
Yes
Array of the biometric types
Example Request
Example Response
Response code: 200 Ok
Failure details
KER-MSD-105
Error occurred while inserting biometric type details
Insertion Exception
GET /biometrictypes
This service will fetch all the biometric types in MOSIP platform.
Resource URL
GET /biometrictypes
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometrictypeid
Yes
Code of the language
biometrictype
Yes
Name of the language
Example Response
Response code: 200 Ok
GET /biometrictypes/{id}/{languagecode}
This service will fetch all the biometric types based on id and language code.
Resource URL
GET /biometrictypes/{id}/{languagecode}
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometrictypeid
Yes
Code of the language
biometrictype
Yes
Name of the language
Example Request
Success Response
Response code: 200 Ok
Error Response
Response code: 200 Ok
Failure details
KER-MSD-005
Error occurred while fetching Biometric Types
Fetch Exception
KER-MSD-006
Biometric Type not found
Data not found
GET /biometrictypes/{languagecode}
This service will fetch all the biometric types based on language code.
Resource URL
GET /biometrictypes/{languagecode}
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometrictypeid
Yes
Code of the language
biometrictype
Yes
Name of the language
Example Request
Success Response
Response code: 200 Ok
Error Response
Response code: 200 Ok
Failure details
KER-MSD-005
Error occurred while fetching Biometric Types
Fetch Exception
KER-MSD-006
Biometric Type not found
Data not found
Biometric Attributes
POST /biometricattributes
This service will create a biometric attribute which will be used in the MOSIP platform.
Resource URL
POST /biometricattributes
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometricattribute
Yes
Array of the biometric attributes
Example Request
Example Response
Response code: 200 Ok
GET /biometricattributes/{biometricatributeid}/{languagecode}
This service will fetch the list of biometric attributes using biometric attribute code and language code.
Resource URL
GET /biometricattributes/{biometricatributeid}/{languagecode}
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometricatributeid
Yes
Code of the language
biometricattribute
Yes
Name of the language
Example Request
Example Response
Response code: 200 Ok
GET /getbiometricattributesbyauthtype/{languagecode}/{biometrictypeid}
This service will provides fetch a list of Biometrics based on the biometric type and language code.
Resource URL
GET /getbiometricattributesbyauthtype/{languagecode}/{biometrictypeid}
Resource details
Response format
JSON
Requires Authentication
Yes
Parameters
biometrictypeid
Yes
Id of the biometric auth type
Example Request
Success Response
Response code: 200 Ok
Failure Response
Response code: 200 Ok
Failure details
KER-MSD-004
BiometricAttribute not found
Data Not Found
KER-MSD-003
Error occurred while fetching BiometricAttributes
Fetch Issue
KER-APP-103
Error occurred while inserting BiometricAttributes
Insertion Issues
Last updated