您位於此處:
InsPolicyService:getPaymentSchedule
InsPolicyService:getPaymentSchedule 服務會傳回 InsurancePolicy 的付款排程。不支援「原則 (資產)」物件。
方法:getPaymentSchedule
遠端選項
遠端選項 |
描述 |
|---|---|
|
選擇性。 此為用來取回付款排程的自訂類別。 預設為 GetInsurancePolicyPaymentSchedule。 |
|
選擇性。 Omnistudio 資料對應器,用於取用付款排程。 |
|
必要。 InsurancePolicy 的識別碼,此服務會針對此項收取付款排程。 |
|
選擇性。 若應該使用 預設為 |
輸入 JSON
{
"policyId": "0YT5w000000UPFWGA4",
"returnSObject": false,
"getDataCustomClassName": "GetInsurancePolicyPaymentSchedule"
}輸出 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"
}
}