string [Optional] Gender of the person. Optional values: MALE, FEMALE.
enableOgs
boolean Whether to enable OGS (On-going Screening) feature.
entityType
string [Optional] It supports searching for individual or company (organization) names or individual names, and the corresponding values need to be set when using it. Optional values: INDIVIDUAL, ORGANISATION.
TypeNote:
Date of birth should be within 150 years ago and today.
Ensure that userId is unique to avoid duplication errors.
If any enum field contains invalid values, the request will fail with PARAMETER_ERROR.
Response Description
Parameter
Description
code
enum Response's Status Code.
transactionId
string The request id, the max length is 64.
message
string Status Code Explanation.
data
object The result of the comparison.
extra
object Extra response info (Exception Message).
Response.code
Status Code
Message
SUCCESS
OK
PARAMETER_ERROR
User ID can not be empty
The userId length cannot exceed 200
Gender is not in enum
Nationality is not in enum
CountryLocation is not in enum
PlaceOfBirth is not in enum
Dob is not in range, should be between 150 years ago and today
Dob format is not yyyy-MM-dd or yyyy/MM/dd
Duplicate userId in screening record db response error
{
"code": "PARAMETER_ERROR",
"message": "ReferenceId ID can not be empty",
"data": null,
"transactionId": "b203e5f74d9abf11",
"pricingStrategy":"FREE"
}
PARAMETER_ERROR (Invalid gender)
{
"code": "PARAMETER_ERROR",
"message": "Gender is not in enum",
"data": null,
"transactionId": "f123c5a6d89a72f1",
"pricingStrategy":"FREE"
}
PARAMETER_ERROR (Invalid DOB format)
{
"code": "PARAMETER_ERROR",
"message": "Dob format is not yyyy-MM-dd or yyyy/MM/dd",
"data": null,
"transactionId": "c762ad19fe8d1a77",
"pricingStrategy":"FREE"
}