You are here:
InsPolicyService:getPaymentSchedule
The InsPolicyService:getPaymentSchedule service returns the payment schedule of the InsurancePolicy. The Policy (Asset) object is not supported.
Method: getPaymentSchedule
How It Works
The service retrieves the InsurancePolicyPaymentScheduleEntry__c records of the InsurancePolicy Id.
Remote Options
Remote Option |
Description |
|---|---|
|
Optional. The custom class used to retrieve the payment schedule. Default is GetInsurancePolicyPaymentSchedule. |
|
Optional. The Omnistudio Data Mapper used to retrieve the payment schedule. |
|
Required. The Id of the InsurancePolicy for which this service retrieves the payment schedule. |
|
Optional. True if the Default is |
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"
}
}
