This section details about the service APIs in the Biometric types and biometric attributes modules
Master data is required across the platform.
This service will create the list of Biometric types which are used in the MOSIP platform.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometrictype | Yes | Array of the biometric types |
{
"id": "string",
"version": "string",
"metadata": {},
"requesttime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"request": {
"biometrictypes": [
{"biometrictype":"string"},
{"biometrictype":"string"}
{"languagecode":"string"}
]
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response": {
"biometrictypes": [
{"biometrictype":"string"},
{"biometrictype":"string"}
{"languagecode":"string"}
]
}
}
202
Description: Accepted
400
Description: Bad request
401
Description: Unauthorized
403
Description: Forbidden
This service will provides the service for the List of Biometrics.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometrictypeid | Yes | Code of the language | ||
biometrictype | Yes | Name of the language |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response":{
"biometrictypes": [ {
"biometrictype": [
{"biometrictypeid":"string"},
{"biometrictype":"string"},
{"languagecode":"string"}
]
},
{
"biometrictype": [
{"biometrictypeid":"string"},
{"biometrictype":"string"},
{"languagecode":"string"}
]
}
]
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
Master data is required across the platform.
This service will provides the service for the List of Biometrics.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometrictypeid | Yes | Code of the language | ||
biometrictype | Yes | Name of the language |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"biometrictypes": [
{
"biometrictype": [
{"biometrictypeid":"string"},
{"biometrictype":"string"},
{"languagecode":"string"}
]
},
{
"biometrictype": [
{"biometrictypeid":"string"},
{"biometrictype":"string"},
{"languagecode":"string"}
]
}
]
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": [{
"errorCode": "string",
"message": "string"
}],
"response":null
}
Error Code | Error Message | Error Description |
---|---|---|
KER-MSD-005 | Error occurred while fetching Biometric Types | Fetch Exception |
KER-MSD-105 | Error occurred while inserting biometric type details | Insertion Exception |
KER-MSD-006 | Biometric Type not found | Data not found |
- POST /biometricattributes
- GET /biometricattributes/{biometricatributeid}/{languagecode}
- GET /getbiometricattributesbyauthtype/{languagecode}/{biometrictypeid}
This service will create the list of Biometric attributes which are used in the MOSIP platform.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometricattribute | Yes | Array of the biometric attributes |
{
"id": "string",
"version": "string",
"metadata": {},
"requesttime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"request": {
"biometricattributes": [
"biometricattribute",
"languagecode":"string"
]
}
}
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response":{
"successfully_created_biometricattributes": [
{"biometricatributeid":"string"}
{"languagecode":"string"}
]
}
}
202
Description: Accepted
400
Description: Bad request
401
Description: Unauthorized
403
Description: Forbidden
Master data is required across the platform.
This service will provides the service for the List of Biometrics.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometricatributeid | Yes | Code of the language | ||
biometricattribute | Yes | Name of the language |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response":{
"biometricattributes": [
{
"biometricattribute": [
{"biometricatributeid":"string"},
{"biometricattribute":"string"},
{"languagecode":"string"}
]
},
{
"biometricattribute": [
{"biometricatributeid":"string"},
{"biometricattribute":"string"},
{"languagecode":"string"}
]
}
]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
This service will provides the service for the List of Biometrics based on the biometric authentication type.
Resource Details | Description |
---|---|
Response format | JSON |
Requires Authentication | Yes |
Name | Required | Description | Default Value | Example |
---|---|---|---|---|
biometrictypeid | Yes | Id of the biometric auth type |
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": null,
"response":{
"biometricattributes": [
{
"code": "string",
"name": "string",
"description": "string",
"active": true
},
{
"code": "string",
"name": "string",
"description": "string",
"active": true
}
]
}
}
200
Description: Success
400
Description: Bad request
401
Description: Unauthorized
404
Description: Not Found
{
"id": "string",
"version": "string",
"metadata": {},
"responsetime": "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
"errors": [{
"errorCode": "string",
"message": "string"
}],
"response":null
}
Error Code | Error Message | Error Description |
---|---|---|
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 |