Policies API
Endpoint Index
| 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 a Policy | 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 |
| 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} |
Fetch
GET /policy/{tenantLocator}/policies/{locator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Response:PolicyResponse
Security Group:policies  Permission:read
PolicyResponse
¶requiredlocator stringaccountLocator stringissuedTransactionLocator string
The locator of the latest issued transaction for the policy.latestSegmentLocator string
The last segment on the policy, based on issued transactions onlylatestTermLocator stringproductName stringstartTime datetime
The start time, based on issued transactions onlyendTime datetime
The end time based on issued transactions only.currency stringdurationBasis Enum years | months | weeks | days | hourstimezone stringbillingLevel Enum account | inherit | policystatic map<string,object>createdAt datetimecreatedBy uuidcontacts ContactRoles[]moratoriumElections map<string,string>statuses Enum[] cancelled | cancelPending | delinquent | doNotRenew | expired | inGap | onRisk | pendingbillingTrigger Enum accept | issue (deprecated)optionalregion string?autoRenewalPlanName string?delinquencyPlanName string?anonymizedAt datetime?coverageEndTime datetime?invoiceFeeAmount number?policyNumber string?validationResult ValidationResult?branchHeadTransactionLocators string[]?
The locators of all the top-level transactions on the policy, one per branch
GET /policy/{tenantLocator}/accounts/{locator}/policies/listRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| offset | query | int? | optional |
| count | query | int? | optional |
| includeStaticData | query | boolean? | optional |
| extended | query | boolean? | optional |
Response:PolicyListResponse
Security Group:accounts  Permissions:read,list
PolicyListResponse
¶requiredlistCompleted booleanitems PolicyResponse[]
Static Data
Set the static extension data on a policy
POST /policy/{tenantLocator}/policies/{locator}/staticRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Request:map<string,object>
Response:PolicyResponse
Security Group:policies  Permission:write
Updates some of the static data on a policy
PATCH /policy/{tenantLocator}/policies/{locator}/staticRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Request:StaticDataUpdateRequest
Response:PolicyResponse
Security Group:policies  Permission:write
StaticDataUpdateRequest
¶requiredremoveData map<string,object>setData map<string,object>
Replaces all of the static data on a policy
PUT /policy/{tenantLocator}/policies/{locator}/staticRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Request:map<string,object>
Response:PolicyResponse
Security Group:policies  Permission:write
Gets the static data on a policy
GET /policy/{tenantLocator}/policies/{locator}/staticRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Response:map<string,object>
Security Group:policies  Permission:read
GET /policy/{tenantLocator}/policies/{locator}/static/history/listRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| offset | query | int? | optional |
| count | query | int? | optional |
Security Group:policies  Permission:read
ListPageResponseStaticDataHistoryResponse
¶requiredlistCompleted booleanitems StaticDataHistoryResponse[]
StaticDataHistoryResponse
¶requiredhistoryLocator stringupdatedAt datetimeupdatedBy uuidstaticData map<string,object>
Snapshots
GET /policy/{tenantLocator}/policies/{locator}/snapshotRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| date | query | datetime | required |
| byIssuedTime | query | boolean? | optional |
Response:PolicySnapshotResponse
Security Group:policies  Permission:read
This endpoint will be removed in a future release.
GET /policy/{tenantLocator}/policies/snapshot/listRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| offset | query | int? | optional |
| count | query | int? | optional |
Response:PolicySnapshotResponse[]
Security Group:policies  Permissions:read,list
PolicySnapshotListResponse
¶requiredlistCompleted booleanitems PolicySnapshotResponse[]
PolicySnapshotResponse
¶requiredlocator stringaccountLocator stringregion stringproductName stringcurrency stringtimezone stringtransaction TransactionSnapshotResponsestatic map<string,object>optionaldelinquencyPlanName string?
TransactionSnapshotResponse
¶requiredlocator stringeffectiveTime datetimeissuedTime datetimepreferences PreferencesResponsesegment SegmentResponsetransactionCategory Enum issuance | change | renewal | cancellation | reinstatement | reversal | aggregatetransactionType string
Billing
PATCH /policy/{tenantLocator}/policies/{locator}/billingLevelRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Request:UpdateBillingLevelRequest
Response:PolicyResponse
Security Group:policies  Permission:write
UpdateBillingLevelRequest
¶requiredbillingLevel Enum account | inherit | policy
PATCH /policy/{tenantLocator}/policies/{locator}/delinquencyPlanRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Request:DelinquencyPlanUpdateRequest
Response:PolicyResponse
Security Group:policies  Permission:write
Numbering
GET /policy/{tenantLocator}/policies/numbers/{policyNumber}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| policyNumber | path | string | required |
Response:PolicyResponse[]
Security Group:policies  Permissions:read,list
POST /policy/{tenantLocator}/policies/{locator}/number/setRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
| policyNumber | query | string | required |
Response:PolicyResponse
Security Group:policies  Permission:write
Contacts
POST /policy/{tenantLocator}/policies/{policyLocator}/contactsRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| policyLocator | path | string | required |
Request:ContactRoles
Response:PolicyResponse
Security Group:policies  Permission:write
ContactRoles
¶requiredcontactLocator stringroles string[]
DELETE /policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| policyLocator | path | string | required |
| contactLocator | path | string | required |
Response:PolicyResponse
Security Group:policies  Permission:write
GET /policy/{tenantLocator}/policies/{policyLocator}/contactsRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| policyLocator | path | string | required |
Response:ContactRoles[]
Security Group:policies  Permission:write
PATCH /policy/{tenantLocator}/policies/{policyLocator}/contacts/{contactLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| policyLocator | path | string | required |
| contactLocator | path | string | required |
Request:ContactAssociationUpdateRequest
Response:PolicyResponse
Security Group:policies  Permission:write
Holds
GET /policy/{tenantLocator}/policies/{locator}/holdsRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Response:EntityHold[]
Security Group:policies  Permission:read