# 获取工单池工单详情

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /comm-c2-repairsetting/task-detail/query-by-id:
    get:
      summary: 获取工单池工单详情
      deprecated: false
      description: ''
      operationId: queryTaskDetailById
      tags:
        - c2/报修管理/工单池
      parameters:
        - name: repair_id
          in: query
          description: 工单编号
          required: true
          example: 如:822023080257540003
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDetailGetJsonVO'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: c2/报修管理/工单池
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/6386631/apis/api-305863958-run
components:
  schemas:
    TaskDetailGetJsonVO:
      type: object
      properties:
        code:
          type: integer
          description: 状态码
          default: 10000
          minimum: -2147483648
          maximum: 2147483647
        message:
          type: string
          description: 提示信息
          default: success
        data:
          description: 数据对象
          $ref: '#/components/schemas/TaskDetailGetDTO'
      required:
        - code
        - message
      x-apifox-orders:
        - code
        - message
        - data
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    TaskDetailGetDTO:
      type: object
      properties:
        repairId:
          type: string
          description: 工单编号
        repairType:
          type: string
          description: 工单类型
        repairTypeTxt:
          type: string
          description: 工单类型文本
        repairName:
          type: string
          description: 报修人
        tel:
          type: string
          description: 联系方式
        repairObjName:
          type: string
          description: 报修位置名称
        appointmentTime:
          type: string
          description: 预约开始时间
        timeoutTime:
          type: string
          description: 预约超时时间
        time:
          type: string
          description: 提单时长
        completeTime:
          type: string
          description: 完成时间
        createTime:
          type: string
          description: 创建时间
        state:
          type: string
          description: 状态
        stateTxt:
          type: string
          description: 状态文本
        context:
          type: string
          description: 报修内容
      x-apifox-orders:
        - repairId
        - repairType
        - repairTypeTxt
        - repairName
        - tel
        - repairObjName
        - appointmentTime
        - timeoutTime
        - time
        - completeTime
        - createTime
        - state
        - stateTxt
        - context
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer_auth:
      type: jwt
      description: Default HTTP Bearer Authorization
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT
    Authorization:
      type: apikey
      name: Authorization
      in: header
servers: []
security: []

```
