Claim Types
Claim types (ReclamoTipoReclamo / ges_reclamo_tipo_reclamo) with nested solution configurations.
๐๏ธ Get claim type by ID
Returns a single claim type by its primary key, including configured solutions.
๐๏ธ Update claim type
Full replacement of an existing claim type and its configured solutions. Send the `If-Match` header for optimistic concurrency (accepted but ignored รรรถ not versioned).
๐๏ธ Delete claim type
Deletes a claim type. Send the `If-Match` header with the current ETag (accepted but ignored รรรถ not versioned).
๐๏ธ Merge-patch claim type
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 claim types
Returns a paginated list of claim types with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `name:asc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
๐๏ธ Create claim type
Creates a new claim type and its configured solutions. Business logic runs in the legacy WAR via the internal commands gateway.
๐๏ธ Prototype claim type for a creation form
Returns a non-persisted claim type pre-populated with backend defaults (`enabled=true`, current company). Optional JSON hints: `companyId`, `copyFromId`. The response has no `id`, `version` or audit fields; call `POST /api/v2/claim-types` afterwards to persist.