POST api/insurance/v2/quote
保险询价
Request Information
URI Parameters
None.
Body Parameters
InsuranceQuoteRQContractName | Description | Type | Additional information |
---|---|---|---|
lang |
语言(zh-HK/en-US) |
string |
None. |
source |
保险类型(chubb/starr) |
string |
None. |
people |
人數 |
integer |
None. |
effectiveDate |
生效日期 |
date |
None. |
expirationDate |
有效日期 |
date |
None. |
tripF |
出發地 |
string |
None. |
tripT |
到達地 |
string |
None. |
lastTripT |
最后一程目的地 |
string |
None. |
TripType |
Trip Type(1.單程,2.雙程,3.多程) |
integer |
None. |
airline |
Airline |
string |
None. |
logTraceId |
日志鍵 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "lang": "sample string 1", "source": "sample string 2", "people": 3, "effectiveDate": "2024-12-23T19:41:23.3906596+08:00", "expirationDate": "2024-12-23T19:41:23.3906596+08:00", "tripF": "sample string 4", "tripT": "sample string 5", "lastTripT": "sample string 6", "TripType": 7, "airline": "sample string 8", "logTraceId": "sample string 9" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
保险询价
ReturnResultOfInsuranceQuoteRSContractName | Description | Type | Additional information |
---|---|---|---|
data | InsuranceQuoteRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "cartId": "sample string 1", "source": "sample string 2", "people": 3, "effectiveDate": "2024-12-23T19:41:23.4207188+08:00", "expirationDate": "2024-12-23T19:41:23.4207188+08:00", "companyProductDesc": "sample string 6", "companyProductCd": "sample string 7", "destinationDesc": "sample string 8", "destinationRqUID": "sample string 9", "insuredPackageDesc": "sample string 10", "insuredPackageRqUID": "sample string 11", "planDesc": "sample string 12", "planRqUID": "sample string 13", "currency": "sample string 14", "planAmount": 15.0, "orgPlanAmount": 16.0, "QuoteValidUntilDate": "2024-12-23T19:41:23.4207188+08:00", "displayInfo": { "lang": "sample string 1", "companyName": "sample string 2", "planName": "sample string 3", "insuranceName": "sample string 4", "insuranceUrl": "sample string 5", "insurancePolicyUrl": "sample string 6", "insuranceDeclarationUrl": "sample string 7" }, "discountPlanId": 1, "discountedAmount": 1.0, "discountCode": "sample string 18" }, "code": 1, "message": "sample string 2" }