Admin — Update Insurance Policy
Path Parameters
Insurance Policy ID
Body
"2027-01-15"
"2026-01-15"
Insurance policy lifecycle status.
PENDING, APPROVED, ISSUED, REQUIRES_CUSTOMER_RENEWAL_IN_GRACE, REQUIRES_POLICY_REISSUANCE, REQUIRES_CUSTOMER_RENEWAL, EXPIRED, REJECTED Response
Insurance policy updated
A validated 12-digit numeric user identifier.
Every external entry point validates:
- JSON
Deserializeruns [UserId::parse] (outer whitespace trimmed, length and digit-only enforced) via#[serde(try_from = "String")]. - DB
FromSqlruns [UserId::parse] on every row read.
Display / Deref<Target = str> / AsRef<str> / Into<String> are
derived via derive_more — the inner String is pass-through for
every read-only borrow, display, and move-out.
"012345678901"
JSONB wrapper for insurance_policies.questionnaire.
Insurance policy lifecycle status.
PENDING, APPROVED, ISSUED, REQUIRES_CUSTOMER_RENEWAL_IN_GRACE, REQUIRES_POLICY_REISSUANCE, REQUIRES_CUSTOMER_RENEWAL, EXPIRED, REJECTED "2027-01-15"
Auxiliary metadata for an insurance policy.
Nominee for an insurance policy — either a registered dependant or an external person whose details are captured inline.
- Option 1
- Option 2
"2026-01-15"