Retrieve the OperationDefinition for the Purview operation

This example demonstrates how to retrieve the OperationDefinition for the Purview operation.

Note: there is no need to provide an access token; the OperationDefinition is public.

Example request

This example is written for sandbox.patientsknowbest.com; replace the URL as needed if you are connecting to a different environment.

Absolute URLhttps://sandbox.patientsknowbest.com/fhir/OperationDefinition/Consent--purview
curlcurl -X GET --header "Accept: application/fhir+json" "https://sandbox.patientsknowbest.com/fhir/OperationDefinition/Consent--purview"