接口文档

2、报案概要信息查询(根据客户号)

http请求方式: get
http(s)://*/reportApi/getTelClientReportByClientNo

入参说明

参数名称 是否必须 字段类型 参数说明
clientNo string 报案号

出参说明

参数名称 字段类型 参数说明
reporter string 报案人姓名
caseTimes string 赔付次数
reportNo string 报案号
caseStatus string 案件状态
clientName string 被保险人
reportDate string 报案日期(2017-11-11 12:12:12)
accidentPlace string 事故地点
accidentDate string 事故日期(2017-11-11 12:12:12)

返回结果 正确的Json返回结果:

{
"code": "000000",
"data": [
    {
        "accidentDate": "2015-09-28 18:49:25",
        "accidentPlace": "广东省-深圳市-福田区-八卦三路",
        "caseStatus": "0",
        "caseTimes": "1",
        "clientName": "姜友瑶",
        "reportDate": "2006-07-07 14:30:07",
        "reportNo": "RNO20170830",
        "reporter": "杨文华"
    },
    {
        "accidentDate": "2015-09-28 18:49:25",
        "accidentPlace": "广东省-深圳市-福田区-八卦三路",
        "caseStatus": "0",
        "caseTimes": "2",
        "clientName": "姜友瑶",
        "reportDate": "2006-07-07 14:30:07",
        "reportNo": "RNO20170830",
        "reporter": "杨文华"
    },
    {
        "accidentDate": "2015-09-28 18:49:25",
        "accidentPlace": "广东省-深圳市-福田区-八卦三路",
        "caseStatus": "0",
        "caseTimes": "1",
        "clientName": "张三百三十五",
        "reportDate": "2006-07-07 14:30:07",
        "reportNo": "RNO20170830",
        "reporter": "杨文华"
    },
    {
        "accidentDate": "2015-09-28 18:49:25",
        "accidentPlace": "广东省-深圳市-福田区-八卦三路",
        "caseStatus": "0",
        "caseTimes": "2",
        "clientName": "张三百三十五",
        "reportDate": "2006-07-07 14:30:07",
        "reportNo": "RNO20170830",
        "reporter": "杨文华"
    }
]
}

3、查询报案信息(根据报案号)

http请求方式: get
http(s)://*/report/getTelDetailsByReportNo

入参说明

参数名称 是否必须 字段类型 参数说明
reportNo string 报案号

出参说明

参数名称 字段类型 参数说明
reportType string 1报案类型
accidentDetail string 2事故经过
clientStatusDescription string 3事故者现状
caseStatus string 4案件状态
accidentPersonName string 5事故者姓名
diedDate string 6身故日期(2017-11-11 12:12:12)
accidentPlace string 7事故地点
accidentDate string 8事故日期(2017-11-11 12:12:12)
clientNo String 9客户号
reportPersonName String 10报案人姓名
whetherOutSideAccident String 11是否境外出险,Y是,N否
clientName String 12事故者姓名
whetherSms String 13受理短信,Y/N
reportPersonMobile String 14报案人手机号码
reportDate string 15报案日期(2017-11-11 12:12:12)
accidentCauseType String 16重大灾害类型
reportPersonType String 17报案人类型
bankName String 18银行名称
bankCode String 19银行代码
reportPersonConPhone String 20联系手机
isAutoClaim String 21是否符合自助理赔,“Y/N“
reportBooker String 22报案登记人
reportPersonTypeDescription String 23报案人类型描述
departmentCode String 24机构代码
comment String 25备注信息
bankAccount String 26银行账号

返回结果 正确的Json返回结果:

{
"code": "000000",
"data": {
    "accidentCauseType": "0201",
    "accidentDate": "2017-08-01 00:00:00",
    "accidentDetail": "xxxxxxx",
    "accidentPersonName": "张三百三十五",
    "accidentPlace": "深圳XXX",
    "bankAccount": "122",
    "bankCode": "222",
    "bankName": "222名称",
    "caseStatus": "0",
    "clientName": "张三百三十五",
    "clientNo": "P00396853642",
    "clientStatusDescription": "4",
    "comment": "没有啥备注,你想多了",
    "departmentCode": "203",
    "diedDate": "2017-12-29 17:00:00",
    "isAutoClaim": "Y",
    "reportBooker": "123",
    "reportDate": "2017-09-11 05:58:54",
    "reportPersonConPhone": "13552366325",
    "reportPersonMobile": "13552366325",
    "reportPersonName": "123",
    "reportPersonType": "PR_2001",
    "reportPersonTypeDescription": "PR_2001",
    "reportType": "2",
    "whetherOutSideAccident": "Y",
    "whetherSms": "Y"
    }
}

4、查询客户信息(根据报案号)

http请求方式: get
http(s)://*/report/getTelClientByReportNo

入参说明

参数名称 是否必须 字段类型 参数说明
reportNo string 报案号

出参说明

参数名称 字段类型 参数说明
insurantName string 被保险人
birthday string 生日(1986-07-12)
sex string 性别(M/F)
certificateNo string 证件号码
certificateType string 证件类型
clientNo String 客户号
departmentCode string 机构代码

返回结果 正确的Json返回结果:

{
"code": "000000",
"data": [
    {
        "birthday": "1972-06-23",
        "certificateNo": "43242719720623719X",
        "certificateType": "身份证",
        "clientNo": "P00396853642",
        "departmentCode": "2241512",
        "insurantName": "张三百三十五",
        "sex": "男"
    }
]

}

6、查询24小时内是否重复报案

http请求方式: get
http(s)://*/report/checkReportIsRepeat

入参说明

参数名称 是否必须 字段类型 参数说明
accidentDate string 报案时间
clientNo string 客户号

出参说明

参数名称 字段类型 参数说明
code string 状态码
data string 如果重复报案则返回报案号

返回结果 正确的Json返回结果:

{
"code": "000000",
"data": {
    "isRepeatReportFlag": "N",
    "reportNo": "null"
}
}

8、报案(正常)

http请求方式: post
http(s):/reportApi/saveTelReportInfo

参数说明

参数名称 是否必须 字段类型 参数说明
clientNo string 产险客户号
reportPersonType string 报案人类型
reportPersonName string 报案人姓名
reportDate string 报案日期
accidentDate string 事故日期
accidentPersonName string 事故者姓名(被保险人)
accidentStatus string 事故者现状
callNo string 来电号码
userId string 用户Id
comment string 备注
caseType string 案件类型
accidentCity string 城市Code
reportNo string 报案号
reportPersonConPhone string 报案人联系电话
accidentPlace string 事故地点
accidentDetail string 事故描述(事故经过)
howPeople string 人伤数量
thisCarLicense string 本车车牌
driveName string 驾驶员姓名
driveSex string 驾驶员身份证号码
driveCardId string 驾驶员性别
whetherOutSideAccident string 是否境外出险
trafficAccident string 交通事故类型
isAutoClaim string 是否自助理赔
diedDate string 身故日期
whetherSms string 受理短信
treatCondition string 治疗情况(未治疗/治疗中/  治疗结束)
treatType string 治疗方式(门诊/住院)
costEstimate string 费用预估
diedStatus string 身故者状态
diedCause string 死亡原因

返回结果 正确的Json返回结果:

{       
    "code": 0
    "data": "123156130"(成功会返回报案号)
}

17、查询意健险理赔历史报案信息(根据保单号和客户号)

http请求方式: get
http(s)://*/report/getTelHistoryReportByPolicyNoAndClientNo

入参说明

参数名称 是否必须 字段类型 参数说明
policyNo string 保单号
clientNo string 客户号

出参说明

参数名称 字段类型 参数说明
reporter string 报案人
reporterTelephone string 报案人电话
caseTimes string 赔付次数
reportNo string 报案号
personnelName string 被保险人
reportDate string 报案时间(2017-11-11 15:15:15:)
accidentPlace string 出险地点
accidentDate string 出险时间(2017-11-11 15:15:15:)

返回结果 正确的Json返回结果:

{       
    "code": "000000",
    "data": {
        "pager": {
        "totalRows": 67,
        "pageRows": 2,
        "pageIndex": 1,
        "totalPages": 34,
        "currPageRows": 2,
        "hasPrevPage": false,
        "hasNextPage": true,
        "defaultPageRows": 20
},
    "list": [
    {
        "reporter": "123",
        "reporterCallNo": "13552366325",
        "caseTimes": "1",
        "reportNo": "90300004100000039572",
        "personnelName": "张三百三十五",
        "reportDate": "2017-09-11 05:58:54",
        "accidentPlace": "深圳XXX",
        "accidentDate": "2017-08-01 00:00:00"
    },
    {
        "reporter": "123",
        "reporterCallNo": "13552366325",
        "caseTimes": "1",
        "reportNo": "90300004100000039572",
        "personnelName": "张三百三十五",
        "reportDate": "2017-09-11 05:58:54",
        "accidentPlace": "深圳XXX",
        "accidentDate": "2017-08-01 00:00:00"
    }
        ]
    }
}

猜你喜欢

转载自my.oschina.net/u/2356637/blog/1545793