Loading
Verzekering
InsPolicyService:getPaymentSchedule

InsPolicyService:getPaymentSchedule

De service InsPolicyService:getPaymentSchedule retourneert het betalingsschema van InsurancePolicy. Het object Polis (Activum) wordt niet ondersteund.

Klasse: InsPolicyService

Methode: getPaymentSchedule

De manier waarop het werkt...

De service haalt de InsurancePolicyPaymentScheduleEntry__c van de InsurancePolicy-ID op.

Externe opties

Externe optie

Beschrijving

getDataCustomClassName

Optioneel.

De aangepaste klasse die wordt gebruikt om de betalingsplanning op te halen.

De standaardwaarde is GetInsurancePolicyPaymentSchedule.

getDataDRBundleName

Optioneel.

De Omnistudio Data Mapper die wordt gebruikt om de betalingsplanning op te halen.

policyId

Verplicht.

De ID van de InsurancePolicy waarvoor deze service de betalingsplanning ophaalt.

returnSObject

Optioneel.

True (waar) als de veldnaam InsurancePolicyPaymentScheduleEntry__c moet worden gebruikt, anders wordt een generieke veldnaam geretourneerd.

Standaard is false.

Invoer-JSON

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

Uitvoer-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"
  }
}
 
Wordt geladen
Salesforce Help | Article