Run Proposal Rating (Legacy)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

⚠️

Deprecation Notice

This endpoint is kept for backward compatibility. Use POST .../Rating/RunOptions for new integrations.

Runs the rating engine synchronously for a proposal and returns the calculated premium and rating status when complete. Due to the complexity of rating, this may result in calls taking longer than the allotted timeout period. Pairing this call with polling for status (GET .../Rating/Status) is recommended.

The response is the same ProposalRatingStatus object returned by GET .../Rating/Status. Rating errors are caught internally: if the rating engine throws an exception, the response is still 200 OK with RatingStatus set to "E" and the error message in RatingErrorMessage.

Examples

Scenario 1: Rate a proposal with pre-rating validation:

POST /api/Quotes/Proposals/12345/Rating/Run
200 OK
{
  "ProposalID": 12345,
  "RatingCalculationDate": "2026-05-10T14:30:00Z",
  "DeepModifiedDateUTC": "2026-05-10T14:25:00Z",
  "RatingStatus": "C",
  "RatingErrorMessage": null,
  "LineItems": [
    {
      "PolicyLineCode": "ISO_GL",
      "Premium": 5000.00
    }
  ],
  "Premium": 5000.00,
  "TotalCost": 5250.00
}

Scenario 2: Skip validation and rate:

POST /api/Quotes/Proposals/12345/Rating/Run?skipValidation=true
200 OK
{
  "ProposalID": 12345,
  "RatingCalculationDate": "2026-05-10T14:32:00Z",
  "DeepModifiedDateUTC": "2026-05-10T14:25:00Z",
  "RatingStatus": "C",
  "RatingErrorMessage": null,
  "Premium": 5000.00,
  "TotalCost": 5250.00
}

Scenario 3: Rating fails with an error:

POST /api/Quotes/Proposals/12345/Rating/Run
200 OK
{
  "ProposalID": 12345,
  "RatingCalculationDate": null,
  "DeepModifiedDateUTC": "2026-05-10T14:25:00Z",
  "RatingStatus": "E",
  "RatingErrorMessage": "Rate table not found for policy line ISO_GL.",
  "Premium": null,
  "TotalCost": null
}

Path Params
integer
required

The ID of the Proposal for which you are calculating a premium.

Query Params
boolean

Flag to force skipping validation - default to false

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json