Greetings,
We’re currently working on the user-initiated linking flow for the HIP. But we’re unable to understand why we’re getting a 404 error when initiating the linking process. Please help us in this regard.
Thank you
Greetings,
We’re currently working on the user-initiated linking flow for the HIP. But we’re unable to understand why we’re getting a 404 error when initiating the linking process. Please help us in this regard.
HI @Hari,
Could you please share the abha address as well as password and please pass the description in description box don’t pass picture.
Thanks,
Govind D
Hi @Hari,
Please check the below curl and follow it. I guess you are doing wrong way.
curl --location --request GET ‘https://dev.ndhm.gov.in/cm/v1/links/link/init’
–header ‘X-AUTH-TOKEN: Bearer eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJqYXRpbi5paWl0YUBzYngiLCJjbGllbnRJZCI6InNieCIsInN5c3RlbSI6IkFCSEEtQSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsInBock1vYmlsZSI6bnVsbCwiZXhwIjoxNjU1MzY0MzIzLCJpYXQiOjE2NTUzNTcxMjMsInBockFkZHJlc3MiOiJqYXRpbi5paWl0YUBzYngiLCJ0eG5JZCI6IjU3MmFhMGM1LWEwZTYtNGFkMS04MzVkLWY1ZTU4NmU1MmQwYyJ9.FTBzF9IP4w70iW_mRYpmGBKs9tBqq87h2roI4V0zB5NWuM6ig5XVYaPIDXCE-FZ9Q4mNmL09AUuszgCvLw4c690BFxvC_MBlsaevLNft3YNKLT2Gz4KZLjvrkwFon4LP1mPANky1VB91ecattwi7LWpA0mpAyzLY6vsp0wCOI4MyeueBjdZg2uvkltxGt6fBWrRhjPjegdDYrns7hRIt6scphrKqH4aywpFJnfXXKNcP7ZHxdQ7lpfC0O1TFwkYxwXjmchhRCir1FzhXyeTwNw0u225M2vY3cYWPikMHHUYY7wDOctqztsKZu4uJQdyUy5fr03h0QT-3ZhIPXpME2w’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01115a1c907416a5ce9011ccd2aa6889f417c9ea6e0bcdc71eb494833fdfa99686955ad13a4a38c1ca843746d101666b29c8d3d142’
–data-raw ‘{
“patient”: {
“careContexts”: [
{
“contextChecked”: false,
“referenceNumber”: “19348”
}
],
“referenceNumber”: “jatin.iiita@sbx”
},
“requestId”: “681b9845-38e0-450d-8a67-6907847c20e5”,
“transactionId”: “7570a68d-af92-44b5-b7e2-62e3ba77b2c3”
}’
{
“transactionId”: “7570a68d-af92-44b5-b7e2-62e3ba77b2c3”,
“link”: {
“referenceNumber”: “19348”,
“authenticationType”: “MEDIATED”,
“meta”: {
“communicationMedium”: “M0BILE”,
“communicationHint”: “NDHM - emrweb”,
“communicationExpiry”: “2022-06-16T06:26:57.669”
}
}
}
Thanks,
Govind D.
Hi @Hari,
Please provide the confirmation to close the issue. if we are not getting any response from you, we will think the issue has resolved close this ticket.
Thanks
What is the transactionId we are passing in link/init
random or what is the previous api to call to get that transactionId
@Hari