Incrementally sync client and patient records from Provet Cloud using delta polling and custom fields

domain: developers.provetcloud.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Store a timestamp before each sync run and query GET /api/0.1/client/?modified__gte=<last_sync_timestamp> on the next run to fetch only changed clients
  2. Fetch patients for changed clients via GET /api/0.1/patient/?client__is=<id>&modified__gte=<last_sync_timestamp>, or poll patients independently on the same timestamp
  3. Treat archived=true as Provet Cloud's soft-delete signal, since records are never hard-deleted via the API
  4. Discover clinic-specific custom fields via GET /api/0.1/custom_fields/, then read/write values through the fields_rel array on client/patient records (or the nested custom_field_values endpoints)
  5. For ambiguous name searches (person vs. company), add filter_type=or to search firstname, lastname, and organization_name together
  6. Prefer subscribing to the Client/Patient webhook triggers over polling once your integration is stable

Known gotchas

Related routes

Synchronise Dataverse records incrementally using change tracking and delta tokens
dynamics-365 · 5 steps · unrated
Sync billing and invoicing records via the Provet Cloud REST API
developers.provetcloud.com · 5 steps · unrated
Create and finalize a clinical consultation with items, diagnoses, and notes via the Provet Cloud REST API
developers.provetcloud.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans