Getting Unknown error occurred while creating PHR service using bridges/addUpdateServices API

Obtain the access token by using the following API: https://dev.abdm.gov.in/gateway/v0.5/sessions.

Then, after acquiring the access token, proceeded to call the following API for registering the PHR ID: https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices.

I have thoroughly reviewed my request and the API documentation, but I am unable to determine the cause of this error. It appears to be an “Unknown error,” and I would appreciate your assistance in resolving this issue.

Hello @Ashish15,
The addUpdateServices API is now outdated and its usage is not recommended. Instead, you can use the https://facilitysbx.abdm.gov.in/swagger-ui.html#/Multiple%20HRP%20API/v1MutipleHRPAddUpdateServicesUsingPOST API. We have also implemented multi-hrp api.

Can you specify the json structure for the request or your postman screen shot would be great !!
iam trying the same api confused between facilityname and hip name

{
“facilityId”: “string”,
“facilityName”: “string”,
“HRP”: [
{
“bridgeId”: “string”,
“hipName”: “string”,
“type”: “string”,
“active”: true
}
]
}

would be great if you could specify this value

hi @Rohit007,

Did you get the answer to your question. What values we need to specify in the request JSON. Please let me know incase you were able to successfully hit this api.