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

订单-查询当前用户的订单分页列表

GET
/app/order/self/page

请求参数

Query 参数
page
integer 
Page
可选
默认值:
1
size
integer 
Size
可选
默认值:
20
keyword
Keyword
可选
Any of

示例代码

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/page'

返回响应

🟢200成功
application/json
Successful Response
Body
code
integer 
Code
必需
message
string 
Message
必需
success
boolean 
Success
必需
data
object (OrderPageResponse) 
必需
currentPage
integer 
Currentpage
必需
当前页码
>= 1
page
integer 
Page
必需
总页码
>= 1
total
integer 
Total
必需
总数量
>= 0
items
array[object (OrderVO) {28}] 
Items
可选
订单列表
示例
{
    "code": 0,
    "message": "string",
    "success": true,
    "data": {
        "currentPage": 1,
        "page": 1,
        "total": 0,
        "items": [
            {
                "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