I am trying to implement onboarding APIs for registering a facility in HFR. I used basic-information API followed by additional-information API, they worked fine and I received the expected response. But when I tried to move forward with detailed-information API, I got a 500-internal server error.
@IntegrationSupport can you please look into the issue?
Here is the request -
curl --location ‘https://facilitysbx.abdm.gov.in/v1.5/facility/detailed-information’
–header ‘accept: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODQ4MzY4OTYsImlhdCI6MTY4NDgzNjI5NiwianRpIjoiYzIxNTNhMzQtMGQ0OS00ZmE2LWJjN2QtMjI3YTFlY2EwN2Y0IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkMjg5NzNkOS1iNGI1LTRkNTctYjE3Yy0xZTA2MGE0MzgyN2QiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAyNDE5Iiwic2Vzc2lvbl9zdGF0ZSI6IjZjZTgxYjg0LTAxMTUtNGYyZi05ODdkLTc4YzBkZDk0M2Y3MyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoZnIiLCJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCIsImhwX2lkIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiU0JYXzAwMjQxOSI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImNsaWVudElkIjoiU0JYXzAwMjQxOSIsImNsaWVudEhvc3QiOiIxMC4yMzMuNjguMjQ4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJzZXJ2aWNlLWFjY291bnQtc2J4XzAwMjQxOSIsImNsaWVudEFkZHJlc3MiOiIxMC4yMzMuNjguMjQ4In0.JspyGOy15CRpEff72II-wDMMprGbgbsZVxbam06zDCVY6jnFbXbHLzkAva0rkgDT6bVREzyyKnGCjMjsG_tSFUKP6ybUoenf_3jwBBV6_72sXNVjdCvMe9D_5FnNsq9jQ6EHbnLeHHvNUmmTsBAAqrVlWk17qkGm769yGiE69NWd0dw_RR5WlVncECSj9AxZp7TAp09tLNu5z2Eb-z87iDr9eflQQVeOHhGL7wZM2QhgSok1gxEqHWhbvf-sj2Kl-tuuRGnEHhcOIyoeEU2ubjYfnLaEAN2HPKe-EWIIwN3eghhBMSybshp-zbslj691Qv732Vk-glS1MDaK8nVymw’
–header ‘Content-Type: application/json’
–header ‘Cookie: JSESSIONID=40FAE81952F53509CC7E695D784EC302; JSESSIONID=40FAE81952F53509CC7E695D784EC302; TS0156f262=01445fed0428e06b8a43a2711578b671025dbff647ee93f6cd6223e1a83b6ab3c6818efb2d2985343abe1b2f26f9ac4b68e54e11199f2727078d62af18379d4e46c823fa4a’
–data ‘{
“trackingId”: “8501”,
“specialities”: [
{
“systemOfMedicineCode”: “M”,
“isSpecializationAvalaible”: “N”
}
],
“medicalInfrastructure”: {
“totalNumberOfVentilators”: 4,
“totalNumberOfBeds”: 10
}
}’