cURL
Insurance Policies
Get Insurance Policy
GET
cURL
Response
Insurance policy found
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.
Example:
"012345678901"
JSONB wrapper for insurance_policies.questionnaire.
Insurance policy lifecycle status.
Available options:
PENDING, APPROVED, ISSUED, REQUIRES_CUSTOMER_RENEWAL_IN_GRACE, REQUIRES_POLICY_REISSUANCE, REQUIRES_CUSTOMER_RENEWAL, EXPIRED, REJECTED Example:
"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
Example:
"2026-01-15"