Hi,
Am consuming API https://dev.ndhm.gov.in/gateway/v0.5/consent-requests/init
And getting this request rejected as response, please help.
Request:
{
"requestId": "7F175269-BFCE-41D6-80CE-8C398D4921D1",
"timestamp": {{timestamp}},
"consent": {
"purpose": {
"text": "string",
"code": "CAREMGT"
},
"patient": {
"id": "91733217308028@sbx"
},
"hip": {
"id": "abdm-hasna-facility"
},
"hiu": {
"id": "abdm-hasna-facility"
},
"requester": {
"name": "Dr. Manju",
"identifier": {
"type": "REGNO",
"value": "MH1001",
"system": "https://www.mciindia.org"
}
},
"hiTypes": [
"OPConsultation"
],
"permission": {
"accessMode": "VIEW",
"dateRange": {
"from": "2023-09-25T06:31:53.904Z",
"to": "2023-10-08T06:31:53.904Z"
},
"dataEraseAt": "2025-10-09T06:31:53.904Z",
"frequency": {
"unit": "HOUR",
"value": 0,
"repeats": 0
}
}
}
}
It gives error as below
StatusCode = OK
The requested URL was rejected. Please consult with your administrator.
Your support ID is: 8374555054888624795