Loading
Vakuutus
InsProductAsyncRatingService:fetchRepriceProductPrice

InsProductAsyncRatingService:fetchRepriceProductPrice

Käytä tätä palvelua noutaaksesi ei-synkronoituja arvostelutuloksia uudelleenhintatuotepyynnölle.

Luokka: InsProductAsyncRatingService

Metodi: fetchRepriceProductPrice

Tämä palvelu on suunniteltu ryhmän etujen suurten ryhmien tarjousten käyttötarkoituksiin.

Miten se toimii?

  1. Tämä palvelu ottaa vakuutusluokituspyynnön tunnuksen input-arvona.
  2. Palvelu kyselee tallennettua luokituspyyntöä ja noutaa tietoja, mukaan lukien sen tila, luokitellut tuotetunnukset, luokitusvaihtoehdot, syötetyt luokitusvaihtoehdot, luokittelutulokset ja insuranceRatingRequestId.prodResultJson
    Huomautus
    Huomautus Palvelu tarjoaa arvioitujen tuotteiden hinnat vain, jos arviointipyynnön tila on Valmis tai Arvioitu.
  3. Palvelu laskee lähetettyyn repriceProduct-pyyntöön liittyvän tuotteen kokonaishinnat.
  4. Palvelu palauttaa päivitetyn prodResultJson.

Syötteet

Input Kuvaus
requestId

Pakollinen.

Vakuutusluokituspyynnön tunnus. Tämä tunnus luodaan, kun palvelua kutsutaan.

Etäasetukset

Vaihtoehto Kuvaus
includeMemberPrices

Osoittaa, sisällytetäänkö jäsenitason hinnat tulokseen.

Oletusarvo on false.

Syötetty JSON

Alla on esimerkki syötetystä JSON-tiedostosta:

{
 "requestId": "8zkRO000000004D",
}

Vaihtoehtojen JSON

Alla on esimerkki vaihtoehdoista JSON:

{    
  "includeMemberPrices": false
} 

Tulos-JSON

Alla on esimerkki tuloksen JSON-tiedostosta:

{
    "Status": "Completed", 
    "result":
    {
        "totalSize": 2,
        "records": [
        {
            "nameResult": {
                "childProducts": {},
                "attributeCategories": {}
            },
            "fields": {
                "Price": 325.0,
                "currencySymbol": "$",
                "currencyCode": "USD",
                "productId": "01t8c00000P49yeAAB",
                "ParentClassCode__c": null,
                "ParentClassId__c": null,
                "TotalInsuredFormula__c": null,
                "Term__c": null,
                "PricingFormula__c": "aggTotalPrem",
                "IsConfigurable__c": true,
                "RecordTypeName__c": "Product",
                "PricingSource__c": null,
                "ImageId__c": null,
                "Tier__c": null,
                "IsRecommended__c": false,
                "RateBandId__c": null,
                "SubType__c": null,
                "Type__c": null,
                "MarketSegment__c": null,
                "LineOfBusiness__c": "Group Benefits",
                "ProductCode": "dentalPremium",
                "Family": null,
                "Description": null,
                "Name": "dentalPremium",
                "Id": "01t8c00000P49yeAAB",
                "CalculatedPriceData": {
                      "aggTotalPrem": 325.0,
                      "DentalPremiumCalcMatrixAgeBased__QuotePremium": 325.0
                }
            },
            "displaySequence": -1
        },
        {
            "nameResult": {
                "childProducts": {},
                "attributeCategories": {}
            },
            "fields": {
                "Price": 1020.0,
                "currencySymbol": "$",
                "currencyCode": "USD",
                "productId": "01t8c00000PLIiEAAX",
                "ParentClassCode__c": null,
                "ParentClassId__c": null,
                "TotalInsuredFormula__c": null,
                "Term__c": null, 
                "PricingFormula__c": "aggTotalPrem",
                "IsConfigurable__c": true,
                "RecordTypeName__c": "Product",
                "PricingSource__c": null,
                "ImageId__c": null,
                "Tier__c": null,
                "IsRecommended__c": false,
                "RateBandId__c": null,
                "SubType__c": null,
                "Type__c": "Medical",
                "MarketSegment__c": null,
                "LineOfBusiness__c": "Group Benefits",
                "ProductCode": "MEDICAL",
                "Family": null,
                "Description": null,
                "Name": "Medical",
                "Id": "01t8c00000PLIiEAAX",
                "CalculatedPriceData": {
                    "aggTotalPrem": 325.0,
                    "MedicalCalcMatrixAgeBased__QuotePremium": 325.0 
                }
            },
            "displaySequence": -1
        }
        ]
    }
}
 
Ladataan
Salesforce Help | Article