Resend a 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.
| Method | Path |
|---|---|
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 field | Type | Description |
|---|---|---|
interaction | create, update, or delete | Interaction to replay. Defaults to update. |
subscription | string | Optional Subscription ID to target. When omitted, matching subscriptions are considered. |
Response
| HTTP status | Meaning |
|---|---|
200 OK | Resend processing completed. No response resource body is returned. |
404 Not Found | The target resource is missing or not visible to the caller. |
The operation requires appropriate access to the resource and its subscriptions.