U bent hier:
InsPolicyService:getPaymentSchedule
De service InsPolicyService:getPaymentSchedule retourneert het betalingsschema van InsurancePolicy. Het object Polis (Activum) wordt niet ondersteund.
Methode: getPaymentSchedule
De manier waarop het werkt...
De service haalt de InsurancePolicyPaymentScheduleEntry__c van de InsurancePolicy-ID op.
Externe opties
Externe optie |
Beschrijving |
|---|---|
|
Optioneel. De aangepaste klasse die wordt gebruikt om de betalingsplanning op te halen. De standaardwaarde is GetInsurancePolicyPaymentSchedule. |
|
Optioneel. De Omnistudio Data Mapper die wordt gebruikt om de betalingsplanning op te halen. |
|
Verplicht. De ID van de InsurancePolicy waarvoor deze service de betalingsplanning ophaalt. |
|
Optioneel. True (waar) als de veldnaam Standaard is |
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"
}
}