Hi @Shubhanshu_S,
Get patient request list empty for Abha address avktppqq@abdm
Below is json payload
Get request list empty for Abha address avktppqq@abdm
/v0.5/subscription-requests/cm/init
{“requestId”:“1549acb2-8f2d-420b-87c7-25653072f544”,“timestamp”:“2022-07-07T12:27:10.7653831Z”,“subscription”:{“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:""},“patient”:{“id”:“avktppqq@abdm”,“name”:null},“hiu”:{“id”:“driefcase”,“name”:null},“hips”:null,“categories”:[“LINK”,“DATA”],“period”:{“from”:“1917-07-07T12:25:10.7653653Z”,“to”:“2122-07-07T12:25:10.4013863Z”}}}
Response: 202
/v0.5/subscription-requests/cm/on-init not called by Gateway
v0.5/users/auth/init
{“requestId”:“de181891-052e-47e9-a616-21a8c6597a95”,“timestamp”:“2022-07-07T12:27:11.1197964Z”,“query”:{“id”:“avktppqq@abdm”,“purpose”:“KYC_AND_LINK”,“authMode”:“DIRECT”,“requester”:{“type”:“HEALTH_LOCKER”,“id”:“driefcase”}}}
Response: 202
v0.5/users/auth/init not called by Gateway
//CM API
X_AUTH_TOKEN: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJhdmt0cHBxcUBhYmRtIiwiY2xpZW50SWQiOiJuZGhtIiwic3lzdGVtIjoiQUJIQS1BIiwicmVxdWVzdGVySWQiOiJQSFItV0VCIiwicGhyTW9iaWxlIjoiODA4MDgwMjUwOSIsImV4cCI6MTY1NzIwMzc5OCwiaWF0IjoxNjU3MTk2NTk4LCJwaHJBZGRyZXNzIjoiYXZrdHBwcXFAYWJkbSIsInR4bklkIjoiMTE2YzRiOTEtM2QwZC00YzViLTgyMTUtNmFjODc5YTFlNGE2In0.iuXs63q31sW5AFagn4UPcRTGlH_35detgEZOzKhddFO-OfCTF9XG8hB-amVnb4zK-Baj4EyfN6bB69-j0Ms4H8bPbBVqs-8umC6ESPfRfUz_1lmaW1H1CsvxyxX8MRdOH1UYAdm1wrPCCkWc57Kx8d9OSEAQjFzVS7ZAJIpK_ZOG9a8fK_3HxrJiHpYvOeob7fo_6kOlMRMs3K4JtJ-PImygJ0M0WBQ7zK23xpaYvL1Ju_v6D8zpVhDRJJcB5GrGc_IFZDzBngqjIrMCEkPCaMoSOf8-F9nINnbrbmjIBXI2LU8MlHlunLhaR4-gsfqgr0M6c3lC7v0gF4Dgs5lXkw
https://live.abdm.gov.in/cm/patients/requests
{“consentLimit”:0,“consentOffset”:0,“lockerSetupLimit”:0,“lockerSetupOffset”:0,“subscriptionLimit”:0,“subscriptionOffset”:0,“authorizationLimit”:0,“authorizationOffset”:0,“status”:“REQUESTED”}
Response:
{“consents”:{“size”:0,“limit”:20,“offset”:0,“requests”:[]},“subscriptions”:{“size”:0,“limit”:5,“offset”:0,“requests”:[]},“authorizations”:{“size”:0,“limit”:20,“offset”:0,“requests”:[]},“lockerSetups”:{“size”:0,“limit”:20,“offset”:0,“requests”:[]}}