get
https://{environment}.origamirisk.com/OrigamiApi/api/Quotes/Proposals//ProposalCoverage/ApplicableCoverages
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
This endpoint returns the list of coverage options that could be assigned to a Proposal based on its policy set and associated lines of business. The result includes metadata indicating whether each coverage is required or selected by default.
How the list is determined:
- If the proposal's policy set does not use policy lines, or the proposal has no lines of business associated, the endpoint returns the full flattened coverage list from the policy set's coverage configuration.
- If the proposal does have lines of business, the endpoint returns the union of coverages across all associated lines, deduplicating by
CoverageID+SubCoverageID. A coverage is markedRequiredif it is required on any associated line or is in the policy set's mandatory coverages. A coverage is markedDefaultif it is default on any associated line.
Examples
Scenario 1: Proposal with policy lines - returns coverages applicable across all lines:
GET /api/Quotes/Proposals/12345/ProposalCoverage/ApplicableCoverages[
{
"CoverageID": 100,
"SubCoverageID": null,
"Default": true,
"Required": true
},
{
"CoverageID": 200,
"SubCoverageID": 5,
"Default": false,
"Required": false
}
]Scenario 2: Proposal with no lines of business - returns full policy set coverage list:
GET /api/Quotes/Proposals/67890/ProposalCoverage/ApplicableCoverages[
{
"CoverageID": 100,
"SubCoverageID": null,
"Default": false,
"Required": true
}
]Scenario 3: No applicable coverages:
GET /api/Quotes/Proposals/11111/ProposalCoverage/ApplicableCoverages[]