向药店同步投保/续期结果
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| policyId | String | 必须 | 201413251345 | 保单 ID | |
| phone | String | 可选 | IPK3pFm-EXlzVmICrjs8CQ%3D%3D | 用户手机号密文(解密密钥另行给出) | |
| policyStatus | String | 必须 | INSURE_USED | 保单状态 INSURE_USED -> 购药单用于投保,CONTINUOUS_USED -> 购药单用于续期 | |
| instPayOrderId | String | 可选 | DG23452345 | 购药单号,发生合单投保时,多个购药单以英文逗号分隔 | |
| effectStartTime | String | 可选 | 2021-08-20 12:00:09 | 保单生效时间 | |
| effectEndTime | String | 可选 | 2022-08-20 12:00:09 | 保单失效时间 | |
| extras | String | 可选 | {"continuousCurInstallmentNo":3,"continuousExpectTime":"2021-12-20 12:00:09","continuousOverdueTime":"2021-12-20 12:00:09","insuredName":"7c73c5a83fa580b5d6f8208768adc931ef3123291ac8bc335a1277a39d256d9a", "insuredCertNo":"7c73c5a83fa580b5d6f8208768adc931ef3123291ac8bc335a1277a39d256d9a"} | JSON 字符串,continuousCurInstallmentNo -> 当前已续期的期数,continuousExpectTime -> 续期期望时间,continuousOverdueTime -> 最晚续期支付时间。敏感信息加密后传输 | |
| insuranceAgentName | String | 可选 | 众安保险 | 承保保司名称 | |
| insuredTime | String | 可选 | 2021-08-20 12:00:09 | 投保时间 | |
| requestId | String | 可选 | 100000111134324 | 请求幂等ID |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| errorMessage | String | 未知错误 | 错误消息 |
| errorCode | String | 0 | 错误码 |
| status | String | SUCCESS | 响应状态 |
| data | Boolean | true | 数据 |
{"instPayOrderId":"DG23452345","insuranceAgentName":"众安保险","policyId":"201413251345","effectStartTime":"2021-08-20 12:00:09","phone":"IPK3pFm-EXlzVmICrjs8CQ%3D%3D","requestId":"100000111134324","extras":"{\"continuousCurInstallmentNo\":3,\"continuousExpectTime\":\"2021-12-20 12:00:09\",\"continuousOverdueTime\":\"2021-12-20 12:00:09\",\"insuredName\":\"7c73c5a83fa580b5d6f8208768adc931ef3123291ac8bc335a1277a39d256d9a\", \"insuredCertNo\":\"7c73c5a83fa580b5d6f8208768adc931ef3123291ac8bc335a1277a39d256d9a\"}","effectEndTime":"2022-08-20 12:00:09","insuredTime":"2021-08-20 12:00:09","policyStatus":"INSURE_USED"}
{
"errorMessage":"未知错误",
"errorCode":"0",
"status":"SUCCESS",
"data":true
}
{"errorMessage":"Illegal request","errorCode":"不等于null","status":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|---|---|
| response-body-parse-error | ||
| isp.http-connection-timeout | ||
| isp.http-read-timeout | ||
| isp.http-closed |