policies
All policy records entered as part of user's fact find
GraphQL Schema
extend type query {
"""All policy records entered as part of user's fact find"""
policies(userId: ID!): [Policy]
}
Arguments
| Name | Type | Description |
|---|---|---|
| userId | ID! | Unique ID of the user |
Response Shape
This query returns [Policy]
| Name | Type | Description |
|---|---|---|
| id | UUID! | Unique ID of the object |
| productType | PolicyType! | |
| userId | ID! | Unique ID of the user |
| owners | [Person] | |
| name | String | |
| provider | Provider | |
| isComplete | Boolean! | |
| throughCurrentEmployer | Boolean | |
| coverType | CoverType | Affects: Life Cover |
| amountOfCover | Money | Affects: All but health insurance |
| yearsRemaining | Int | Affects: All but health insurance |
| premium | Money | Affects: All but health insurance |
| paymentFrequency | PaymentFrequency | Affects: All but health insurance |
| renewalDate | Date | Affects: Health insurance |