Loading
保險
InsPolicyService:getPaymentSchedule

InsPolicyService:getPaymentSchedule

InsPolicyService:getPaymentSchedule 服務會傳回 InsurancePolicy 的付款排程。不支援「原則 (資產)」物件。

類別:InsPolicyService

方法:getPaymentSchedule

運作方式

服務會取回 InsurancePolicy Id 的 InsurancePolicyPaymentScheduleEntry__c 記錄。

遠端選項

遠端選項

描述

getDataCustomClassName

選擇性。

此為用來取回付款排程的自訂類別。

預設為 GetInsurancePolicyPaymentSchedule。

getDataDRBundleName

選擇性。

Omnistudio 資料對應器,用於取用付款排程。

policyId

必要。

InsurancePolicy 的識別碼,此服務會針對此項收取付款排程。

returnSObject

選擇性。

若應該使用 InsurancePolicyPaymentScheduleEntry__c 欄位名稱,則為 True,否則會傳回一般欄位名稱。

預設為 false。

輸入 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"
  }
}
 
正在載入
Salesforce Help | Article