@IntegrationSupport
We regret to inform you that despite three days having passed, we are still facing challenges with the sandbox environment. This has resulted in a delay for our project to go live, and we understand the implications this holds for our overall progress.
API 1: https://dev.abdm.gov.in/gateway/v0.5/subscription-requests/cm/init
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{timestamp}}”,
“subscription”: {
“purpose”: {
“text”: “Self Requested”,
“code”: “PATRQT”,
“refUri”: “string”
},
“patient”: {
“id”: “{{Patient_ID}}”
},
“hiu”: {
“id”: “{{HIU_ID}}”
},
“categories”: [
“LINK”,
“DATA”
],
“period”: {
“from”: “2022-01-31T08:54:51.397Z”,
“to”: “2022-01-31T08:54:51.397Z”
}
}
}
API 2: https://dev.abdm.gov.in/gateway/v0.5/users/auth/init
{
“requestId”: “{{$guid}}”,
“timestamp”: “{{timestamp}}”,
“query”: {
“id”: “{{Patient_ID}}”,
“purpose”: “KYC_AND_LINK”,
“authMode”: “DIRECT”,
“requester”: {
“type”: “HEALTH_LOCKER”,
“id”: “TEST_HL_ATUL”
}
}
}
Webhook reponse:
/v0.5/subscription-requests/hiu/on-init
{“requestId”:“0e3518a5-987c-4640-8888-ece7fdd080bf”,“error”:{“code”:2500,“message”:“Error in making call to target system Content type ‘text/plain’ not supported for bodyType=in.projecteka.gateway.clients.model.CmErrorResponse”},“timestamp”:[2023,7,7,5,30,14,767780000],“resp”:{“requestId”:“8cd11677-641e-1273-466c-8df7fff20c49”}}
Error getting Error in making call to target system Content type ‘text/plain’ not supported for bodyType=in.projecteka.gateway.clients.model.CmErrorResponse
Previously it was working fine