Origin Types
Claim origin types (ReclamoTipoOrigen / ges_reclamo_tipo_origen).
๐๏ธ Get origin type by ID
Returns a single claim origin type by its primary key.
๐๏ธ Update origin type
Full replacement of an existing claim origin type. Send the `If-Match` header for optimistic concurrency (accepted but ignored รรรถ not versioned).
๐๏ธ Delete origin type
Deletes a claim origin type. Send the `If-Match` header with the current ETag (accepted but ignored รรรถ not versioned).
๐๏ธ Merge-patch origin 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 origin types
Returns a paginated list of claim origin types with envelope `{data, totalCount, skip, limit, hasMore}`. Supports optional RSQL `filter`, `sort` (default `name:asc`), `skip`/`limit` pagination and `modifiedAfter`/`modifiedBefore` bookends.
๐๏ธ Create origin type
Creates a new claim origin type. Business logic runs in the legacy WAR via the internal commands gateway.
๐๏ธ Prototype origin type for a creation form
Returns a non-persisted claim origin 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/origin-types` afterwards to persist.