Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
Vlocity Insurance Open Quoting Architecture Simplified JSON

Vlocity Insurance Open Quoting Architecture Simplified JSON

You can use simplified Vlocity Insurance quote JSON optimized for easy mapping with external policy administration systems.

You can generate a simplified quote JSON response using the InsQuoteService:getQuoteDetail service.

Note
Note

To get the simplified JSON structure that the external system must map to, set these parameters in the InsQuoteService:getQuoteDetail service:

Remote Option: isForExternal = true

Input: action = submit or reprice

For example, when a quote is repriced using the Rate Now button, the rating integration procedure invokes InsQuoteService:getQuoteDetail and generates the simplified JSON that is sent to the external system through an HTTP action or an apex class. The response returned from the external system is in the same simplified JSON format, which is consumed by the rating services to update the quote record with the information returned.

Keep reading to see some examples of the simplified JSON generated by InsQuoteService:getQuoteDetail and InsQuoteService:createUpdateQuoteFromExternal.

InsQuoteService:getQuoteDetail Simplified JSON Output Example

{"quote": {
      "records": [
        {
          "actions": {
            "reprice": {
              "params": {
                "sourceSystemIdentifier": "uuid-0QL5w0000045EO2GAM"
              }
            }
          },
          "quoteLines": {
            "records": [
              {
                "additionalFields": {
                  "hasCoverages": false,
                  "coverageCount": 0,
                  "taxesAndFees": [
                    {
                      "currencySymbol": "$",
                      "currencyCode": "USD",
                      "calculatedAmount": 0,
                      "PriceListEntryName__c": "CA Auto Tax",
                      "PriceListEntryId__c": "a315w000002V3pOAAS",
                      "Amount__c": 0,
                      "AdjustmentType__c": "Tax",
                      "Id": "a3N5w000001nePWEAY"
                    }
                  ],
                  "hasAttributes": true,
                  "recordType": "Product",
                  "productName": "Auto Root - External",
                  "instest12__PricingFormula__c": "SUM(liabilityTotal + comprehensiveTotal + collisionTotal + stateTotal)",
                  "quoteLineItemId": "0QL5w0000045EO2GAM",
                  "instest12__RelationshipType__c": "Child",
                  "instest12__NeedReprice__c": true,
                  "needReprice": true,
                  "instest12__ProductChildItemSequence__c": 0,
                  "displaySequence": 0,
                  "instest12__TotalAmount__c": 1512.04,
                  "instest12__FeeAmount__c": 50,
                  "instest12__TaxAmount__c": 0,
                  "instest12__ProductName__c": "Auto Root - External",
                  "instest12__PricingSource__c": null,
                  "instest12__PricingLogData__c": null,
                  "LastModifiedDate": "2021-08-06T01:39:03.000Z",
                  "TotalPrice": 1462.03685929,
                  "instest12__Type__c": null,
                  "instest12__RecordTypeName__c": "Product",
                  "instest12__RatingType__c": null,
                  "UnitPrice": 1462.03685929,
                  "QuoteId": "0Q05w000002FzJXCA0",
                  "instest12__ImageId__c": null,
                  "instest12__RenewSourcePlanId__c": null,
                  "instest12__PrimaryChildLineItemId__c": null,
                  "instest12__AttributeMetadataChanges__c": null,
                  "instest12__AttributeSelectedValues__c": "{\"AAttribute1\":200}",
                  "CreatedDate": "2021-07-16T06:04:09.000Z",
                  "LineNumber": "00034125",
                  "instest12__SubParentItemId__c": null,
                  "instest12__ParentItemId__c": null,
                  "instest12__ParentItemId2__c": null,
                  "instest12__JurisdictionId__c": null,
                  "instest12__ItemName__c": "Auto Root - External",
                  "Product2Id": "01t5w00000FXPgzAAH",
                  "productId": "01t5w00000FXPgzAAH",
                  "Id": "0QL5w0000045EO2GAM",
                  "currencyCode": "USD",
                  "currencySymbol": "$"
                },
                "attributeCategories": {
                  "records": [
                    {
                      "productAttributes": {
                        "records": [
                          {
                            "code": "AAttribute1",
                            "userValues": 200
                          }
                        ]
                      },
                      "code": "aacat1"
                    },
                    {
                      "productAttributes": {
                        "records": [
                          {
                            "code": "atLimitUM",
                            "userValues": null
                          }
                        ]
                      },
                      "code": "autoTerms"
                    },
                    {
                      "productAttributes": {
                        "records": [
                          {
                            "code": "ratedDriver-MED",
                            "userValues": null
                          }
                        ]
                      },
                      "code": "AUTO"
                    }
                  ]
                },
                "childLines": {
                  "records": [
                    {
                      "additionalFields": {
                        "primaryParty": {
                          "instanceKey": "Bob Jones",
                          "FN": "Bob",
                          "GENDER": "Male",
                          "LN": "Jones",
                          "AGE": 40,
                          "driverGoodStudent": false
                        },
                        "otherParties": [],
                        "hasCoverages": true,
                        "totalTaxFeeAmount": 50,
                        "taxesAndFees": [
                          {
                            "currencySymbol": "$",
                            "currencyCode": "USD",
                            "calculatedAmount": 0,
                            "PriceListEntryName__c": "618a646e-4d25-64df-afcf-9444c9afeada",
                            "PriceListEntryId__c": "a315w000003oFoCAAU",
                            "Amount__c": 0,
                            "AdjustmentType__c": "Tax",
                            "Id": "a3N5w000001nePUEAY"
                          },
                          {
                            "currencySymbol": "$",
                            "currencyCode": "USD",
                            "calculatedAmount": 25,
                            "PriceListEntryName__c": "a68a67d6-7fd6-e82f-33f0-3d387d2485c4",
                            "PriceListEntryId__c": "a315w000003oFoDAAU",
                            "Amount__c": 25,
                            "AdjustmentType__c": "Fee",
                            "Id": "a3N5w000001nePVEAY"
                          }
                        ],
                        "pciId": "a3A5w000001M9VgEAK",
                        "Description": null,
                        "instest12__PricingFormula__c": "liabilityTotal + comprehensiveTotal + collisionTotal",
                        "isPrimary": true,
                        "Name": "2018 Audi A3",
                        "quoteLineItemId": "0QL5w0000045EO7GAM",
                        "hasAttributes": true,
                        "needCustomProcess": false,
                        "maxCount": 1,
                        "minCount": 1,
                        "instest12__RelationshipType__c": "Child",
                        "instest12__NeedReprice__c": true,
                        "needReprice": true,
                        "instest12__ProductChildItemSequence__c": 1,
                        "displaySequence": 1,
                        "instest12__TotalAmount__c": 1512.04,
                        "instest12__FeeAmount__c": 50,
                        "instest12__TaxAmount__c": 0,
                        "instest12__ProductName__c": "Auto",
                        "instest12__PricingSource__c": "totalPrice",
                        "instest12__PricingLogData__c": null,
                        "LastModifiedDate": "2021-08-06T01:39:03.000Z",
                        "TotalPrice": 1462.03685929,
                        "instest12__Type__c": null,
                        "instest12__RecordTypeName__c": "InsuredItemSpec",
                        "instest12__RatingType__c": null,
                        "UnitPrice": 1462.03685929,
                        "QuoteId": "0Q05w000002FzJXCA0",
                        "instest12__ImageId__c": "custom:custom31",
                        "instest12__RenewSourcePlanId__c": null,
                        "instest12__PrimaryChildLineItemId__c": "0QL5w0000045EOAGA2",
                        "instest12__AttributeMetadataChanges__c": null,
                        "instest12__AttributeSelectedValues__c": "{\"AAttribute22\":\"value\"}",
                        "CreatedDate": "2021-07-16T06:05:44.000Z",
                        "LineNumber": "00034126",
                        "instest12__SubParentItemId__c": "0QL5w0000045EO2GAM",
                        "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                        "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                        "instest12__JurisdictionId__c": null,
                        "instest12__ItemName__c": "2018 Audi A3",
                        "Product2Id": "01t5w00000EZUnGAAX",
                        "productId": "01t5w00000EZUnGAAX",
                        "Id": "0QL5w0000045EO7GAM",
                        "currencyCode": "USD",
                        "currencySymbol": "$"
                      },
                      "attributeCategories": {
                        "records": [
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "est_annual_mileage",
                                  "userValues": null
                                },
                                {
                                  "code": "carValue",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "AUTOMOBILE"
                          },
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "avAntiTheft",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "autoVehicle"
                          },
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "autoMake",
                                  "userValues": null
                                },
                                {
                                  "code": "autoYear",
                                  "userValues": null
                                },
                                {
                                  "code": "autoLicNum",
                                  "userValues": null
                                },
                                {
                                  "code": "autoModel",
                                  "userValues": null
                                },
                                {
                                  "code": "autoVIN",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "AUTO"
                          }
                        ]
                      },
                      "childLines": {
                        "records": [
                          {
                            "additionalFields": {
                              "parentInstanceKey": "2018 Audi A3",
                              "totalTaxFeeAmount": 0,
                              "ImageId": "/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=0685w00000QxmFoAAJ",
                              "pciId": "a3A5w000001M9ViEAK",
                              "isSelected": true,
                              "selectValidationMessage": null,
                              "selectValidationCriteria": null,
                              "defaultSelectedCriteria": null,
                              "requiredCriteria": null,
                              "eligibilityCriteria": null,
                              "Name": "Comprehensive",
                              "isOptional": false,
                              "Description": "We pay to repair damage to your car that’s caused by something other than a collision, such as fire, theft, vandalism, hail, flood, or hitting an animal.",
                              "quoteLineItemId": "0QL5w0000045EO9GAM",
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": true,
                              "needReprice": true,
                              "instest12__ProductChildItemSequence__c": 1,
                              "displaySequence": 1,
                              "instest12__TotalAmount__c": 1044.31,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Comprehensive",
                              "instest12__PricingSource__c": "comprehensiveTotal",
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:37:40.000Z",
                              "TotalPrice": 1044.31204234,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "CoverageSpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 1044.31204234,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"COMPREHENSIVE\":\"250\",\"AnsthsaOutptInst_covered_inn\":123}",
                              "CreatedDate": "2021-07-16T06:05:44.000Z",
                              "LineNumber": "00034128",
                              "instest12__SubParentItemId__c": "0QL5w0000045EO7GAM",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "COMP_COVERAGE",
                              "Product2Id": "01t5w00000EZU94AAH",
                              "productId": "01t5w00000EZU94AAH",
                              "Id": "0QL5w0000045EO9GAM",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "COMPREHENSIVE",
                                        "userValues": "250"
                                      }
                                    ]
                                  },
                                  "code": "AUTO_COVERAGE"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AnsthsaOutptInst_covered_inn",
                                        "userValues": 123
                                      }
                                    ]
                                  },
                                  "code": "AnsthsaOutptInst"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AbaThrpyOutptInst_covered_oon",
                                        "userValues": null
                                      }
                                    ]
                                  },
                                  "code": "AbaThrpyOutptInst"
                                }
                              ]
                            },
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 1044.31204234,
                            "sourceSystemIdentifier": "uuid-0QL5w0000045EO9GAM",
                            "instanceKey": "COMP_COVERAGE",
                            "lineRecordType": "CoverageSpec",
                            "productName": "Comprehensive",
                            "productCode": "COMP_COVERAGE"
                          },
                          {
                            "additionalFields": {
                              "parentInstanceKey": "2018 Audi A3",
                              "totalTaxFeeAmount": 25,
                              "taxesAndFees": [
                                {
                                  "currencySymbol": "$",
                                  "currencyCode": "USD",
                                  "calculatedAmount": 25,
                                  "PriceListEntryName__c": "CA Auto Fee",
                                  "PriceListEntryId__c": "a315w000002UnchAAC",
                                  "Amount__c": 25,
                                  "AdjustmentType__c": "Fee",
                                  "Id": "a3N5w000001nePZEAY"
                                }
                              ],
                              "pciId": "a3A5w000001M9VhEAK",
                              "isSelected": true,
                              "selectValidationMessage": null,
                              "selectValidationCriteria": null,
                              "defaultSelectedCriteria": null,
                              "requiredCriteria": null,
                              "eligibilityCriteria": null,
                              "Name": "Collision",
                              "isOptional": true,
                              "Description": "We pay to repair damage to your car when you hit, or are hit by, another vehicle or object, regardless of who’s at fault. We also pay expenses related to injuries or the death of pets traveling with you.",
                              "quoteLineItemId": "0QL5w0000045EOCGA2",
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": true,
                              "needReprice": true,
                              "instest12__ProductChildItemSequence__c": 1,
                              "displaySequence": 1,
                              "instest12__TotalAmount__c": 442.72,
                              "instest12__FeeAmount__c": 25,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Collision",
                              "instest12__PricingSource__c": "collisionTotal",
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:37:48.000Z",
                              "TotalPrice": 417.72481694,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "CoverageSpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 417.72481694,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": "custom:custom1",
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"COLLISION\":\"0\"}",
                              "CreatedDate": "2021-07-16T06:28:47.000Z",
                              "LineNumber": "00034130",
                              "instest12__SubParentItemId__c": "0QL5w0000045EO7GAM",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "COL_COVERAGE",
                              "Product2Id": "01t5w00000EZUaAAAX",
                              "productId": "01t5w00000EZUaAAAX",
                              "Id": "0QL5w0000045EOCGA2",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "COLLISION",
                                        "userValues": "0"
                                      }
                                    ]
                                  },
                                  "code": "AUTO_COVERAGE"
                                }
                              ]
                            },
                            "totalTaxFeeAmount": 25,
                            "taxAmount": 0,
                            "feeAmount": 25,
                            "price": 417.72481694,
                            "sourceSystemIdentifier": "uuid-0QL5w0000045EOCGA2",
                            "instanceKey": "COL_COVERAGE",
                            "lineRecordType": "CoverageSpec",
                            "productName": "Collision",
                            "productCode": "COL_COVERAGE"
                          },
                          {
                            "additionalFields": {
                              "parentInstanceKey": "2018 Audi A3",
                              "totalTaxFeeAmount": 0,
                              "ImageId": "/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=0685w00000QxbqoAAB",
                              "pciId": "a3A5w000001M9VdEAK",
                              "isSelected": true,
                              "selectValidationMessage": null,
                              "selectValidationCriteria": null,
                              "defaultSelectedCriteria": null,
                              "requiredCriteria": null,
                              "eligibilityCriteria": null,
                              "Name": "Uninsured/Underinsured Motorist BI",
                              "isOptional": false,
                              "Description": "We pay for medical expenses, and in some cases other benefits, for you and your passengers when you’re in an accident caused by a driver who has no insurance or not enough insurance to cover these expenses.",
                              "quoteLineItemId": "0QL5w0000045EO8GAM",
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": true,
                              "needReprice": true,
                              "instest12__ProductChildItemSequence__c": 1,
                              "displaySequence": 1,
                              "instest12__TotalAmount__c": 0,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Uninsured/Underinsured Motorist BI",
                              "instest12__PricingSource__c": null,
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:39:03.000Z",
                              "TotalPrice": 0,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "CoverageSpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 0,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"UNINSURED\":\"$15k/$30k\",\"AbaThrpyOutptInst_covered_inn\":\"1.3\"}",
                              "CreatedDate": "2021-07-16T06:05:44.000Z",
                              "LineNumber": "00034127",
                              "instest12__SubParentItemId__c": "0QL5w0000045EO7GAM",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "UNINSURED_COVERAGE",
                              "Product2Id": "01t5w00000EZU8zAAH",
                              "productId": "01t5w00000EZU8zAAH",
                              "Id": "0QL5w0000045EO8GAM",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "UNINSURED",
                                        "userValues": "$15k/$30k"
                                      }
                                    ]
                                  },
                                  "code": "POLICY"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AbaThrpyOutptInst_covered_inn",
                                        "userValues": "1.3"
                                      }
                                    ]
                                  },
                                  "code": "AbaThrpyOutptInst"
                                }
                              ]
                            },
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 0,
                            "sourceSystemIdentifier": "uuid-0QL5w0000045EO8GAM",
                            "instanceKey": "UNINSURED_COVERAGE",
                            "lineRecordType": "CoverageSpec",
                            "productName": "Uninsured/Underinsured Motorist BI",
                            "productCode": "UNINSURED_COVERAGE"
                          },
                          {
                            "additionalFields": {
                              "hasCoverages": false,
                              "totalTaxFeeAmount": 0,
                              "pciId": "a3A5w000001M9VmEAK",
                              "Description": null,
                              "isPrimary": true,
                              "Name": "Bob Jones",
                              "quoteLineItemId": "0QL5w0000045EOAGA2",
                              "hasAttributes": true,
                              "needCustomProcess": false,
                              "maxCount": 1,
                              "minCount": 1,
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": false,
                              "needReprice": false,
                              "instest12__ProductChildItemSequence__c": 2,
                              "displaySequence": 2,
                              "instest12__TotalAmount__c": 0,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Driver",
                              "instest12__PricingSource__c": null,
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:30:06.000Z",
                              "TotalPrice": 0,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "InsuredPartySpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 0,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"driverGoodStudent\":false,\"AGE\":40,\"LN\":\"Jones\",\"GENDER\":\"Male\",\"FN\":\"Bob\"}",
                              "CreatedDate": "2021-07-16T06:06:08.000Z",
                              "LineNumber": "00034129",
                              "instest12__SubParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "Bob Jones",
                              "Product2Id": "01t5w00000EZUPwAAP",
                              "productId": "01t5w00000EZUPwAAP",
                              "Id": "0QL5w0000045EOAGA2",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "FN",
                                        "userValues": "Bob"
                                      },
                                      {
                                        "code": "LN",
                                        "userValues": "Jones"
                                      },
                                      {
                                        "code": "AGE",
                                        "userValues": 40
                                      }
                                    ]
                                  },
                                  "code": "DRIVER"
                                }
                              ]
                            },
                            "isPrimary": true,
                            "isPrimaryChild": true,
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 0,
                            "sourceSystemIdentifier": "uuid-0QL5w0000045EOAGA2",
                            "instanceKey": "Bob Jones",
                            "lineRecordType": "InsuredPartySpec",
                            "productName": "Driver",
                            "productCode": "DRIVER"
                          }
                        ]
                      },
                      "totalTaxFeeAmount": 50,
                      "taxAmount": 0,
                      "feeAmount": 50,
                      "price": 1462.03685929,
                      "sourceSystemIdentifier": "uuid-0QL5w0000045EO7GAM",
                      "instanceKey": "2018 Audi A3",
                      "lineRecordType": "InsuredItemSpec",
                      "productName": "Auto",
                      "productCode": "AUTO"
                    },
                    {
                      "additionalFields": {
                        "primaryParty": {
                          "instanceKey": "Bobwqe Jonesewew",
                          "FN": "Bobwqe",
                          "GENDER": "Male",
                          "LN": "Jonesewew",
                          "AGE": 40,
                          "driverGoodStudent": false
                        },
                        "otherParties": [],
                        "hasCoverages": true,
                        "totalTaxFeeAmount": 0,
                        "pciId": "a3A5w000001M9VgEAK",
                        "Description": null,
                        "instest12__PricingFormula__c": "liabilityTotal + comprehensiveTotal + collisionTotal",
                        "isPrimary": true,
                        "Name": "2018 Audi A4",
                        "quoteLineItemId": "0QL5w0000045Ef3GAE",
                        "hasAttributes": true,
                        "needCustomProcess": false,
                        "maxCount": 1,
                        "minCount": 1,
                        "instest12__RelationshipType__c": "Child",
                        "instest12__NeedReprice__c": false,
                        "needReprice": false,
                        "instest12__ProductChildItemSequence__c": 1,
                        "displaySequence": 1,
                        "instest12__TotalAmount__c": 0,
                        "instest12__FeeAmount__c": 0,
                        "instest12__TaxAmount__c": 0,
                        "instest12__ProductName__c": "Auto",
                        "instest12__PricingSource__c": "totalPrice",
                        "instest12__PricingLogData__c": null,
                        "LastModifiedDate": "2021-08-06T01:30:06.000Z",
                        "TotalPrice": 0,
                        "instest12__Type__c": null,
                        "instest12__RecordTypeName__c": "InsuredItemSpec",
                        "instest12__RatingType__c": null,
                        "UnitPrice": 0,
                        "QuoteId": "0Q05w000002FzJXCA0",
                        "instest12__ImageId__c": "custom:custom31",
                        "instest12__RenewSourcePlanId__c": null,
                        "instest12__PrimaryChildLineItemId__c": "0QL5w0000045Ef6GAE",
                        "instest12__AttributeMetadataChanges__c": null,
                        "instest12__AttributeSelectedValues__c": "{\"AAttribute22\":\"value\"}",
                        "CreatedDate": "2021-07-21T08:33:07.000Z",
                        "LineNumber": "00034583",
                        "instest12__SubParentItemId__c": "0QL5w0000045EO2GAM",
                        "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                        "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                        "instest12__JurisdictionId__c": null,
                        "instest12__ItemName__c": "2018 Audi A4",
                        "Product2Id": "01t5w00000EZUnGAAX",
                        "productId": "01t5w00000EZUnGAAX",
                        "Id": "0QL5w0000045Ef3GAE",
                        "currencyCode": "USD",
                        "currencySymbol": "$"
                      },
                      "attributeCategories": {
                        "records": [
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "est_annual_mileage",
                                  "userValues": null
                                },
                                {
                                  "code": "carValue",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "AUTOMOBILE"
                          },
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "avAntiTheft",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "autoVehicle"
                          },
                          {
                            "productAttributes": {
                              "records": [
                                {
                                  "code": "autoMake",
                                  "userValues": null
                                },
                                {
                                  "code": "autoYear",
                                  "userValues": null
                                },
                                {
                                  "code": "autoLicNum",
                                  "userValues": null
                                },
                                {
                                  "code": "autoModel",
                                  "userValues": null
                                },
                                {
                                  "code": "autoVIN",
                                  "userValues": null
                                }
                              ]
                            },
                            "code": "AUTO"
                          }
                        ]
                      },
                      "childLines": {
                        "records": [
                          {
                            "additionalFields": {
                              "parentInstanceKey": "2018 Audi A4",
                              "totalTaxFeeAmount": 0,
                              "ImageId": "/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=0685w00000QxmFoAAJ",
                              "pciId": "a3A5w000001M9ViEAK",
                              "isSelected": true,
                              "selectValidationMessage": null,
                              "selectValidationCriteria": null,
                              "defaultSelectedCriteria": null,
                              "requiredCriteria": null,
                              "eligibilityCriteria": null,
                              "Name": "Comprehensive",
                              "isOptional": false,
                              "Description": "We pay to repair damage to your car that’s caused by something other than a collision, such as fire, theft, vandalism, hail, flood, or hitting an animal.",
                              "quoteLineItemId": "0QL5w0000045Ef5GAE",
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": false,
                              "needReprice": false,
                              "instest12__ProductChildItemSequence__c": 1,
                              "displaySequence": 1,
                              "instest12__TotalAmount__c": 0,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Comprehensive",
                              "instest12__PricingSource__c": "comprehensiveTotal",
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:30:06.000Z",
                              "TotalPrice": 0,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "CoverageSpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 0,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"COMPREHENSIVE\":\"100\"}",
                              "CreatedDate": "2021-07-21T08:33:07.000Z",
                              "LineNumber": "00034585",
                              "instest12__SubParentItemId__c": "0QL5w0000045Ef3GAE",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "COMP_COVERAGE",
                              "Product2Id": "01t5w00000EZU94AAH",
                              "productId": "01t5w00000EZU94AAH",
                              "Id": "0QL5w0000045Ef5GAE",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "COMPREHENSIVE",
                                        "userValues": "100"
                                      }
                                    ]
                                  },
                                  "code": "AUTO_COVERAGE"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AnsthsaOutptInst_covered_inn",
                                        "userValues": null
                                      }
                                    ]
                                  },
                                  "code": "AnsthsaOutptInst"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AbaThrpyOutptInst_covered_oon",
                                        "userValues": null
                                      }
                                    ]
                                  },
                                  "code": "AbaThrpyOutptInst"
                                }
                              ]
                            },
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 0,
                            "sourceSystemIdentifier": "f37b138f-c673-77d2-0c39-a1d4528a3d97",
                            "instanceKey": "COMP_COVERAGE",
                            "lineRecordType": "CoverageSpec",
                            "productName": "Comprehensive",
                            "productCode": "COMP_COVERAGE"
                          },
                          {
                            "additionalFields": {
                              "parentInstanceKey": "2018 Audi A4",
                              "totalTaxFeeAmount": 0,
                              "ImageId": "/sfc/servlet.shepherd/version/renditionDownload?rendition=ORIGINAL_Png&versionId=0685w00000QxbqoAAB",
                              "pciId": "a3A5w000001M9VdEAK",
                              "isSelected": true,
                              "selectValidationMessage": null,
                              "selectValidationCriteria": null,
                              "defaultSelectedCriteria": null,
                              "requiredCriteria": null,
                              "eligibilityCriteria": null,
                              "Name": "Uninsured/Underinsured Motorist BI",
                              "isOptional": false,
                              "Description": "We pay for medical expenses, and in some cases other benefits, for you and your passengers when you’re in an accident caused by a driver who has no insurance or not enough insurance to cover these expenses.",
                              "quoteLineItemId": "0QL5w0000045Ef4GAE",
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": false,
                              "needReprice": false,
                              "instest12__ProductChildItemSequence__c": 1,
                              "displaySequence": 1,
                              "instest12__TotalAmount__c": 0,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Uninsured/Underinsured Motorist BI",
                              "instest12__PricingSource__c": null,
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:30:06.000Z",
                              "TotalPrice": 0,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "CoverageSpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 0,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"AbaThrpyOutptInst_covered_inn\":\"1.2\"}",
                              "CreatedDate": "2021-07-21T08:33:07.000Z",
                              "LineNumber": "00034584",
                              "instest12__SubParentItemId__c": "0QL5w0000045Ef3GAE",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "UNINSURED_COVERAGE",
                              "Product2Id": "01t5w00000EZU8zAAH",
                              "productId": "01t5w00000EZU8zAAH",
                              "Id": "0QL5w0000045Ef4GAE",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "UNINSURED",
                                        "userValues": null
                                      }
                                    ]
                                  },
                                  "code": "POLICY"
                                },
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "AbaThrpyOutptInst_covered_inn",
                                        "userValues": "1.2"
                                      }
                                    ]
                                  },
                                  "code": "AbaThrpyOutptInst"
                                }
                              ]
                            },
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 0,
                            "sourceSystemIdentifier": "64f45b17-109e-55dc-6e0f-1521f5c91340",
                            "instanceKey": "UNINSURED_COVERAGE",
                            "lineRecordType": "CoverageSpec",
                            "productName": "Uninsured/Underinsured Motorist BI",
                            "productCode": "UNINSURED_COVERAGE"
                          },
                          {
                            "additionalFields": {
                              "hasCoverages": false,
                              "totalTaxFeeAmount": 0,
                              "pciId": "a3A5w000001M9VmEAK",
                              "Description": null,
                              "isPrimary": true,
                              "Name": "Bobwqe Jonesewew",
                              "quoteLineItemId": "0QL5w0000045Ef6GAE",
                              "hasAttributes": true,
                              "needCustomProcess": false,
                              "maxCount": 1,
                              "minCount": 1,
                              "instest12__RelationshipType__c": "Child",
                              "instest12__NeedReprice__c": false,
                              "needReprice": false,
                              "instest12__ProductChildItemSequence__c": 2,
                              "displaySequence": 2,
                              "instest12__TotalAmount__c": 0,
                              "instest12__FeeAmount__c": 0,
                              "instest12__TaxAmount__c": 0,
                              "instest12__ProductName__c": "Driver",
                              "instest12__PricingSource__c": null,
                              "instest12__PricingLogData__c": null,
                              "LastModifiedDate": "2021-08-06T01:30:06.000Z",
                              "TotalPrice": 0,
                              "instest12__Type__c": null,
                              "instest12__RecordTypeName__c": "InsuredPartySpec",
                              "instest12__RatingType__c": null,
                              "UnitPrice": 0,
                              "QuoteId": "0Q05w000002FzJXCA0",
                              "instest12__ImageId__c": null,
                              "instest12__RenewSourcePlanId__c": null,
                              "instest12__PrimaryChildLineItemId__c": null,
                              "instest12__AttributeMetadataChanges__c": null,
                              "instest12__AttributeSelectedValues__c": "{\"driverGoodStudent\":false,\"AGE\":40,\"LN\":\"Jonesewew\",\"GENDER\":\"Male\",\"FN\":\"Bobwqe\"}",
                              "CreatedDate": "2021-07-21T08:33:47.000Z",
                              "LineNumber": "00034586",
                              "instest12__SubParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId__c": "0QL5w0000045EO2GAM",
                              "instest12__ParentItemId2__c": "0QL5w0000045EO2GAM",
                              "instest12__JurisdictionId__c": null,
                              "instest12__ItemName__c": "Bobwqe Jonesewew",
                              "Product2Id": "01t5w00000EZUPwAAP",
                              "productId": "01t5w00000EZUPwAAP",
                              "Id": "0QL5w0000045Ef6GAE",
                              "currencyCode": "USD",
                              "currencySymbol": "$"
                            },
                            "attributeCategories": {
                              "records": [
                                {
                                  "productAttributes": {
                                    "records": [
                                      {
                                        "code": "FN",
                                        "userValues": "Bobwqe"
                                      },
                                      {
                                        "code": "LN",
                                        "userValues": "Jonesewew"
                                      },
                                      {
                                        "code": "AGE",
                                        "userValues": 40
                                      }
                                    ]
                                  },
                                  "code": "DRIVER"
                                }
                              ]
                            },
                            "isPrimary": true,
                            "isPrimaryChild": true,
                            "totalTaxFeeAmount": 0,
                            "taxAmount": 0,
                            "feeAmount": 0,
                            "price": 0,
                            "sourceSystemIdentifier": "2c2c5a39-0bfe-4076-3e0c-c9abe19b802a",
                            "instanceKey": "Bobwqe Jonesewew",
                            "lineRecordType": "InsuredPartySpec",
                            "productName": "Driver",
                            "productCode": "DRIVER"
                          }
                        ]
                      },
                      "totalTaxFeeAmount": 0,
                      "taxAmount": 0,
                      "feeAmount": 0,
                      "price": 0,
                      "sourceSystemIdentifier": "f901cf53-303c-dcdd-ae3b-e65a0d2f74b0",
                      "instanceKey": "2018 Audi A4",
                      "lineRecordType": "InsuredItemSpec",
                      "productName": "Auto",
                      "productCode": "AUTO"
                    }
                  ]
                },
                "sourceSystemIdentifier": "uuid-0QL5w0000045EO2GAM",
                "otherParties": null,
                "primaryParty": null,
                "taxAmount": 0,
                "feeAmount": 50,
                "totalTaxFeeAmount": 50,
                "price": 1462.03685929,
                "instanceKey": "Auto Root - External",
                "lineRecordType": "Product",
                "Name": "Auto Root - External",
                "productName": "Auto Root - External",
                "productCode": "AUTOROOTEXTERNAL"
              }
            ]
          },
          "additionalFields": {
            "Id": "0Q05w000002FzJXCA0",
            "instest12__TotalFeeAmount__c": 50,
            "instest12__TotalTaxAmount__c": 0,
            "instest12__TotalAmount__c": 1512.04,
            "instest12__GroupCensusId__c": null,
            "instest12__Type__c": "New Business",
            "instest12__RatingType__c": null,
            "instest12__RootItemTotal__c": 1462.04,
            "AccountId": "0015w00002CkGoUAAV",
            "instest12__TotalPremiumforTerm__c": 350,
            "instest12__TotalSumInsured__c": 0,
            "instest12__TotalTaxTermDifference__c": 0,
            "instest12__TotalPremiumTermDifference__c": 350,
            "instest12__TotalFeeTermDifference__c": 50,
            "instest12__TotalAmountTermDifference__c": 400,
            "instest12__DaysRemaining__c": 365
          },
          "type": "Quote",
          "endDate": "2022-07-14",
          "effectiveDate": "2021-07-15",
          "term": "Annual",
          "status": "Draft",
          "sourceSystem": null,
          "sourceSystemIdentifier": "quoteUUID",
          "price": 1608.2405452250257,
          "Name": "G Auto Root - External"
        }
      ]
    },
    "errorCode": "INVOKE-200",
    "error": "OK"}

