Resend a resource

Replay subscription delivery for a stored FHIR resource.

$resend asks Ovok to replay subscription delivery for a stored resource. If no options are provided, the server uses its default update interaction for matching subscriptions.

MethodPath
POST/fhir/R4/:type/:id/$resend

Request

The body is optional. Supply an interaction or a subscription ID to narrow the resend request.

curl --request POST \
  --url "https://api.sandbox.ovok.com/fhir/R4/Observation/${OBSERVATION_ID}/\$resend" \
  --header "Authorization: Bearer ${OVOK_TOKEN}" \
  --header 'Content-Type: application/json' \
  --data "{\"interaction\":\"update\",\"subscription\":\"${SUBSCRIPTION_ID}\"}"
Body fieldTypeDescription
interactioncreate, update, or deleteInteraction to replay. Defaults to update.
subscriptionstringOptional Subscription ID to target. When omitted, matching subscriptions are considered.

Response

HTTP statusMeaning
200 OKResend processing completed. No response resource body is returned.
404 Not FoundThe target resource is missing or not visible to the caller.

The operation requires appropriate access to the resource and its subscriptions.

Last updated on

On this page