weather-api
  1. 用户端接口
weather-api
  • 用户端接口
    • index-用户登录
      POST
    • 报价-创建保障报价
      POST
    • 报价-接受报价
      POST
    • 订单-查询当前用户的订单分页列表
      GET
    • 订单-获取当前用户订单详情
      GET
    • 订单-检查订单是否可取消
      POST
    • 订单-取消订单发送验证码
      POST
    • 订单-取消订单
      POST
  1. 用户端接口

订单-获取当前用户订单详情

GET
/app/order/self/{id}

请求参数

Path 参数
id
string 
Id
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/app/order/self/'

返回响应

🟢200成功
application/json
Successful Response
Body
code
integer 
Code
必需
message
string 
Message
必需
success
boolean 
Success
必需
data
object (OrderVO) 
必需
userId
Userid
可选
用户id
code
Code
可选
订单编号
type
Type
可选
订单类型
insuranceQuoteId
Insurancequoteid
可选
关联id(InsuranceQuoteId)
price
Price
可选
订单金额
status
Status
可选
订单状态
reimburseStatus
Reimbursestatus
可选
报销状态
title
Title
可选
标题
name
Name
可选
姓名
phone
Phone
可选
手机号
expireAt
Expireat
可选
订单过期时间
completeTime
Completetime
可选
订单完成时间
paidPaymentCode
Paidpaymentcode
可选
支付流水号
paidPrice
Paidprice
可选
支付金额
paidMethod
Paidmethod
可选
支付类型
refundStatus
Refundstatus
可选
退款状态
refundReason
Refundreason
可选
退款审核理由
refundRemark
Refundremark
可选
用户退款备注
id
Id
可选
ID
createdAt
Createdat
可选
创建时间
updatedAt
Updatedat
可选
更新时间
insuranceQuote
保单信息
可选
compensation
賠付信息
可选
paymentUrl
Paymenturl
可选
支付链接
isCanCancel
boolean 
Iscancancel
可选
是否能取消
默认值:
false
statusLabel
string 
Statuslabel
可选
订单状态标签
summaryStatus
Summarystatus
可选
汇总状态
summaryStatusLabel
Summarystatuslabel
可选
汇总状态标签
示例
{
    "code": 0,
    "message": "string",
    "success": true,
    "data": {
        "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
        "code": "string",
        "type": "INSURANCE",
        "insuranceQuoteId": "af4627b3-d8d9-455d-be28-77c687c051e5",
        "price": "string",
        "status": "UNPAID",
        "reimburseStatus": "OBSERVING",
        "title": "string",
        "name": "string",
        "phone": "string",
        "expireAt": "2019-08-24T14:15:22Z",
        "completeTime": "2019-08-24T14:15:22Z",
        "paidPaymentCode": "string",
        "paidPrice": "string",
        "paidMethod": "TEST_MODE",
        "refundStatus": "INIT",
        "refundReason": "string",
        "refundRemark": "string",
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "insuranceQuote": {
            "quote_code": "string",
            "latitude": 0,
            "longitude": 0,
            "landmarkName": "string",
            "coverageStartAt": "2019-08-24T14:15:22Z",
            "coverageEndAt": "2019-08-24T14:15:22Z",
            "bookingTotalAmount": "string",
            "bookingDailyAmount": "string",
            "days_count": 0,
            "externalId": "string",
            "wholesalePrice": "string",
            "suggestedPrice": "string",
            "maxCompensationAmount": "string",
            "rainCompensationHours": "string",
            "rainCompensationAmount": "string",
            "expireAt": "2019-08-24T14:15:22Z",
            "quoteType": "UNIFRED",
            "quoteStatus": "CREATED",
            "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
            "userName": "string",
            "phone": "string",
            "email": "string",
            "acceptAt": "2019-08-24T14:15:22Z",
            "paidAt": "2019-08-24T14:15:22Z",
            "quotableDays": 0,
            "originalData": {},
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "details": [
                {
                    "insurance_quote_id": "e60c0056-7f7c-4cbb-89b0-718e6609f3ba",
                    "quote_id": "string",
                    "date": "2019-08-24T14:15:22Z",
                    "premium": "string",
                    "premium_rate": "string",
                    "payout_condition": "string",
                    "risk_level": "string",
                    "risk_score": "string",
                    "is_quotable": true,
                    "hourly_max": [
                        null
                    ],
                    "reason": "string",
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "createdAt": "2019-08-24T14:15:22Z",
                    "updatedAt": "2019-08-24T14:15:22Z"
                }
            ]
        },
        "compensation": {
            "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
            "insuranceQuoteId": "af4627b3-d8d9-455d-be28-77c687c051e5",
            "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
            "userName": "string",
            "phone": "string",
            "email": "string",
            "latitude": 0,
            "longitude": 0,
            "landmarkName": "string",
            "coverageStartAt": "2019-08-24T14:15:22Z",
            "coverageEndAt": "2019-08-24T14:15:22Z",
            "daysCount": 0,
            "totalPayoutAmount": "string",
            "payoutReceivedAmount": "string",
            "triggerStatus": "NOT",
            "payoutStatus": "NOT",
            "reviewStatus": "NOT",
            "reviewAt": "2019-08-24T14:15:22Z",
            "payoutAt": "2019-08-24T14:15:22Z",
            "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "details": [
                {
                    "orderCompensationId": "47a9a473-0f5f-482f-9052-07438f4fc0b2",
                    "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
                    "coverageDate": "2019-08-24",
                    "nearestLatitude": 0,
                    "nearestLongitude": 0,
                    "nearestDistanceKm": 0,
                    "hourlyPrecipitation": [
                        0
                    ],
                    "dailyTriggerAt": "2019-08-24T14:15:22Z",
                    "dailyTriggerStatus": "NOT_TRIGGERED",
                    "dailyReviewStatus": "NO_REQUIRED",
                    "dailyPayoutStatus": "NO_REQUIRED",
                    "reviewAt": "2019-08-24T14:15:22Z",
                    "dailyUnpayableReason": "string",
                    "dailyPayoutAt": "2019-08-24T14:15:22Z",
                    "isPayoutReceived": true,
                    "payoutReceivedAt": "2019-08-24T14:15:22Z",
                    "insuranceQuoteDetailId": "f601cfc3-fb3b-4cc6-a00e-b4c76a74dc53",
                    "insuranceQuoteId": "af4627b3-d8d9-455d-be28-77c687c051e5",
                    "dailyPrice": "string",
                    "insuranceAmount": "string",
                    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
                    "payoutCondition": "string",
                    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                    "createdAt": "2019-08-24T14:15:22Z",
                    "updatedAt": "2019-08-24T14:15:22Z",
                    "dailyReviewStatusLabel": "string",
                    "dailyTriggerStatusLabel": "string",
                    "dailyPayoutStatusLabel": "string"
                }
            ],
            "summaryStatusStr": "string",
            "summaryStatusLabel": "string"
        },
        "paymentUrl": "string",
        "isCanCancel": false,
        "statusLabel": "string",
        "summaryStatus": "UNPAID",
        "summaryStatusLabel": "string"
    }
}
🟠422参数错误
修改于 2025-07-04 14:06:05
上一页
订单-查询当前用户的订单分页列表
下一页
订单-检查订单是否可取消
Built with