Not able to create sample HIU for testing

PUT method - https://dev.abdm.gov.in/devservice/v1/bridges/addUpdateServices tried with this url getting no healthy upstream as response

Also tried with https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices

getting response ----

{
“error”: {
“code”: 2500,
“message”: “Unknown error occurred”
}
}

Please help with me in this. also tried with POST method on the above url @IntegrationSupport

Hi @IntegrationSupport do you have an update on this ?

@syamprakashp This is depreciated. Kindly use this -

https://dev.abdm.gov.in/gateway/v1/bridges/getServices

hello @syamprakashp

Am sreedevi .R u working on m3 integration?

Hi @IntegrationSupport actually this url is to fetch the HIP/HIU ids against bridge. I want to add one extra HIU id to the bridge . Is it possible with this url ?

Hi @sreedevi007 yes we are in M3 integration process

Hi @IntegrationSupport also please let me know is this issue causing due to any missing roles Thanks

@syamprakashp yes you can.

Hi @IntegrationSupport can you please assign the role for the same Thanks

These are the existing roles available

“roles”: [
“hiu”,
“offline_access”,
“healthId”,
“OIDC”,
“hip”
]

@syamprakashp No roles required to be assigned.

Hi @IntegrationSupport so can you please help me the steps to register new HIU against the bridge ?

@syamprakashp already shared the API in this trial. Sharing the CURL now.

curl --location --request PUT ‘https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDc4OTc0NTYsImlhdCI6MTcwNzg5NjI1NiwianRpIjoiZTQ3MDZkOTEtMzE0Ny00NWYwLWEwNDEtYjc4YTNlMDA2N2U4IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkZTMxN2ZlYi03NjM4LTQ3NWUtYjI5OS0zM2NhYTVkMTUxNDEiLCJ0eXAiOiJCZWFyZXI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aP7tOLnj4KxBmvOoC18rBQfAFEtU0isepG2O6u5I5vERPc27eSAsQ’
–header ‘Content-Type: application/json’
–data ‘[
{
“id”: “STestHIP1”,
“name”: “S Test HIP 1”,
“type”: “HIP”,
“active”: true,
“alias”: [
“STestHIP1”
]
}
]’

You can register new HIP and HIU by using this. Before this you need to onboard your facility here- https://facilitysbx.abdm.gov.in/

Hi @IntegrationSupport https://facilitysbx.abdm.gov.in/ registering in this portal is mandatory to generate a sample HIU for testing purpose in sandbox environment ? Please confirm .

@syamprakashp Yes. This is required. Please go through documentation.