Developer documentation‎ > ‎FHIR® REST API‎ > ‎Operations‎ > ‎Purview‎ > ‎

Examples

Check the current user's purview

This example demonstrates how to execute the Purview operation.
  1. Generate an access token by following the OAuth2 walkthrough
    1. The example below assumes you have been granted an access token of: aaaaa-bbbbb
  2. Make the call as detailed below, replacing the access token with your own values
  3. Your purview will be returned in the operation response

ExampleDetails
Relative URL/Consent/$purview
Sandbox example 
Absolute URLhttps://sandbox.patientsknowbest.com/fhir/Consent/$purview
curlcurl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" "https://sandbox.patientsknowbest.com/fhir/Consent/$purview"
Comments