post
https://{environment}.origamirisk.com/OrigamiApi/api/Quotes/Proposals//Coverages///Reinstate
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Reinstates a previously deleted coverage record within a proposal. This reverses a soft-delete, restoring the record to active status. The proposal must be in a modifiable state, and the domain must be a valid coverage or subcoverage type for the proposal.
Preconditions
- The proposal must be modifiable (
CanModifyistrue). - The domain must be a valid coverage or subcoverage domain for this proposal.
- The coverage record must exist and have been previously deleted.
Examples
Scenario 1: Successfully reinstate a deleted coverage:
POST /api/Quotes/Proposals/12345/Coverages/ProposalCLCoverage/501/Reinstate200 OK
{
"IsSuccessful": true,
"RecordID": 501,
"Message": "Reinstate coverage with id 501 successfully."
}Scenario 2: Proposal cannot be modified:
POST /api/Quotes/Proposals/12345/Coverages/ProposalCLCoverage/501/Reinstate500 Internal Server Error
"Cannot modify Proposal with ID# 12345."