1. 工单
workorder
  • 地址
    • 地址-添加
      POST
    • 地址-删除
      DELETE
    • 地址-列表
      POST
  • 任务
    • 任务-添加
      POST
    • 任务-删除
      DELETE
    • 任务-列表
      POST
  • 日志
    • 工单-日志
      POST
  • 工单
    • 订阅通知
      GET
    • 工单-添加
      POST
    • 工单-开始
      POST
    • 工单-列表
      POST
    • 工单-获取
      GET
    • 工单-更新
      PUT
    • 工单-删除
      DELETE
  • 数据模型
    • Schemas
    • base.JsonPageInfoReply
    • base.OrderStatus
    • base.WorkerType
    • handles.JonsUpdateOrderReply
    • handles.JonsUpdateOrderRequest
    • handles.JsonAddAddressPayload
    • handles.JsonAddAddressReply
    • handles.JsonAddAddressRequest
    • handles.JsonAddOrderPayload
    • handles.JsonAddOrderReply
    • handles.JsonAddOrderRequest
    • handles.JsonAddTaskPayload
    • handles.JsonAddTaskReply
    • handles.JsonAddTaskRequest
    • handles.JsonDelAddressReply
    • handles.JsonDelOrderReply
    • handles.JsonDelTaskReply
    • handles.JsonGetOrderPayload
    • handles.JsonGetOrderReply
    • handles.JsonJob
    • handles.JsonJobInfo
    • handles.JsonListAddressFilter
    • handles.JsonListAddressPayload
    • handles.JsonListAddressReply
    • handles.JsonListAddressRequest
    • handles.JsonListOrderFilter
    • handles.JsonListOrderPayload
    • handles.JsonListOrderReply
    • handles.JsonListOrderRequest
    • handles.JsonListTaskFilter
    • handles.JsonListTaskPayload
    • handles.JsonListTaskReply
    • handles.JsonListTaskRequest
    • handles.JsonOrderLog
    • handles.JsonOrderLogReply
    • handles.JsonOrderLogRequest
    • handles.JsonSubscribe
    • handles.JsonSubscribePayload
    • handles.JsonWorker
    • handles.JsonWorkerFilter
  1. 工单

工单-获取

GET
http://127.0.0.1/bvworkorder/v1/workorder/orders/{uid}
获取工单

请求参数

Path 参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://127.0.0.1/bvworkorder/v1/workorder/orders/?log=undefined' \
--header 'Authorization;'

返回响应

🟢200成功
application/json
ok
Bodyapplication/json

示例
{
    "code": 0,
    "msg": "string",
    "data": {
        "beginTime": 0,
        "orderNumber": "string",
        "uid": "string",
        "worker": {
            "id": "string",
            "type": "user",
            "name": "string"
        },
        "endTime": 0,
        "jobs": [
            {
                "job": {
                    "uid": "string",
                    "name": "string",
                    "content": "string",
                    "user_id": "string"
                },
                "address": {
                    "uid": "string",
                    "title": "string",
                    "address": "string",
                    "lng": 0,
                    "lat": 0,
                    "user_id": "string"
                },
                "jobComplete": true
            }
        ],
        "startType": 0,
        "name": "string",
        "status": "unknown",
        "assistUsers": [
            {
                "id": "string",
                "type": "user",
                "name": "string"
            }
        ],
        "address": {
            "uid": "string",
            "title": "string",
            "address": "string",
            "lng": 0,
            "lat": 0,
            "user_id": "string"
        },
        "orderLogs": [
            {
                "userId": "string",
                "userName": "string",
                "puId": "string",
                "puName": "string",
                "worker": {
                    "id": "string",
                    "type": "user",
                    "name": "string"
                },
                "time": 0,
                "content": "string",
                "address": "string",
                "lng": 0,
                "lat": 0,
                "jobInfo": {
                    "job": {
                        "uid": "string",
                        "name": "string",
                        "content": "string",
                        "user_id": "string"
                    },
                    "address": {
                        "uid": "string",
                        "title": "string",
                        "address": "string",
                        "lng": 0,
                        "lat": 0,
                        "user_id": "string"
                    },
                    "jobComplete": true
                },
                "images": [
                    "string"
                ],
                "videos": [
                    "string"
                ]
            }
        ]
    }
}
修改于 2026-04-16 06:53:50
上一页
工单-列表
下一页
工单-更新
Built with