获取质保索赔信息,根据主键id
#### 简要描述:
- 获取质保索赔信息,根据唯一标识
#### 接口版本:
|版本号|制定人|制定日期|修订日期|
|:---- |:---|:----- |----- |
|1.0.0 |张玉龙 |2020-12-02 |2020-12-02 |
#### 请求URL:
- http://ip:port/semi-api/warranty/getWarrantyById
#### 请求方式:
- GET
#### 请求头:
|参数名|是否必须|类型|说明|
|:---- |:---|:----- |----- |
|Content-Type |是 |string |请求类型: application/json |
#### 请求示例:
```json
?id=90
```
#### 请求参数:
| 参数名称 | 参数类型 | 备注 | 是否必须|
| ------------ | ------------ | ------------ | ------------ |
|id|string|唯一标识| 否|
#### 返回示例:
**正确时返回:**
```json
{
"msg": "操作成功",
"code": 200,
"data": {
"acreage": 122.00,
"applyStatus": "101",
"approver": "",
"carBrand": "奥迪",
"carOwnerName": "测试客户",
"carType": "A6",
"claimFileUrlList": [
"/sss/sss",
"/aaa/aaa"
],
"claimNo": "2033714912200003",
"commencementDate": null,
"confirmedDate": null,
"constructionOrganization": "",
"createTime": "2020-12-02 14:49:37",
"dealerCode": "JXS00022",
"dealerName": "滴答滴答",
"deliveryDate": "2020-11-30 00:00:00",
"id": 90,
"insuranceDeadline": 0,
"licensePlateNumber": "京A676878",
"mobile": "18811110000",
"modificationCount": 0,
"operatingPersonnel": "user",
"page": 1,
"productCode": "PW1004",
"productEnglishName": "dian guang xi lie",
"productLine": "电光系列",
"productName": "电光哈哈哈4",
"productNo": "123323232323",
"reasonApplying": "哈哈哈哈哈哈是是是",
"remark": "",
"returnReason": "",
"rows": 10,
"updateTime": "2020-12-02 14:49:37",
"userId": 2,
"vehicleIdentificationNumber": "1232323232131",
"warrantyFile": null,
"warrantyNo": "2033517561400001",
"warrantyStatus": "",
"warrantyType": "102"
}
}
```
**错误时返回:**
```json
{
"msg": "请求失败",
"code": -200,
"data": {}
}
```
#### 返回参数(通用参数)说明:
|参数名|是否必须|类型|说明|
|:---- |:---|:----- |----- |
|code|是 |string | 200 成功 其他失败 |
|msg|是 |string |成功或失败消息内容 |
|data|是 |string | 真实参数 |
#### 返回参数(data)说明:
| 参数名称 | 参数类型 | 示例值 | 备注 |
| ------------ | ------------ | ------------ | ------------ |
|acreage|number|0|索赔产品面积 |
|applyStatus|string||索赔申请状态 <br> 101 申请中 <br> 102 申请成功 <br> 103 失败 |
|approver|string||审批人 |
|carBrand|string|奥迪|车辆品牌 |
|carOwnerName|string|测试客户| 车主姓名|
|carType|string|A6| 车型名称|
|claimFileUrlList|array|| 索赔文件集合|
|claimNo|string|| 索赔单编码|
|commencementDate|object|null|施工日期 |
|confirmedDate|object|null|起保日期 |
|constructionOrganization|string||施工门店 |
|createTime|string|2020-11-30 17:06:47|创建时间 |
|dealerCode|string|JXS00022|经销商编码 |
|dealerName|string|滴答滴答|经销商名称 |
|deliveryDate|string|2020-11-30 00:00:00|交车日期 |
|id|number|86|唯一标识 |
|insuranceDeadline|number|0| 保期|
|licensePlateNumber|string|京A676878| 车牌|
|mobile|string|18811110000| 车主电话|
|modificationCount|number|0| 修改次数|
|operatingPersonnel|string|user|操作人员 |
|productCode|string|PW1004| 产品编码|
|productEnglishName|string|dian guang xi lie|产品英文名 |
|productLine|string|电光系列|产品系列 |
|productName|string|电光哈哈哈4| 产品名称|
|productNo|string|123323232323|产品唯一编码 |
|reasonApplying|string||索赔申请原因 |
|remark|string||备注 |
|returnReason|string||退回 |
|updateTime|string|2020-11-30 17:06:47| 更新时间|
|userId|number|2| 用户id|
|vehicleIdentificationNumber|string|1232323232131|车架号 |
|warrantyFile|object|null| 质保图片对象|
|warrantyNo|string|2033517561400001|质保单编号 |
|warrantyStatus|string|| 质保状态|
|warrantyType|string|101| 申请类型 <br>101 质保申请 <br>102 索赔申请|
#### 请求参数: warrantyFile 对象
| 参数名称 | 参数类型 | 是否必传 | 备注 |
| ------------ | ------------ | ------------ | ------------ |
|constructionFlank|string|是| 施工前(正面)|
|constructionFlank45|string|是| 施工后(斜侧45度)|
|constructionFront|string|是|施工后(正面) |
|constructionFthreeFourths|string|是| 施工后(四分之三侧面)|
|constructionRear|string|是|施工后(后面) |
|drivingLicense|string|是| 行驶证|
|label|string|是| 包装标签|
|preconstructionFront|string|是|施工前(正面) |