POST api/insurance/v2/policy
保险下單
Request Information
URI Parameters
None.
Body Parameters
InsurancePolicyRQContractName | Description | Type | Additional information |
---|---|---|---|
docno |
DocNo |
string |
None. |
source |
供應商: ACE: ACE/Chubb |
string |
None. |
TripType |
Trip Type(1.單程,2.雙程,3.多程) |
integer |
None. |
effectivedate |
新效日期(出發日期) |
date |
None. |
expirationdate |
有效日期(回程到達日期) |
date |
None. |
companyid |
API公司ID |
string |
None. |
destinationid |
API位置名稱 |
string |
None. |
destinationdesc |
API位置ID |
string |
None. |
insuredpackageid |
API保險Package名稱 |
string |
None. |
insuredpackagedesc |
API保險PackageID |
string |
None. |
planid |
API保險方案名稱 |
string |
None. |
plandesc |
API保險名稱名稱 |
string |
None. |
orgamount |
保险原价 |
decimal number |
None. |
quoteamt |
報價價格(保險公司的原價) |
decimal number |
None. |
depcountry |
出发地国家名称(英文名) |
string |
None. |
arrcountry |
目的地国家名称(英文名),如果是多程,傳 Worldwide |
string |
None. |
logtraceid |
日志ID |
string |
None. |
contact |
联系人 |
InsurancePolicyContactRQ |
None. |
persons |
申请/受益人 |
Collection of InsurancePolicyInsuredPersonRQ |
None. |
Request Formats
application/json, text/json
Sample:
{ "docno": "sample string 1", "source": "sample string 2", "TripType": 3, "effectivedate": "2024-12-23T19:45:57.3584106+08:00", "expirationdate": "2024-12-23T19:45:57.3584106+08:00", "companyid": "sample string 4", "destinationid": "sample string 5", "destinationdesc": "sample string 6", "insuredpackageid": "sample string 7", "insuredpackagedesc": "sample string 8", "planid": "sample string 9", "plandesc": "sample string 10", "orgamount": 11.0, "quoteamt": 12.0, "depcountry": "sample string 13", "arrcountry": "sample string 14", "logtraceid": "sample string 15", "contact": { "PhoneNumber": "sample string 1", "Email": "sample string 2" }, "persons": [ { "SeqNo": 1, "Surname": "sample string 2", "GivenName": "sample string 3", "TitlePrefix": "sample string 4", "BirthDate": "2024-12-23T19:45:57.3584106+08:00", "IdNumberTypeCd": "sample string 6", "IdNumber": "sample string 7", "PersonType": "sample string 8" }, { "SeqNo": 1, "Surname": "sample string 2", "GivenName": "sample string 3", "TitlePrefix": "sample string 4", "BirthDate": "2024-12-23T19:45:57.3584106+08:00", "IdNumberTypeCd": "sample string 6", "IdNumber": "sample string 7", "PersonType": "sample string 8" } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
保险下單
ReturnResultOfInsurancePolicyRSContractName | Description | Type | Additional information |
---|---|---|---|
data | InsurancePolicyRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "status": "sample string 1", "statusDesc": "sample string 2", "planAmount": 1.0, "planCurrency": "sample string 3", "policyNumber": "sample string 4", "policyStatus": "sample string 5", "originalSubmittedPolicyDate": "2024-12-23T19:45:57.4052904+08:00", "policySchedule": "sample string 6", "transactionResponseDt": "2024-12-23T19:45:57.4052904+08:00" }, "code": 1, "message": "sample string 2" }