hi, @IntegrationSupport,
when i approve locker-requests then why autoApprovalId is null,
My Request Object is in lockerSetups (https://dev.ndhm.gov.in/cm/patients/requests);
{
"subscription": {
"id": "7b78539f-956a-400a-a779-6dc4700debe9",
"createdAt": "2023-08-07T15:58:07.231903",
"lastUpdated": "2023-08-07T15:58:07.231903",
"purpose": {
"text": "Health Locker Test",
"code": "Healthray_health_locker_test",
"refUri": "string"
},
"patient": {
"id": "darshanbabariya3@sbx"
},
"hiu": {
"id": "HEALTHRAY_LOCKER",
"name": "Jonsan Healthray Locker"
},
"hips": null,
"categories": [
"LINK",
"DATA"
],
"period": {
"from": "2022-01-31T08:54:51.397",
"to": "2023-01-31T08:54:51.397"
},
"status": "REQUESTED",
"requesterType": "HEALTH_LOCKER",
"subscriptionId": null
},
"authorization": {
"requestId": "10f29a58-4706-454d-bf1b-6b3b947a4678",
"patientId": "darshanbabariya3@sbx",
"status": "REQUESTED",
"purpose": {
"code": "KYC_AND_LINK",
"text": "KYC, Link records"
},
"authMode": "DIRECT",
"requester": {
"type": "HEALTH_LOCKER",
"id": "HEALTHRAY_LOCKER",
"name": "Jonsan Healthray Locker"
},
"createdAt": "2023-08-07T10:28:00.558073",
"lastUpdated": "2023-08-07T10:28:00.558073"
}
Request approve payload and url is
“https://dev.abdm.gov.in/cm/locker-requests/approve”
{
"authorization": {
"generatePerpetualToken": true,
"requestId": "10f29a58-4706-454d-bf1b-6b3b947a4678"
},
"autoApproval": {
"excludedSources": [],
"hiu": {
"id": "HEALTHRAY_LOCKER_TEST",
"name": "Jonsan Locker Test"
},
"includedSources": [
{
"hiTypes": [
"Prescription",
"OPConsultation",
"DiagnosticReport",
"DischargeSummary",
"ImmunizationRecord",
"HealthDocumentRecord",
"WellnessRecord"
],
"period": {
"from": "2022-01-31T08:54:51.397Z",
"to": "2023-01-31T08:54:51.397Z"
},
"purpose": {
"text": "Health Locker Test",
"code": "Healthray_health_locker_test",
"refUri": "string"
},
"hip": null
}
],
"isApplicableForAllHIPs": true
},
"subscription": {
"excludedSources": [],
"includedSources": [
{
"categories": [
"LINK",
"DATA"
],
"hiTypes": [
"Prescription",
"OPConsultation",
"DiagnosticReport",
"DischargeSummary",
"ImmunizationRecord",
"HealthDocumentRecord",
"WellnessRecord"
],
"period": {
"from": "2022-01-31T08:54:51.397",
"to": "2023-01-31T08:54:51.397"
},
"purpose": {
"text": "Health Locker Test",
"code": "Healthray_health_locker_test",
"refUri": "string"
},
"hip": null
}
],
"isApplicableForAllHIPs": true,
"requestId": "7b78539f-956a-400a-a779-6dc4700debe9"
}
}