Hello @IntegrationSupport @SARCH1 @Ramandeep1,
I am Himanshu Singh and our team is working on building a phr app we are done with all phr functionalities including Abha creation but have some questions related to the health locker,
- While I am sending the request of auth/init (“authMode”: “DIRECT”) from POSTMAN, I’m unable to get any response from you and for your reference, I am adding CURL
- Can you share the mandatory/optional test cases for the creation of a health locker with a phr app?
- Incase our phr app doesn’t have a health locker can we create a flow for uploading records (gallery , files etc ) through our app and then connect with existing health lockers
Request:
curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/users/auth/init’
–header ‘accept: /’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2ODYyMDUxNjUsImlhdCI6MTY4NjIwNDU2NSwianRpIjoiYzNkZWQwNjgtYzE5Yy00NGMzLTk4NmMtN2Q5NTM4MmQ3Nzc1IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJkZjIzMTFiYi0wODVlLTQxNjEtYWMyNC0wYzA3M2NjNDFhZTciLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzMjc5Iiwic2Vzc2lvbl9zdGF0ZSI6Ijc0OWQ4YzQyLTc0OGQtNDBmNi1iYjE2LTIzZmVjNTViZDk4OSIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAzMjc5Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SG9zdCI6IjEwLjIzMy42OC4zMyIsImNsaWVudElkIjoiU0JYXzAwMzI3OSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDMyNzkiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY4LjMzIn0.TI9Cbxz5MMbWoObteuHnpO-I5UE3jF7tr9YUHq4hwJJKClDA0gM3E3HioaVbQ__UD5j7S2y7kY2dJRR1E7D2q2pHLk9HcAqZmzToUMBf9n6yuOlM8miKiwHwXwWzuFhsAeLkODVwtB7vauwQz3KIde-0BvJWGmS0CXb6IAVw2sQP87nMeyGFqaLTujhPe6ePjCTXSrPjyYIofIOOYZ8fMmp56I8bVqdXDTi_pVXOc4dfbQmedNR7m3h0ht1fGW6JP6x46yjjHGFa82KQP8kVCEbj83Y6PyZrrZ4OBSOB0smdvxkxW_3gGfCL-IpTvXVvpv95N4FnPn-wax-DRzMk1A’
–header ‘Cookie: TS011c04bd=01445fed04d47945f895297bc458ae55eac461cef5d549f0b8f9431cafe48cda4473ee749ea09396035cbcd7a4a07b43faf04adca5’
–data-raw ‘{
“requestId”: “81d836ad-0f0b-4510-b133-4335fb845928”,
“timestamp”: “2023-06-08T06:19:10.929Z”,
“query”: {
“id”: “himanshu454@sbx”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “DIRECT”,
“requester”: {
“type”: “HEALTH_LOCKER”,
“id”: “YoreLocker2023”
}
}
}’
Kindly help me with it
Warm Regards
Himanshu Singh