Skip to content

Run an immediate FHIR indexing job for the site assistant

Request

Security
bearer
Path
siteIdnumberrequired
siteAssistantIdnumberrequired
Headers
x-internal-tokenstringrequired
Bodyapplication/jsonrequired
cronExpressionstring

Cron expression for running the indexing workflow

Example:"0 6 * * *"
resourceTypesArray of strings

Optional list of FHIR resource types to export and index

curl -i -X POST \
  'https://docs.axiomera.com/_mock/apis/heydonto/openapi/site/{siteId}/assistant/{siteAssistantId}/index-fhir/run' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'x-internal-token: string' \
  -d '{
    "cronExpression": "0 6 * * *",
    "resourceTypes": [
      "string"
    ]
  }'

Responses

Indexing job completed.

Response
No content