InsQuoteService:createUpdateQuoteFromExternal Input Example

{
  "quote": {
    "records": [
      {
        "opportunityId": "0065w0000286hhNAAQ",
        "sourceSystemIdentifier": "af3c0072-9018-43df-83d3-3a5f254d5b1e",
        "sourceSystem": "Salesforce",
        "Name": "Auto Root (External)",
        "type": "LargeGroupQuote",
        "effectiveDate": "06/01/2021",
        "endDate": "12/01/2021",
        "price": 10000,
        "term": "Semi-Annual",
        "status": "Submitted",
        "quoteLines": {
          "records": [
            {
              "sourceSystemIdentifier": "49553393-120a-4777-b65a-8167c386a0fb",
              "instanceKey": "Auto Root",
              "productCode": "AUTOROOT",
              "productName": "Auto Root",
              "attributeCategories": {
                "records": [
                  {
                    "productAttributes": {
                      "records": [
                        {
                          "code": "atLimitUM",
                          "userValues": 200
                        }
                      ]
                    }
                  }
                ]
              },
              "additionalFields": {
                "instest12__AdjustmentComments__c": "test comment"
              },
              "childLines": {
                "records": [
                  {
                    "sourceSystemIdentifier": "5a8d1b04-c34c-6a48-42c8-ab08be9868e1",
                    "lineRecordType": "InsuredItemSpec",
                    "Name": "Auto",
                    "productName": "Auto",
                    "productCode": "AUTO",
                    "instanceKey": "2010 Honda Odyssey",
                    "price": 111,
                    "taxAmount": 5,
                    "feeAmount": 21,
                    "additionalFields": {
                      "instest12__AdjustmentComments__c": "test comment"
                    },
                    "attributeCategories": {
                      "records": [
                        {
                          "productAttributes": {
                            "records": [
                              {
                                "code": "autoYear",
                                "userValues": 2010
                              },
                              {
                                "code": "carValue",
                                "userValues": 55000
                              },
                              {
                                "code": "est_annual_mileage",
                                "userValues": 2000
                              },
                              {
                                "code": "autoMake",
                                "userValues": "Honda"
                              },
                              {
                                "code": "autoModel",
                                "userValues": "Odyssey"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "childLines": {
                      "records": [
                        {
                          "sourceSystemIdentifier": "6400140b-3e97-32c4-bdfd-7e54f959544f",
                          "lineRecordType": "InsuredPartySpec",
                          "Name": "Driver",
                          "productName": "Driver",
                          "productCode": "DRIVER",
                          "instanceKey": "Bob Jones",
                          "price": 112,
                          "taxAmount": 6,
                          "feeAmount": 22,
                          "isPrimaryChild": true,
                          "additionalFields": {
                            "instest12__AdjustmentComments__c": "test comment"
                          },
                          "attributeCategories": {
                            "records": [
                              {
                                "productAttributes": {
                                  "records": [
                                    {
                                      "code": "AGE",
                                      "userValues": 24
                                    },
                                    {
                                      "code": "FN",
                                      "userValues": "Bob"
                                    },
                                    {
                                      "code": "LN",
                                      "userValues": "Jones"
                                    },
                                    {
                                      "code": "GENDER",
                                      "userValues": "Male"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "sourceSystemIdentifier": "38c4fe27-7b85-77ce-c9e2-1f7f22889982",
                          "lineRecordType": "InsuredPartySpec",
                          "Name": "Driver",
                          "productName": "Driver",
                          "productCode": "DRIVER",
                          "instanceKey": "Joan Smith",
                          "price": 113,
                          "taxAmount": 7,
                          "feeAmount": 23,
                          "attributeCategories": {
                            "records": [
                              {
                                "productAttributes": {
                                  "records": [
                                    {
                                      "code": "AGE",
                                      "userValues": 25
                                    },
                                    {
                                      "code": "FN",
                                      "userValues": "Joan"
                                    },
                                    {
                                      "code": "LN",
                                      "userValues": "Smith"
                                    },
                                    {
                                      "code": "GENDER",
                                      "userValues": "Female"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "sourceSystemIdentifier": "33b74fa2-fba5-44b4-317f-021dae689a9f",
                          "lineRecordType": "CoverageSpec",
                          "Name": "Collision Deductible Waiver",
                          "productName": "Collision Deductible Waiver",
                          "productCode": "COL_WAIVER",
                          "instanceKey": "2010 Honda Odyssey_COL_WAIVER",
                          "price": 114,
                          "taxAmount": 8,
                          "feeAmount": 24
                        },
                        {
                          "sourceSystemIdentifier": "c4d5ac35-99b1-047d-cebe-05b74861463e",
                          "lineRecordType": "CoverageSpec",
                          "Name": "Uninsured/Underinsured Motorist BI",
                          "productName": "Uninsured/Underinsured Motorist BI",
                          "productCode": "UNINSURED_COVERAGE",
                          "instanceKey": "2010 Honda Odyssey_UNINSURED_COVERAGE",
                          "price": 115,
                          "taxAmount": 9,
                          "feeAmount": 25,
                          "attributeCategories": {
                            "records": [
                              {
                                "productAttributes": {
                                  "records": [
                                    {
                                      "code": "AbaThrpyOutptInst_covered_inn",
                                      "userValues": 1.3
                                    },
                                    {
                                      "code": "UNINSURED",
                                      "userValues": "No coverage"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  },
                  {
                    "sourceSystemIdentifier": "60699eaf-956a-4381-8ef2-5a704c85517f",
                    "lineRecordType": "InsuredItemSpec",
                    "Name": "Auto",
                    "productName": "Auto",
                    "productCode": "AUTO",
                    "instanceKey": "2011 Toyota Camry",
                    "price": 116,
                    "taxAmount": 10,
                    "feeAmount": 26,
                    "attributeCategories": {
                      "records": [
                        {
                          "productAttributes": {
                            "records": [
                              {
                                "code": "autoYear",
                                "userValues": 2011
                              },
                              {
                                "code": "carValue",
                                "userValues": 55500
                              },
                              {
                                "code": "est_annual_mileage",
                                "userValues": 2200
                              },
                              {
                                "code": "autoMake",
                                "userValues": "Toyota"
                              },
                              {
                                "code": "autoModel",
                                "userValues": "Camry"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "childLines": {
                      "records": [
                        {
                          "sourceSystemIdentifier": "6400140b-3e97-32c4-bdfd-7e54f959544f",
                          "lineRecordType": "InsuredPartySpec",
                          "Name": "Driver",
                          "productName": "Driver",
                          "productCode": "DRIVER",
                          "instanceKey": "Bob Jones",
                          "price": 112,
                          "taxAmount": 6,
                          "feeAmount": 22,
                          "isPrimaryChild": true,
                          "attributeCategories": {
                            "records": [
                              {
                                "productAttributes": {
                                  "records": [
                                    {
                                      "code": "AGE",
                                      "userValues": 24
                                    },
                                    {
                                      "code": "FN",
                                      "userValues": "Bob"
                                    },
                                    {
                                      "code": "LN",
                                      "userValues": "Jones"
                                    },
                                    {
                                      "code": "GENDER",
                                      "userValues": "Male"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        },
                        {
                          "sourceSystemIdentifier": "8c450354-2053-444c-9c9e-36a66e6f5582",
                          "lineRecordType": "CoverageSpec",
                          "Name": "Collision Deductible Waiver",
                          "productName": "Collision Deductible Waiver",
                          "productCode": "COL_WAIVER",
                          "instanceKey": "2011 Toyota Camry_COL_WAIVER",
                          "price": 117,
                          "taxAmount": 11,
                          "feeAmount": 27
                        },
                        {
                          "sourceSystemIdentifier": "7aaeee37-05ce-4926-accb-dff2ee85587f",
                          "lineRecordType": "CoverageSpec",
                          "Name": "Roadside",
                          "productName": "Roadside",
                          "productCode": "ROADSIDE_COVERAGE",
                          "instanceKey": "2011 Toyota Camry_ROADSIDE_COVERAGE",
                          "price": 118,
                          "taxAmount": 12,
                          "feeAmount": 28,
                          "attributeCategories": {
                            "records": [
                              {
                                "productAttributes": {
                                  "records": [
                                    {
                                      "code": "ROADSIDE",
                                      "userValues": 1
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        },
        "additionalFields": {
          "instest12__MonthlyPremium__c": 222
        }
      }
    ]
  }
}

InsQuoteService:createUpdateQuoteFromExternal Output Example

{
   "errors":[
      "Failed to create/update QuoteLineItem Honda Odyssey.Required fields are missing: [PricebookEntryId, Product2Id]; ",
      "Failed to create/update QuoteLineItem Toyota Camry.Required fields are missing: [PricebookEntryId, Product2Id]; ",
      "Failed to create/update QuoteLineItem Patty Desc.Required fields are missing: [PricebookEntryId, Product2Id]; "
   ],
   "quoteId":"0Q05w0000027aH5CAI"
}
 
Loading
Salesforce Help | Article