1.用途

采用Post方式,请求参数为JSON格式

2.URL

http://124.223.60.234:8181/spartan/warranty/queryWarrantyReport

3.请求参数

3.1.参数示例

{
    "terminalId":"1957EE0C69614AB3B3AF2755103B0AB6"
}

3.2.参数说明

字段 类型 说明 是否必须
terminalId String 设备系统唯一标识 Y

4.返回参数

4.1.返回参数示例

{
    "code": 200,
    "message": "Operation succeeded",
    "data": [
        {
            "id": "4FA5CFD4239640AD85FFE654EF725954",
            "terminalId": "1957EE0C69614AB3B3AF2755103B0AB6",
            "purchasedThrough": "AWS",
            "firstName": "Mr",
            "lastName": "Wang",
            "phoneNum": "+86 13530991295",
            "userEmail": "daoxunchang@foxmail.com",
            "userId": "21",
            "street": "Gui wan 3 rd.",
            "city": "ShenZhen",
            "state": "CH",
            "zipCode": "315800",
            "purchaseDate": "2023-05-01 00:00:00",
            "fileURL": "[\"http://124.223.60.234:8888/warranty/D434BE79ACAF4BE38ABC7BFF441C420B.jpg\",\"http://124.223.60.234:8888/warranty/D434BE79ACAF4BE38ABC7BFF441C420B.jpg\"]",
            "status": 0,
            "handleTime": null,
            "createTime": "2023-06-20 06:08:41",
            "historyList": []
        }
    ]
}

4.2.返回参数说明

字段 类型 说明
code int 返回状态,详情参见“返回状态集”
message String 返回结果描述
data List 返回结果体,List集合
data说明
字段 类型 说明
id String 保修单记录的唯一标识
terminalId String 设备系统唯一标识
purchasedThrough String 购入地址
firstName String first Name
lastName String last Name
phoneNum String 联系电话
userEmail String 用户邮箱
userId String 用户ID
street String 街道
city String 城市
state String 州(美国的州)
zipCode String 邮编
purchaseDate String 购入日期
fileURL String 凭证文件,List集合转成JSON字符串传入
status int 当前状态(0:待处理;1:处理完成;2:已拒绝)
handleTime String 处理时间

5.测试示例

作者:admin  创建时间:2023-06-20 14:15
最后编辑:admin  更新时间:2024-06-13 09:41