Request

All OpenAPI requests require a token. Read more at Authentication Token. Supply the token and the application id within header. For each request the body requires an encryped personuid. Read more at Authentication which details how to authenticate a new user to retrieve their personuid.

Application Id

Header Key ApplicationId
Format ApplicationId: 4C782603-8B36-485A-AE33-557CF6392E44
Data Type Guid
Description Supplied to you by your representative

Authorization

Header Key Authorization
Format Authorization: Bearer 0123456789ABCDEFGHIJ0123456789ABCDEFGHIJ0123456789ABCDEFGHIJ
Data Type OAuth 2.0 Bearer Token
Description Token is passed in the authorization header value

Sample Request

POST /api/clinical/medication/get HTTP/1.1 
Content-Type: application/json 
Authorization: Bearer ABCDEFGHIJKLM0123456789ABCDEFGHIJKLM0123456789ABCDEFGHIJKLM0123456789ABCDEFGHIJKLM0123456789 
ApplicationId: 4C782603-8B36-485A-AE33-557CF6392E44 
Content-Length: 71
{
    "personuid": "ABCDEFGHIJKLM0123456789ABCDEFGHIJKLM0123456789"
}