We have been following below sequence for document based Health ID creation,
https://healthidbeta.ndhm.gov.in/api/v2/document/generate/mobile/otp
https://healthidbeta.ndhm.gov.in/api/v2/document/verify/mobile/otp
https://healthidbeta.ndhm.gov.in/api/v2/document/validate
But its giving below error for validate API,we have tried with combination for license and pan card with name,middlename ,lastname ,date of birth,But no luck with that .Could you please advice
request
curl --location --request POST 'https://healthidbeta.ndhm.gov.in/api/v2/document/validate’ \
–header ‘Content-Type: application/json’ \
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NTA4NzUxOTUsImlhdCI6MTY1MDg3NDU5NSwianRpIjoiYTQ0MTVmMjItMzMzNi00OWYyLWEzMDAtY2Y4MGQyOWYwNmJiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI4MGZlZmNlMy1iOTQ5LTQ5NzQtYmNhYS1jYTcwMDZlMWY5NWIiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxMzY5Iiwic2Vzc2lvbl9zdGF0ZSI6ImYwZTNkNTVkLWJhMmQtNDdhNi04NzdjLWFjZmI2MWFkNzg2NCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDEzNjkiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDEzNjkiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjE2NSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDEzNjkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjE2NSJ9.iGIxa8RkJprEpzmh7zyUFccyOB9CrYJLoN3TZ21_p5Hvu4fVwaJgxw9beLPWimAOM_Fp9WpdQGOEHa9wPUNew939G1SGltClniVelSuBgg-RCpE1OlLpw0QMH93-WL-4hMKiWilC3-lCmClZSWzju1ZMZPo4olXFI66bgpSOgGQP5jvEyX2NC-j1Cpnk1rkBElq37zKA_uq2uzZYHRJJi0u_RDnRI2jQ0OEOBhjfN-yGTRY0euxhWZcfe0xrX0zmOKkvLgGFjFW5tF3Tr_FHZU4LRzEolot2ERrtTZE11PvT6STz3q4GgLKTikz_JXyMj5J8EVMe9R3nHMvU2RXWbg’ \
–data-raw ‘{
“dayOfBirth”: 5,
“documentNumber”: “KL38 20210006351”,
“documentType”: “DRIVING_LICENCE”,
“firstName”: “Jemin”,
“gender”: “M”,
“lastName”: “James”,
“middleName”: “”,
“monthOfBirth”: “4”,
“yearOfBirth”: 1987
}’
Response received:
{
“code”: “HIS-422”,
“message”: “Unable to process the current request due to incorrect data entered.”,
“details”: [
{
“message”: “The details provided by you do not match against your Documents details. Please provide the correct details.”,
“code”: “HIS-4000”,
“attribute”: null
}
]
}