I am initiating consent request using the below curl, but It’s not getting auto approved i.e. no call back on v0.5/consents/hiu/notify. Am I missing something?
curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/consent-requests/init’
–header ‘Authorization: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJyYXZpNjE5QHNieCIsImNsaWVudElkIjoiU0JYXzAwMjExMCIsInN5c3RlbSI6IkFCSEEtQSIsInJlcXVlc3RlcklkIjoiUEhSLVdFQiIsInBock1vYmlsZSI6Ijg4MjYzMjYwNDYiLCJleHAiOjE2NzgxMDgyNzcsImlhdCI6MTY3ODEwMTA3NywicGhyQWRkcmVzcyI6InJhdmk2MTlAc2J4IiwidHhuSWQiOiI2MDNhZTY2NS1iN2NkLTQyZDYtODk0Mi1iNTM2MTc4ZjQwMjAifQ.xiNQyxGae4R3KX4HVt2OpzwmVnLx4dGkYseNviG-Ctftet5hrRBdKwIZ1uK1kAO3u7ajW3bCt6k8L5380nGn72s_bisHb9O1JnE5agdSm1Rn7UmOKz_e8Kc1AHrDXxXttdcs_ZzdZzLT6KeQSNur70jnlTWCFRQjPXKg4Fy-IL4GK6qE5VHqUnFehz377eic97oSqhB6M_KZPa9MROD_Nwv2t2HL9RdPe5lHJVCK7ZG6ZmlkqtAlD49-I2gxpK_9TC8wvp13sk-yR5MNtkBVejikrKgv08Qi2yXkO1JoI2Iw-s0T4xFqNloEwWopQtogXRgjMlASwnpq1_g2ZH65yQa’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS011c04bd=01445fed04841a7667aee9672f4bdc0ed6b85996b34b2237070548070863cce447c1921f94c905e54a6c1945ebcff6cb5c6c0dd483’
–data-raw ‘{
“requestId”: “8a7a3b18-49da-4619-a9fd-a023bfd42b3b”,
“timestamp”: “2023-03-17T13:07:07.093Z”,
“consent”: {
“purpose”: {
“text”: “Self Requested”,
“code”: “PATRQT”
},
“patient”: {
“id”: “rvk2000@sbx”
},
“hiu”: {
“id”: “inlocker3”
},
“hip”: {
“id”: “innHIP1”
},
“requester”: {
“name”: “inlocker3”,
“identifier”: {
“type”: “HEALTH_LOCKER”,
“value”: “”,
“system”: “”
}
},
“hiTypes”: [“DiagnosticReport”],
“permission”: {
“accessMode”: “VIEW”,
“dateRange”: {
“from”: “2023-01-01T12:52:34.925Z”,
“to”: “2023-03-01T12:52:34.925Z”
},
“dataEraseAt”: “2023-03-28T12:52:34.925Z”,
“frequency”: {
“unit”: “HOUR”,
“value”: 1,
“repeats”: 1
}
}
}
}’
Thanks in advance.