Need the following ids

I need the HIP ID @IntegrationSupport

Hi @healthilyfitness,

Please email your query to shubham.nakawe@sumasoft.net
We will help you.

Waiting for your reply @IntegrationSupport

@IntegrationSupport help to get HIP id ( sandbox I’d = SBX_002893)

@healthilyfitness we do not provide any hip id. We provide HIP roles. Please clarify what error you are getting. You can check roles at your end also, Please check the jwt.io output. You can confirm it by passing your access token generated by //sessions API to https://jwt.io

@IntegrationSupport Hi, I need X-HIU-ID for consent API

API Name:

/v0.5/consent-requests/on-init

@healthilyfitness This API is a call back from ABDM. You do not need X-HIU-ID for anything.


Getting access denied @IntegrationSupport

and for consent API I need this parameter

{
“requestId”: “”,
“timestamp”: “”,
“consentRequest”: {
“id”: “”
},
“error”: {
“code”: 1000,
“message”: “string”
},
“resp”: {
“requestId”: “”
}
}

@IntegrationSupport

@healthilyfitness Please go through the documentation from sandbox. As already mentioned, on-int you dont need to call, it is a response from ABDM which you will receive in webhook. You need to call init API .

What about facility Hui id ? We don’t need it? How can we test ? My I’d on facilitysbx is drmanishtest@hpr.abdm and applied for a facility but it is not approved, how can I initiate the process @IntegrationSupport

Can you please tell me how to get requestid which api will help me to fetch requestid? @IntegrationSupport

@healthilyfitness RequestId you will get by gateway response call back from on-init api.
v0.5​/users​/auth​/on-init


Please check error 400, no mapping ?

Please check this error it say no mapping , 400 bad request

Please tell how to resolve this error 400 , no mapping found

@healthilyfitness Request you to go through M2 documentation first.

Also, check the webinar section for M2 integration
https://sandbox.abdm.gov.in/webinars

Hi @healthilyfitness you need to only pass “sbx” in X-CM-ID. Also, please use the correct API.

I am attaching the curl for your help.

curl --location ‘https://dev.ndhm.gov.in/gateway/v0.5/users/auth/init
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTQ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.lVkmWtwrGNWvxr4BuechK-YMtuhZUCN1hXwxSc1WCpgmJakgjXGdYFfCeTEB1TTkPXvQVj_N6AX1q8UMareH17NwzCFeXtmXqsdbeFHzIGh-D3QkLdye_x9KDGDqbxOzFST8-sKx6nU6Nc1yTcxqcXXkEPvAdHogWBaRm_0U0OJSz662QDe9d-s3g6mG5GZzT_Bqszxeg-HVwj2nrJZPnS977gr7fofwf5cmzOGV5CJKDZ5pjxAZy5h0e9RjcvHuJaQUESBayaiy9JBzoG_fvTta7ECSmv8Z9smV61x6M_XpnPFlsl8-YQccqXoQ281NPjm5jlyUJhp8h7qQhIJAnQ’
–header ‘Cookie: TS01960242=01445fed04be10f41c894a5bae612516fa238317f9a2881db039b8ffaf03b0f963b620865b7996d0baf2c349c2e9a279f0fb8631c8’
–data-raw ‘{
“requestId”: “fa350ab2-99b4-4197-8646-84f30767b390”,
“timestamp”: “2023-09-14T23:50:02.822000”,
“query”: {
“id”: “{{Patient_ID}}”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “MOBILE_OTP”,
“requester”: {
“type”: “HIP”,
“id”: “{{HIP_ID}}”
}
}
}’

Thanks
Ramandeep Singh

Thank you but we are not able to get request I’d can you help in that

RequestId you will get by gateway response call back from on-init api.
v0.5​/users​/auth​/on-init
With this I am getting response access denied

@IntegrationSupport @SARCH1