https://dev.abdm.gov.in/hiecm/api/v3/link/carecontext
{
“abhaNumber”: “91274445047872”,
“abhaAddress”: “test@sbx”,
“patient”: [
{
“referenceNumber”: “Test-01”,
“display”: “Test-01”,
“careContexts”: [
{
“referenceNumber”: “PT-01”,
“display”: “PT-01”
},
{
“referenceNumber”: “PT-02”,
“display”: “PT-02”
}
],
“hiType”: “IMMUNIZATIONRECORD”,
“count”: 2
},
{
“referenceNumber”: “TMH-PUID-015”,
“display”: “Display-15”,
“careContexts”: [
{
“referenceNumber”: “PT-67”,
“display”: “PT-08”
},
{
“referenceNumber”: “PT-03”,
“display”: “PT-03”
},
{
“referenceNumber”: “PT-04”,
“display”: “PT-04”
}
],
“hiType”: “PRESCRIPTION”,
“count”: 3
}
]
}
Response
{
“code”: “900908”,
“message”: "Resource forbidden ",
“description”: “User is NOT authorized to access the Resource. API Subscription validation failed.”
}
@IntegrationSupport