Sie befinden sich hier:
InsPolicyService:getPaymentSchedule
Der Service InsPolicyService:getPaymentSchedule gibt den Zahlungsplan der InsurancePolicy zurück. Das Objekt "Police (Asset)" wird nicht unterstützt.
Methode: getPaymentSchedule
Funktionsweise
Der Service ruft die InsurancePolicyPaymentScheduleEntry__c der Versicherungspolicen-ID ab.
Remote-Optionen
Remote-Option |
Beschreibung |
|---|---|
|
Optional. Die benutzerdefinierte Klasse, die zum Abrufen des Zahlungsplans verwendet wird. Der Standardwert lautet GetInsurancePolicyPaymentSchedule. |
|
Optional. Die OmniStudio-Datenzuordnung, die zum Abrufen des Zahlungsplans verwendet wird. |
|
Pflichtangabe. Die ID der Versicherungspolice, für die dieser Service den Zahlungsplan abruft. |
|
Optional. Wahr, wenn der Der Standardwert ist |
Input JSON
{
"policyId": "0YT5w000000UPFWGA4",
"returnSObject": false,
"getDataCustomClassName": "GetInsurancePolicyPaymentSchedule"
}Ausgabe-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"
}
}
