Visual Therapy Templates
Visual therapy exercise templates (EjercicioTerapiaVisualPlantilla / ges_optica_ejer_terapiavisual_plantilla).
๐๏ธ Get visual therapy template by ID
Returns a single visual therapy exercise template by its primary key.
๐๏ธ Update visual therapy template
Full replacement of an existing visual therapy exercise template. Send the `If-Match` header for optimistic concurrency (accepted but ignored รรรถ not versioned).
๐๏ธ Delete visual therapy template
Deletes a visual therapy exercise template. Send the `If-Match` header with the current ETag (accepted but ignored รรรถ not versioned).
๐๏ธ Merge-patch visual therapy template
RFC 7396 merge-patch over `application/merge-patch+json`. Send only the fields you want to change; include a field with value `null` to remove it. Use the `If-Match` header for optimistic concurrency control.
๐๏ธ List visual therapy templates
Returns a paginated list of visual therapy exercise templates with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `name:asc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
๐๏ธ Create visual therapy template
Creates a new visual therapy exercise template. Business logic runs in the legacy WAR via the internal commands gateway.
๐๏ธ Prototype visual therapy template for a creation form
Returns a non-persisted visual therapy exercise template pre-populated with backend defaults (`enabled=true`, current company and branch when available). Optional JSON hints: `companyId`, `warehouseId`, `copyFromId`. The response has no `id`, `version` or audit fields; call `POST /api/v2/visual-therapy-templates` afterwards to persist.