Hi @Shubhanshu_Shukla,
I have tried to approve locker setup request and it’s got approved but in the response i got
SubscriptionID is NULL. Below is json payload
https://dev.abdm.gov.in/cm/locker-requests/approve
Request:
{“subscription”:{“requestId”:“eaa1650d-9cc3-4be0-a9b0-cdf56722e162”,“isApplicableForAllHIPs”:true,“includedSources”:[{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“medixcel-akash-hospital-hip”,“name”:“Medixcel Akash Hospital HIP”,“isAllow”:true},“categories”:[“LINK”,“DATA”],“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}},{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“CVLLPT_324156”,“name”:“CV LLP Hospital”,“isAllow”:true},“categories”:[“LINK”,“DATA”],“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}},{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“driefcasehl”,“name”:“DRiefcase Health Locker”,“isAllow”:true},“categories”:[“LINK”,“DATA”],“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}}],“excludedSources”:[]},“autoApproval”:{“isApplicableForAllHIPs”:true,“hiu”:{“id”:“driefcasehl”,“name”:“DRiefcase Health Locker”},“includedSources”:[{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“medixcel-akash-hospital-hip”,“name”:“Medixcel Akash Hospital HIP”,“isAllow”:true},“categories”:null,“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}},{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“CVLLPT_324156”,“name”:“CV LLP Hospital”,“isAllow”:true},“categories”:null,“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}},{“hiTypes”:[“DiagnosticReport”,“Prescription”,“ImmunizationRecord”,“DischargeSummary”,“OPConsultation”,“HealthDocumentRecord”,“WellnessRecord”],“purpose”:{“text”:“Self Requested”,“code”:“PATRQT”,“refUri”:null},“hip”:{“id”:“driefcasehl”,“name”:“DRiefcase Health Locker”,“isAllow”:true},“categories”:null,“period”:{“from”:“1916-10-22T06:24:23.0929428”,“to”:“2121-10-22T06:24:22.9505272”}}],“excludedSources”:[]},“authorization”:{“requestId”:“c2524669-a72b-4259-b467-2cf1e9f3ca55”,“generatePerpetualToken”:true}}
Response:
{“subscriptionId”:null,“autoApprovalId”:“c9283651-1a68-40b0-b54c-7131da4e520f”,“authorizationId”:null}
Please guide us