v1

latestOpenAPI 3.0.02026-07-14327580.4 KB
Gateway

Request for subscription

creates a request for subscription. The subscription categories can be for care-contexts linkages or availability of data against existing care-contexts. Note that the requester must have HIU role

post/v0.5/subscription-requests/cm/init

Headers

Authorizationstring required

Access token which was issued after successful login with gateway auth server, which will be sent by gateway to authenticate itself with API bridge.

X-CM-IDstring required

Suffix of the consent manager to which the request was intended.

Request body

requestIdstring uuid required

a nonce, unique for each HTTP request.

timestampstring date-time required

Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ

Example request

{
  "requestId": "499a5a4a-7dda-4f20-9b67-e24589627061",
  "subscription": {
    "patient": {
      "id": "hinapatel@ndhm"
    }
  }
}

Response

Request Accepted