delete
https://{environment}.origamirisk.com/OrigamiApi/api/Quotes/Proposals//Coverages//
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Deletes a coverage record from a proposal. The proposal must be in a modifiable state. The domain must be a valid coverage or subcoverage type for the proposal. This performs a soft-delete that can be reversed with the Reinstate endpoint.
Preconditions
- The proposal must be modifiable (
CanModifyistrue). - The domain must be a valid coverage or subcoverage domain for this proposal.
Examples
Scenario 1: Successfully delete a coverage:
DELETE /api/Quotes/Proposals/12345/Coverages/ProposalCLCoverage/501200 OK
{
"IsSuccessful": true,
"RecordID": 501,
"Message": "Delete coverage with id 501 successfully."
}Scenario 2: Proposal cannot be modified:
DELETE /api/Quotes/Proposals/12345/Coverages/ProposalCLCoverage/501500 Internal Server Error
"Cannot modify Proposal with ID# 12345."