v1
latestOpenAPI 3.0.02026-07-144898115.8 KBsubscriptions
cm facing
Notification for subscription grant/deny/revoke
This API is used by CM to notify a HIU to grant or deny a request for subscription, and also to notify that in case an existing subscription is revoked or expired. For notifying that a particular subscription request was GRANTED or DENIED, the subscriptionRequestId is passed.
post/v0.5/subscription-requests/hiu/notify
Headers
Authorizationstring required
Access token which was issued after successful login with gateway auth server.
X-HIU-IDstring required
Identifier of the health information user to which the request was intended.
Request body
Example request
{
"notification": {
"subscription": {
"id": "subscription Id",
"patient": {
"id": "hinapatel79@ndhm"
}
},
"subscriptionRequestId": "request id of the subscription"
},
"requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd"
}Response
Request Accepted