POST api/insurance/enquiry
保險詢價
Request Information
URI Parameters
None.
Body Parameters
詢價請求
EnquiryRequestName | Description | Type | Additional information |
---|---|---|---|
planid |
計劃ID |
integer |
None. |
startdate |
受保開始日期 |
date |
None. |
enddate |
受保結束日期 |
date |
None. |
adultrecord |
計劃ID |
integer |
None. |
childrecord |
兒童數量 |
integer |
None. |
infantrecord |
嬰兒數量 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "planid": 1, "startdate": "2024-12-23T20:15:14.3661657+08:00", "enddate": "2024-12-23T20:15:14.3661657+08:00", "adultrecord": 4, "childrecord": 5, "infantrecord": 6 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
保險詢價
ReturnResultOfEnquiryResponseName | Description | Type | Additional information |
---|---|---|---|
data | EnquiryResponse |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "discountvalue": 1.0, "porlicyfee": 0.0, "orgpolicyfee": 22.0, "adultprice": 0.0, "orgadultprice": 2.0, "childprice": 0.0, "orgchildprice": 3.0, "childrecord": 4, "adultrecord": 5, "startdate": "2024-12-23T20:15:14.3974157+08:00", "enddate": "2024-12-23T20:15:14.3974157+08:00", "feeday": 8 }, "code": 1, "message": "sample string 2" }