Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get Quote
Output representation of the details of the get quote details.
- JSON example
- This example shows a sample response when you pass a quote ID in the get quote details request.
-
1{ 2 "contextId": "fa917d24acfaa40c14943d7009f096b2952c974a6e940d1302c465cd3abaee3d", 3 "errors": [], 4 "insuranceContext": { 5 "SalesTransaction": [ 6 { 7 "Status": "Draft", 8 "Account": null, 9 "BillingCity": null, 10 "Subtotal": 1350, 11 "businessObjectType": "Quote", 12 "SalesTransactionName": "Multi Auto", 13 "TotalAmount": 1350, 14 "ShippingStreet": null, 15 "SalesTransactionItem": [ 16 { 17 "ProrationPolicy": "0muxx000000004sAAA", 18 "ProductName": "Medical Payments", 19 "ProductCode": "STA-3", 20 "ProductSellingModel": "0jPxx000000004sEAA", 21 "SpecificationType": "Coverage", 22 "TaxTreatment": "1ttxx000000004rAAA", 23 "SalesTransactionItemParent": "0Q0xx0000004CE1CAM", 24 "Quantity": 1, 25 "Product": "01txx0000006i7KAAQ", 26 "businessObjectType": "QuoteLineItem", 27 "PricebookEntry": "01uxx0000008ybrAAA", 28 "PricingTermCount": 1, 29 "StartDate": "2023-10-19T00:00:00Z", 30 "NetUnitPrice": 750, 31 "UnitPrice": 750, 32 "id": "0QLxx0000004CIpGAM" 33 }, 34 { 35 "ProrationPolicy": null, 36 "ProductName": "Collision", 37 "ProductCode": "STA-2", 38 "ProductSellingModel": "0jPxx000000004tEAA", 39 "SpecificationType": "Coverage", 40 "TaxTreatment": "1ttxx000000004rAAA", 41 "SalesTransactionItemParent": "0Q0xx0000004CE1CAM", 42 "Quantity": 1, 43 "Product": "01txx0000006i7JAAQ", 44 "businessObjectType": "QuoteLineItem", 45 "PricebookEntry": "01uxx0000008ybsAAA", 46 "PricingTermCount": 1, 47 "StartDate": null, 48 "NetUnitPrice": 500, 49 "UnitPrice": 500, 50 "id": "0QLxx0000004CIqGAM" 51 } 52 ], 53 "BillingCountry": null, 54 "BillingStreet": null, 55 "Pricebook": "01sxx0000005pyfAAA", 56 "Opportunity": null, 57 "ShippingPostalCode": null, 58 "SalesTransactionSource": "0Q0xx0000004CE1CAM", 59 "ShippingCountry": null, 60 "ShippingCity": null, 61 "ShippingState": null, 62 "BillingPostalCode": null, 63 "id": "0Q0xx0000004CE1CAM", 64 "Contract": null, 65 "BillingState": null 66 } 67 ] 68 } 69} - This example shows a sample response when you pass the filter and non-filter request parameters.
-
1//GET /connect/insurance/quotes/0Q0xx0000004CIiCAM?contextId=0000000i18tq18g002917545349255616564529f415d45c4b1b1ea08747a2195&filter[ProductSpec][eq]=InsuredItem&filter[DYN__Auto_Value][gt]=60000&returnChildrenNodes=true&includeClause=true 2 3{ 4 "contextId": "0000000i18tq18g002917545349255616564529f415d45c4b1b1ea08747a2195", 5 "errors": [], 6 "insuranceContext": { 7 "SalesTransaction": [ 8 { 9 "Status": "Draft", 10 "Account": null, 11 "BillingCity": null, 12 "Subtotal": 1350, 13 "businessObjectType": "Quote", 14 "SalesTransactionName": "Multi Auto", 15 "TotalAmount": 1350, 16 "ShippingStreet": null, 17 "SalesTransactionItem": [ 18 { 19 "businessObjectType": "QuoteLineItem", 20 "Product": "01txx0000006i3EAAQ", 21 "DYN__License_State": null, 22 "ValidationResult": null, 23 "DYN__AssetRecordName": "02ixx0000004HI3AAM", 24 "PolicyPremium": null, 25 "SalesTransactionSourceAsset": null, 26 "PeriodBoundaryStartMonth": null, 27 "ProratedQLITaxAmount": 0, 28 "id": "0QLxx0000004CozGAE", 29 "STICurrencyIsoCode__std": null, 30 "IntermediateVariableOne": null, 31 "ProductCode": "auto", 32 "SalesTrxnItemRelatedObject": [ 33 { 34 "RelatedObject": "02ixx0000004HI3AAM", 35 "ParentReference": "0QLxx0000004CozGAE", 36 "RelatedObjectName": "Asset", 37 "QuoteLineItem": "0QLxx0000004CozGAE", 38 "businessObjectType": "QuoteLineItemRelatedObject", 39 "id": "1A2xx0000004CNZCA2", 40 "UsageType": "ExtendedAttribute" 41 } 42 ], 43 "SalesTransactionItemInsClause__std": [ 44 { 45 "SalesTranxItemInsClauseConstraintModelName__std": "Q2Blitz_V1", 46 "ParentReference": "0QLSB000000b8Q34AI", 47 "SalesTranxItemInsClauseName__std": "FreeLookPeriodClause", 48 "businessObjectType": "QuoteLineItemInsProductClause", 49 "SalesTranxItemInsClauseText__std": "On Collision, Auto Added, only eligible when collision deductible is 100. Deductible is 100.", 50 "InsuranceProductClause__std": "1T8SB00000000Xt0AI", 51 "id": "9TeSB000004Ny7d0AC", 52 "SalesTranxItemInsClauseEffectiveDate__std": "2025-08-01", 53 "SalesTranxItemInsClauseExpirationDate__std": "2025-08-31", 54 "SalesTranxItemInsClauseCreationMethod__std": "AutoAdded", 55 "SalesTranxItemInsClauseParent__std": "0QLSB000000b8Q34AI", 56 "SalesTranxItemInsClauseDescription__std": null 57 } 58 ], 59 "Subtotal": 320, 60 "LineItemPath": "0QLxx0000004Cp1GAE/0QLxx0000004CozGAE", 61 "PricebookEntry": "01uxx0000008yXWAAY", 62 "DiscountAmount": null, 63 "NetUnitPrice": 320, 64 "DYN__Is_Electric_Vehicle": false, 65 "ParentReference": "0Q0xx0000004CIiCAM", 66 "DYN__Model": "A3", 67 "EndQuantity": 1, 68 "NetTotalPrice": 320, 69 "TotalLineAmount": 320, 70 "UnitPrice": 320, 71 "DYN__Auto_Value": 100000, 72 "SalesTrxnItemRelationship": [ 73 { 74 "ParentReference": "0QLxx0000004CozGAE", 75 "AssociatedItem": "0QLxx0000004CozGAE", 76 "MainItemRole": "Bundle", 77 "ProductRelatedComponent": "0dSxx000000001EEAQ", 78 "businessObjectType": "QuoteLineRelationship", 79 "AssociatedItemPricing": "IncludedInBundlePrice", 80 "ProductRelationshipType": "0yoxx0000000001AAA", 81 "RootItemProductCode": "autoSilver", 82 "IsPriceInclusive": true, 83 "RootItem": "0QLxx0000004Cp1GAE", 84 "RootItemProductSellingModel": "0jPxx0000000001EAA", 85 "MainItem": "0QLxx0000004Cp1GAE", 86 "AssociatedQuantScaleMethod": "Proportional", 87 "id": "0yQxx00000000RSEAY", 88 "AssociatedItemRole": "BundleComponent", 89 "SalesTrnItemRelationshipParent": "0Q0xx0000004CIiCAM", 90 "MainItemProduct": "01txx0000006i3DAAQ", 91 "MainItemProductSellingModel": "0jPxx0000000001EAA", 92 "RootItemProduct": "01txx0000006i3DAAQ" 93 } 94 ], 95 "ProductSpec": "InsuredItem", 96 "SalesTransactionItemAttribute": [ 97 { 98 "AttributeValue": null, 99 "ParentReference": "0QLxx0000004CozGAE", 100 "hasObjectRef": null, 101 "businessObjectType": "QuoteLineItemAttribute", 102 "AttributeDefinitionCode": "LicenseNumber", 103 "SalesTransactionItemAttrParent": "0QLxx0000004CozGAE", 104 "AttributeDeveloperName": "License_Number", 105 "AttributeKey": "0tjxx0000000013AAA", 106 "AttributePicklistValue": null, 107 "IsPriceImpacting": null, 108 "AttributeName": "License Number", 109 "id": "0zuxx00000001vWAAQ" 110 } 111 ], 112 "BillingCountry": null, 113 "StandardTaxAmount": 0, 114 "BillingStreet": null, 115 "PriceAdjustmentSchedule": null, 116 "SalesTransactionSource": "0Q0xx0000004CIiCAM", 117 "TotalStandardAmount": 640, 118 "EffectiveDate": null 119 } 120 ], 121 "DeletedSTIIds": [] 122 } 123 ] 124 } 125}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| contextId | String | ID of the insurance context. | Small, 63.0 | 63.0 |
| errors | Error Response | List of errors encountered during the processing of the API request. | Small, 63.0 | 63.0 |
| insuranceContext | Map<String, Object> | List of insurance context details. | Small, 63.0 | 63.0 |