Policies API
| Action | Endpoint |
|---|---|
| Fetch a Policy | GET/policy/{tenantLocator}/policies/{locator} |
| Add Static Data to a Policy | POST/policy/{tenantLocator}/policies/{locator}/static |
| Update Static Data on a Policy | PATCH/policy/{tenantLocator}/policies/{locator}/static |
| Replace All Static Data on a Policy | PUT/policy/{tenantLocator}/policies/{locator}/static |
| Fetch Static Data for a Policy | GET/policy/{tenantLocator}/policies/{locator}/static |
| List Static Data for a Policy | GET/policy/{tenantLocator}/policies/{locator}/static/history/list |
| Fetch a Policy Snapshot | GET/policy/{tenantLocator}/policies/{locator}/snapshot |
| Fetch Multiple Snapshots | GET/policy/{tenantLocator}/policies/snapshot/list |
| Update Billing Level For APolicy | PATCH/policy/{tenantLocator}/policies/{locator}/billingLevel |
| Fetch Policies With Number | GET/policy/{tenantLocator}/policies/numbers/{policyNumber} |
| Set Policy Number | POST/policy/{tenantLocator}/policies/{locator}/number/set |
| Set Reserved Policy Number | POST/policy/{tenantLocator}/quotes/{locator}/reservedPolicyNumber/set |
| Generate Policy Number | POST/policy/{tenantLocator}/policies/{locator}/number/generate |
| Add policy contact | POST/policy/{tenantLocator}/policies/{policyLocator}/contacts |
| Delete policy contact | DELETE/policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator} |
| Fetch policy contacts | GET/policy/{tenantLocator}/policies/{policyLocator}/contacts |
| Update policy contact | PATCH/policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator} |
| Update Policy Jurisdiction | PATCH/policy/{tenantLocator}/policies/{locator}/jurisdiction |
| Create Quote From Policy | POST/policy/{tenantLocator}/policies/{locator}/quote |
Fetch
Fetch a Policy
fetchPolicy/policy/{tenantLocator}/policies/{locator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
PolicyResponsepoliciesreadRequired properties
| Property | Type | Description |
|---|---|---|
locator | ulid | |
accountLocator | ulid | |
issuedTransactionLocator | ulid | The locator of the latest issued transaction for the policy. |
latestSegmentLocator | ulid | The last segment on the policy, based on issued transactions only |
latestTermLocator | ulid | |
productName | string | |
startTime | datetime | The start time, based on issued transactions only |
endTime | datetime | The end time based on issued transactions only. |
currency | string | |
durationBasis | Enum years | months | weeks | days | hours | |
timezone | string | |
billingLevel | Enum account | inherit | policy | |
static | map<string, object> | |
createdAt | datetime | |
createdBy | uuid | |
contacts | ContactRoles[] | |
moratoriumElections | map<string, string> | |
statuses | Enum[] pending | expired | cancelled | cancelPending | onRisk | delinquent | doNotRenew |
Optional properties
| Property | Type | Description |
|---|---|---|
region | string? | |
autoRenewalPlanName | string? | |
delinquencyPlanName | string? | |
anonymizedAt | datetime? | |
coverageEndTime | datetime? | |
invoiceFeeAmount | number? | |
jurisdiction | string? | |
policyNumber | string? | |
producerCode | string? | |
producerCodeOfRecord | string? | |
validationResult | ValidationResult? | |
branchHeadTransactionLocators | ulid[]? | The locators of all the top-level transactions on the policy, one per branch |
Fetch all Policies for an Account
fetchPoliciesForAccount/policy/{tenantLocator}/accounts/{locator}/policies/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No | |
includeStaticData | query | boolean? | No | |
extended | query | boolean? | No | When false, returns a bare array. |
PolicyListResponseaccountsread,listRequired properties
| Property | Type | Description |
|---|---|---|
listCompleted | boolean | |
items | PolicyResponse[] |
Static Data
Add Static Data to a Policy
addStaticDataForPolicy/policy/{tenantLocator}/policies/{locator}/staticSet the static extension data on a policy
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Update Static Data on a Policy
updateStaticDataForPolicy/policy/{tenantLocator}/policies/{locator}/staticUpdates some of the static data on a policy
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Required properties
| Property | Type | Description |
|---|---|---|
removeData | map<string, object> | |
setData | map<string, object> |
Replace All Static Data on a Policy
replaceAllStaticDataForPolicy/policy/{tenantLocator}/policies/{locator}/staticReplaces all of the static data on a policy
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Fetch Static Data for a Policy
fetchStaticDataForPolicy/policy/{tenantLocator}/policies/{locator}/staticGets the static data on a policy
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
map<string, object>policiesreadList Static Data for a Policy
listStaticDataForPolicy/policy/{tenantLocator}/policies/{locator}/static/history/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
policiesreadRequired properties
| Property | Type | Description |
|---|---|---|
listCompleted | boolean | |
items | StaticDataHistoryResponse[] |
Required properties
| Property | Type | Description |
|---|---|---|
historyLocator | ulid | |
updatedAt | datetime | |
updatedBy | uuid | |
staticData | map<string, object> |
Snapshots
Fetch a Policy Snapshot
fetchPolicySnapshot/policy/{tenantLocator}/policies/{locator}/snapshotParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
date | query | datetime | Yes | |
byIssuedTime | query | boolean? | No |
PolicySnapshotResponsepoliciesreadFetch Multiple Snapshots
fetchMultipleSnapshotsDeprecated/policy/{tenantLocator}/policies/snapshot/listParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
PolicySnapshotResponse[]policiesread,listRequired properties
| Property | Type | Description |
|---|---|---|
listCompleted | boolean | |
items | PolicySnapshotResponse[] |
Required properties
| Property | Type | Description |
|---|---|---|
locator | ulid | |
accountLocator | ulid | |
region | string | |
productName | string | |
currency | string | |
timezone | string | |
transaction | TransactionSnapshotResponse | |
static | map<string, object> |
Optional properties
| Property | Type | Description |
|---|---|---|
delinquencyPlanName | string? |
Required properties
| Property | Type | Description |
|---|---|---|
locator | ulid | |
effectiveTime | datetime | |
issuedTime | datetime | |
preferences | PreferencesResponse | |
segment | SegmentResponse | |
transactionCategory | Enum issuance | change | renewal | cancellation | reinstatement | reversal | aggregate | |
transactionType | string |
Billing
Update Billing Level For APolicy
updateBillingLevelForAPolicy/policy/{tenantLocator}/policies/{locator}/billingLevelParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Required properties
| Property | Type | Description |
|---|---|---|
billingLevel | Enum account | inherit | policy |
Update the Delinquency Plan Assigned to a Policy
updatePolicyDelinquencyPlan/policy/{tenantLocator}/policies/{locator}/delinquencyPlanParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Numbering
Fetch Policies With Number
fetchPoliciesWithNumber/policy/{tenantLocator}/policies/numbers/{policyNumber}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyNumber | path | string | Yes |
PolicyResponse[]policiesread,listSet Policy Number
setPolicyNumber/policy/{tenantLocator}/policies/{locator}/number/setParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
policyNumber | query | string | Yes |
PolicyResponsepolicieswriteSet Reserved Policy Number
setReservedPolicyNumber/policy/{tenantLocator}/quotes/{locator}/reservedPolicyNumber/setParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
reservedPolicyNumber | query | string | Yes |
QuoteResponsequoteswrite,reserve-policy-number-setGenerate Policy Number
generatePolicyNumber/policy/{tenantLocator}/policies/{locator}/number/generateParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
PolicyResponsepolicieswriteContacts
Add policy contact
addPolicyContact/policy/{tenantLocator}/policies/{policyLocator}/contactsParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes |
Required properties
| Property | Type | Description |
|---|---|---|
contactLocator | ulid | |
roles | string[] |
Delete policy contact
deletePolicyContact/policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes | |
contactLocator | path | ulid | Yes |
PolicyResponsepolicieswriteFetch policy contacts
fetchPolicyContacts/policy/{tenantLocator}/policies/{policyLocator}/contactsParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes |
ContactRoles[]policieswriteUpdate policy contact
updatePolicyContact/policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
policyLocator | path | ulid | Yes | |
contactLocator | path | ulid | Yes |
ContactAssociationUpdateRequestPolicyResponsepolicieswriteHolds
Fetch Policy Holds
fetchPolicyHolds/policy/{tenantLocator}/policies/{locator}/holdsParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
EntityHold[]policiesreadJurisdictions
Update Policy Jurisdiction
updatePolicyJurisdiction/policy/{tenantLocator}/policies/{locator}/jurisdictionParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes |
Properties
| Property | Type | Description |
|---|---|---|
jurisdiction | string? |
Create Quote from Policy
Create Quote From Policy
createQuoteFromPolicy/policy/{tenantLocator}/policies/{locator}/quoteParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
locator | path | ulid | Yes | |
date | query | datetime? | No | |
byIssuedTime | query | boolean? | No | |
includeStaticData | query | boolean? | No |
QuoteResponsepolicieswrite,create-quoteThe date parameter specifies the point in time used to identify which policy segment to copy. If a date is not provided, the generated quote will be based on the segment created by the policy's issuance transaction. The byIssuedTime parameter determines whether the provided date is evaluated against the segment's issued time or effective time, and includeStaticData controls whether policy-level static data is included in the generated quote.