/v1/bridges/addUpdateServices Not working

/v1/bridges/addUpdateServices URL service is not working and responding with Request failed with status code 404

Could anyone help with this issue

@IntegrationSupport

Use
PUT https://dev.abdm.gov.in/devservice/v1/bridges/addUpdateServices

[
{
    "id": "",
    "name": "",
    "type": "HEALTH_LOCKER",
    "active": true,
    "endpoints": [
        {
            "address": "https://f779-43-224-10-137.ngrok-free.app/register",
            "connectionType": "HTTPS",
            "use": "registration"
        },
        {
            "address": "https://f779-43-224-10-137.ngrok-free.app/upload",
            "connectionType": "HTTPS",
            "use": "data-upload"
        }
    ],
    "alias": [
        ""
    ]
}

]

1 Like

Thanks!

It is working now. But where is the doc for this? This is not mentioned in the swagger doc, right?

I think API is changed but documentation is old.

Thanks, How to find out these changes?

@viewzen

kindly use following to add the services by using the below mentioned curl

curl --location ‘https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices’ \

–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODYxMjY2MzcsImlhdCI6MTY4NjEyNjAzNywianRpIjoiOTYwNTE2YWUtOTNhYi00YWVmLTkwZmEtYzRjM2E1N2ExMDE1IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI1OTgzYWM3Zi0xYjNiLTQ5Y2MtYjA5My05NGJhMWU5ZDU4OTAiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJSQU1BTl9URVNUIiwic2Vzc2lvbl9zdGF0ZSI6IjE5ZDI3ODVkLTU5NTAtNDAzNC1iZTBkLTJkM2NmYzM2NTNiMSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlJBTUFOX1RFU1QiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjMzIiwiY2xpZW50SWQiOiJSQU1BTl9URVNUIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtcmFtYW5fdGVzdCIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguMzMifQ.P4lLMKhxi61PxUiDlx37-TCsgezWyuqhuNYOdDDNKdOHi-h0JO8PsX4J0kkDikBrU4oY_mxEOnDjsSRWeApP4CmwOubQYgzQ8SrpBjCTtVqG5I0QtLU5fU-BezxWUC9HpYvVR8X113Bxh8B9E-_irnRqUkRAIx-uFPl_jGXwS-geyWnVA54CivjJAQ-FlF_lOZkoSxs0q0JvCLYuv4NR7DBLrKb4VWvQNZFIKgDEHWlnF3nV_qguukvrXnZEW2fn0o5uOpzQLpbsf55tOlZdUUlhdeTvcSmyqYiHI9HEa_Jn2SLg_IVGV-cRUltxnS0U2w9-AcgABAbAk3PRJaNdSQ’
–header ‘Content-Type: application/json’
–data ‘[
{
“id”: “TEST-HIP-T”,
“name”: “TEST-HIP-T”,
“type”: “HIU”,
“active”: true,
“alias”: [
“TEST-HIP-T”
]
}
]’

This one is not working. The one by @Jonsan_devganiya is working.

@viewzen @Jonsan_devganiya @IntegrationSupport
Hello guys
I have medical project and we need check and store abha id if exist
I am using (/v1/search/searchByMobile) api for finding abha id it show 200 status but its response is blank data
please help me how can i fix this issue

This api is not working https://dev.abdm.gov.in/gateway/v1/bridges/addUpdateServices
Please provide another API; we have been stuck for a month.