Loading
Forsikring
InsPolicyService:getPaymentSchedule

InsPolicyService:getPaymentSchedule

Tjenesten InsPolicyService:getPaymentSchedule returnerer betalingstidsplanen for InsurancePolicy. Objektet Politik (Aktiv) understøttes ikke.

Klasse: InsPolicyService

Metode: getPaymentSchedule

Sådan fungerer det

Tjenesten henter InsurancePolicyPaymentScheduleEntry__c for Id for InsurancePolicy.

Fjernindstillinger

Fjernindstilling

Beskrivelse

getDataCustomClassName

Valgfrit.

Den tilpassede klasse, der bruges til at hente betalingsplanen.

Standard er GetInsurancePolicyPaymentSchedule.

getDataDRBundleName

Valgfrit.

Den Omnistudio-datatilknytning, der bruges til at hente betalingsplanen.

policyId

Påkrævet.

Id'et på den forsikringspolice, som denne tjeneste henter betalingsplanen for.

returnSObject

Valgfrit.

Sandt, hvis InsurancePolicyPaymentScheduleEntry__c-feltnavnet skal bruges, returneres der ellers et generisk feltnavn.

Standarden er false.

Input JSON

{
    "policyId": "0YT5w000000UPFWGA4",
    "returnSObject": false,
    "getDataCustomClassName": "GetInsurancePolicyPaymentSchedule"
}

Output JSON

{
  "output": {
    "policyId": "0YT5w000000UPFWGA4",
    "result": [
      {
        "feeAmount": 10.12,
        "Id": "a5u5w0000005u9ZAAQ",
        "insTransaction": {
          "additionalInfo": null,
          "amount": null,
          "feeAmount": null,
          "Id": "a5t5w000002iF4mAAE",
          "name": null,
          "postDate": null,
          "taxAmount": null,
          "totalAmount": null,
          "transactionDate": null,
          "transactionNumber": null,
          "type": null
        },
        "premiumAmount": 1042.88,
        "scheduleDate": "2020-07-15",
        "taxAmount": 104.29,
        "toDelete": null,
        "totalAmount": 1157.29
      },
      {
        "feeAmount": 1.92,
        "Id": "a5u5w0000005u9aAAA",
        "insTransaction": null,
        "premiumAmount": 192.64,
        "scheduleDate": "2020-07-30",
        "taxAmount": 19.2,
        "toDelete": null,
        "totalAmount": 213.76
      },
      ...
    ],
    "errorCode": "INVOKE-200",
    "error": "OK"
  }
}
 
Indlæser
Salesforce Help | Article