@IntegrationSupport Please help me with this as I am getting “501 Not Implemented”
Also Can you clarify the required request fields to send in this API? I only want all facilities based on state and districts.
Can you also me API for state and district Listing code so that I can store it in a database for my listing?
curl --location 'https://facilitysbx.abdm.gov.in/FacilityManagement/v1.5/facility/search' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDQ5NzIwODYsImlhdCI6MTcwNDk3MDg4NiwianRpIjoiYjc0ZDk0NTMtOTA0ZS00ODU1LTlhMjAtMjhkZTJlZWY4NzM0IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJiMGEyZWNhYy01NmU3LTQ4NmEtYWRkZS03MjBhYzMzNWMxNmYiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDA0Njg2Iiwic2Vzc2lvbl9zdGF0ZSI6ImJmY2M0YjRkLWJmOWMtNGM5Mi1hOGI4LTM5OGViY2U2MDI0NyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDQ2ODYiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY5LjIwMCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SWQiOiJTQlhfMDA0Njg2IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDQ2ODYiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY5LjIwMCJ9.g482xRwrNKmOUlgmRvYOsqclFeggBd7tA5QDPzu964Tbw9yxnrWPYtzZ4rkW_hYtM9G9EPIRS5xJdojem8A5XSQWhCpww4rKHQupfxDfTB8XcC9QmlSo8jijaQJlBrj_sr7LRkCRMDMapgv7ABJu9iwkWGTrqhSdFX36t8XQBftTKb-4Y6zJT-Z9MFLNffX5ahfsEWGVrF79911hlVjRmAdCarXvsSBAfXbeYI4R0aDFEKEXEFBcgfmGjUrGda5gLpWt0honnDzWXbo_ZPXPzm6lgcCHdA2vPczpEsGZTmQ_YMR3VthB65x0WX3FfGROkbtvQgARC-Zdcp0VaLCkxA' \
--header 'Cookie: JSESSIONID=D0599ABE7F3EA15349D025A0213E7D83; TS0156f262=01445fed044572856f2b21f0b463500be3e9b943b4ea2f82bad0027213df11f925faba72fd89d3d536cad0fe82978f8ff53df715d69f440a622b958f5637d9727c84e566a7' \
--data '{
"ownershipCode": "G",
"stateLGDCode": "5",
"districtLGDCode": "47",
"subDistrictLGDCode": "",
"pincode": "",
"facilityName": "",
"facilityId": "",
"page": 1,
"resultsPerPage": 10
}
'