Output representation that contains the generated sample rating input payload as a JSON
string, or errors if generation fails.
JSON Example
{
"ratingInput": "{"quoteLineItems":[{"productCode":"AUTO_POLICY","instanceKey":"a1b2c3d4-e5f6","attributes":[{"attributeCode":"DRIVER_AGE","value":""},{"attributeCode":"VEHICLE_MAKE","value":""},{"attributeCode":"VEHICLE_YEAR","value":""}],"childProducts":[{"productCode":"COLLISION_COVERAGE","instanceKey":"f7g8h9i0-j1k2","attributes":[{"attributeCode":"DEDUCTIBLE_AMOUNT","value":""}]},{"productCode":"LIABILITY_COVERAGE","instanceKey":"l3m4n5o6-p7q8","attributes":[{"attributeCode":"COVERAGE_LIMIT","value":""}]}]}],"instanceKeys":[{"instanceKey":["a1b2c3d4-e5f6","f7g8h9i0-j1k2","l3m4n5o6-p7q8"]}]}",
"additionalDetails": "The sample omits transactionType. Supply a TransactionProcessingType developer name configured in the org before you send the payload to the rating API.",
"errors": []
}
Properties
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| additionalDetails | String | Advisory note about using the sample payload. For example, the sample can omit transactionType, which you must supply (a TransactionProcessingType developer name configured in the org) before you send the payload to the rating API; otherwise the quote-level pricing procedure doesn’t resolve. | Big, 68.0 | 68.0 |
| errors | Insurance Design Advisor Error Response[] | List of errors encountered during rating input generation. Empty or absent when the API operation has no error. Each item provides an error code and a message. | Big, 68.0 | 68.0 |
| ratingInput | String | Serialized JSON string containing a complete sample rating request body to use with the insurance/product-rating API. The JSON string includes product hierarchy, product codes, instance keys, and attribute codes with sample values. Parse this string before you submit it to the rating API, and replace sample values with real data. | Big, 68.0 | 68.0 |