Hello NDHM Team
After doing all the necessary steps as HIU as shown in webinar
Skip video to 1:16:57, Surkreet did not receive the data here, the same way im stuck and im not receiving data as HIU ,even though the data exists in PHR app, also cannot retrieve data in HIU Web, i have already raised ticket for HIU Web issue but nobody provided any solution
The last api is called as bellow:
curl --location --request POST ‘https://dev.ndhm.gov.in/gateway/v0.5/health-information/cm/request’
–header ‘accept: /’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2MzU3NTIzODUsImlhdCI6MTYzNTc1MTc4NSwianRpIjoiNTY0MWM0MTEtZDljYS00ZTFkLWJiMDYtZTlkMWFkM2UyNjE3IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkNTA3NGQxZi01M2M1LTQwNjUtODQ0My0yMTY4ZmZhMmIxMTQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMTc4Iiwic2Vzc2lvbl9zdGF0ZSI6IjRkY2FiZWZjLTljMTItNDJiZS04ZDI1LTNiMWZjNTMyMmJkYiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDAxNzgiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjgwIiwiY2xpZW50SWQiOiJTQlhfMDAwMTc4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMDE3OCIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguODAifQ.cusv6cVkZssgPbfQiVMqNo7ROU9AKTypAOYalbDx910CMfrhZRFFqKutx0SHh7YoK67MKsm6DSHu75fAjxbEDz5EL2pVKNLmV__NJBVfyvIk5rtruye29JoP85QBL7tcbcQjIZUQ3zjfSoquameIJmzBT0w7Tv8ISBaoiN3gNISX9O3M65dlJtPz_J_an2TxIyPJ-7e3wwKYvz7Fn0DlDUNF_dmMwvc1NxthbON7_gYYBkZeZp-UIg3StUw3cXHZhXjSusdWwrTRaxN21KQSRd4KVDoZs1PAaPBXucrh9_RFtfFf2pnqYnkhk-PF77XJZDbIP1lQoCJje8sXv9YNzA’
–data-raw ‘{
“requestId”: “4a7f25c8-2afa-4be8-8c4b-3559aaa8e007”,
“timestamp”: “2021-11-01T07:33:50.459000”,
“hiRequest”: {
“consent”: {
“id”: “e6b5f60a-57dd-4eb1-8257-7b34476acc0b”
},
“dataPushUrl”: “https://webhook.site/becaf57a-bbf9-479e-a2fb-8e3207fb33d5”,
“keyMaterial”: {
“cryptoAlg”: “ECDH”,
“curve”: “Curve25519”,
“dhPublicKey”: {
“expiry”: “2021-11-02T15:29:30.029Z”,
“parameters”: “Curve25519/32byte random key”,
“keyValue”: “string”
},
“nonce”: “3fa85f64-5717-4562-b3fc-2c963f66af34”
}
}
}’
Response:
{
“requestId”: “e8a0d25f-f875-4f26-989e-fb8027f4a34b”,
“timestamp”: “2021-11-01T07:33:17.139262”,
“hiRequest”: {
“transactionId”: “6ffbf671-88a1-4579-a9e7-a712a3dd09df”,
“sessionStatus”: “REQUESTED”
},
“error”: null,
“resp”: {
“requestId”: “0ae29991-be1f-4a03-96d7-899c85f7a071”
}
}
I’m expecting bellow health record in screenshot in my callback url :
Please let me know whats wrong and what needs to be done.
My previous query: