POST api/insurance/ace/getinsurance?EffectiveDate={EffectiveDate}&ExpirationDate={ExpirationDate}&Destination={Destination}&InsuredPackage={InsuredPackage}&Plan={Plan}&People={People}

保險詢價

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EffectiveDate

生效日趋

date

Required

ExpirationDate

到期日期

date

Required

Destination

目的地

Destination

Required

InsuredPackage

保险方案

InsuredPackage

Required

Plan

计划

Plan

Required

People

人数

integer

Required

Body Parameters

None.

Response Information

Resource Description

保險詢價

ReturnResultOfGetInsuranceReponse
NameDescriptionTypeAdditional information
data

GetInsuranceReponse

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "PolicyQuote": [
      {
        "EffectiveDate": "2024-12-23T19:20:51.6558875+08:00",
        "ExpirationDate": "2024-12-23T19:20:51.6558875+08:00",
        "CompanyProductCd": "sample string 3",
        "DestinationRqUid": "sample string 4",
        "DestinationDesc": "sample string 5",
        "Destination": 0,
        "InsuredPackageRqUid": "sample string 6",
        "InsuredPackageDesc": "sample string 7",
        "InsuredPackage": 0,
        "PlanRqUid": "sample string 8",
        "PlanDesc": "sample string 9",
        "Plan": 0,
        "QuoteAmount": 10.0,
        "Currency": "sample string 11",
        "CoverageConditionsInd": true,
        "InitialQuoteRequestDate": "2024-12-23T19:20:51.6558875+08:00",
        "QuoteValidUntilDate": "2024-12-23T19:20:51.6558875+08:00",
        "PolicyStatus": 0,
        "MessageStatus": 0,
        "MessageStatusDesc": "sample string 13",
        "DataExtensions": [
          {
            "Key": "sample string 1",
            "Value": "sample string 2",
            "Type": "sample string 3",
            "IdRef": "sample string 4"
          },
          {
            "Key": "sample string 1",
            "Value": "sample string 2",
            "Type": "sample string 3",
            "IdRef": "sample string 4"
          }
        ],
        "ItemAmt": 14.0,
        "DiscountAmt": 15.0,
        "GrantAmt": 16.0,
        "DiscountInfo": {
          "DiscountBy": "sample string 1",
          "DiscountValue": 2.0,
          "DiscountAmt": 3.0,
          "DiscountCode": "sample string 4"
        }
      },
      {
        "EffectiveDate": "2024-12-23T19:20:51.6558875+08:00",
        "ExpirationDate": "2024-12-23T19:20:51.6558875+08:00",
        "CompanyProductCd": "sample string 3",
        "DestinationRqUid": "sample string 4",
        "DestinationDesc": "sample string 5",
        "Destination": 0,
        "InsuredPackageRqUid": "sample string 6",
        "InsuredPackageDesc": "sample string 7",
        "InsuredPackage": 0,
        "PlanRqUid": "sample string 8",
        "PlanDesc": "sample string 9",
        "Plan": 0,
        "QuoteAmount": 10.0,
        "Currency": "sample string 11",
        "CoverageConditionsInd": true,
        "InitialQuoteRequestDate": "2024-12-23T19:20:51.6558875+08:00",
        "QuoteValidUntilDate": "2024-12-23T19:20:51.6558875+08:00",
        "PolicyStatus": 0,
        "MessageStatus": 0,
        "MessageStatusDesc": "sample string 13",
        "DataExtensions": [
          {
            "Key": "sample string 1",
            "Value": "sample string 2",
            "Type": "sample string 3",
            "IdRef": "sample string 4"
          },
          {
            "Key": "sample string 1",
            "Value": "sample string 2",
            "Type": "sample string 3",
            "IdRef": "sample string 4"
          }
        ],
        "ItemAmt": 14.0,
        "DiscountAmt": 15.0,
        "GrantAmt": 16.0,
        "DiscountInfo": {
          "DiscountBy": "sample string 1",
          "DiscountValue": 2.0,
          "DiscountAmt": 3.0,
          "DiscountCode": "sample string 4"
        }
      }
    ],
    "Message": "sample string 1",
    "Status": 2
  },
  "code": 1,
  "message": "sample string 2"
}