可预约时段列表.md 3.13 KB

可预约时段列表

OpenAPI Specification

openapi: 3.0.1
info:
  title: ''
  version: 1.0.0
paths:
  /srv/:
    get:
      summary: 可预约时段列表
      deprecated: false
      description: ''
      tags:
        - 西园寺预约
      parameters:
        - name: f
          in: query
          description: ''
          required: true
          example: reserve
          schema:
            type: string
        - name: a
          in: query
          description: ''
          required: true
          example: api
          schema:
            type: string
        - name: t
          in: query
          description: ''
          required: true
          example: can_reserve_time_list
          schema:
            type: string
        - name: client_name
          in: query
          description: 主体客户名称,测试环境和正式环境保持一致
          required: true
          example: 西园寺
          schema:
            type: string
        - name: month_date
          in: query
          description: 日期,格式yyyy-mm-dd
          required: true
          example: '2024-01-17'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        month_date:
                          type: string
                          title: 日期
                        begin_time:
                          type: string
                          title: 时段起始时间
                        end_time:
                          type: string
                          title: 时段结束时间
                        price:
                          type: string
                          title: 价格
                        rest_qty:
                          type: string
                          title: 余量
                          description: 说明: >0表示有余量,可约;=0表示没有余量,约满不可约;<0表示不限,无需续约;
                      x-apifox-orders:
                        - month_date
                        - begin_time
                        - end_time
                        - price
                        - rest_qty
                required:
                  - code
                  - msg
                  - data
                x-apifox-orders:
                  - code
                  - msg
                  - data
          headers: {}
          x-apifox-name: 成功
          x-apifox-ordering: 0
      security: []
      x-apifox-folder: 西园寺预约
      x-apifox-status: tested
      x-run-in-apifox: https://app.apifox.com/web/project/1753326/apis/api-140900863-run
components:
  schemas: {}
  responses: {}
  securitySchemes: {}
servers:
  - url: https://oa.jcedu.org
    description: 西园
security: []