# 获取池套餐记录

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/pool/record/list:
    post:
      summary: 获取池套餐记录
      deprecated: false
      description: 获取池套餐记录
      tags:
        - API接口/池
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                appkey:
                  type: string
                  description: >-
                    appkey平台用以确定客户端应用的身份。应用键对应一个密钥 secret。要基于服务平台开发应用，必须事先通过申请获取
                    appkey/secret 后，才能进行应用的开发。
                timestamp:
                  type: integer
                  description: 当前时间戳，10位数字
                nonce:
                  type: integer
                  description: |
                    5位随机正整数
                sign:
                  type: string
                  description: 签名串，请求参数的签名，服务平台通过它验证请求数据的合法性。
                pool_object_id:
                  type: integer
                  description: 池对象id
                order_no_arr:
                  type: string
                  description: order_no 数组。用逗号分隔
                out_trade_no_arr:
                  type: string
                  description: out_trade_no 数组。用逗号分隔
                pool_type_code_arr:
                  type: string
                  description: pool_type_code 数组。用逗号分隔
                status_code_arr:
                  type: string
                  description: status_code 数组。用逗号分隔
                create_at_start:
                  type: integer
                  description: 创建开始时间
                create_at_end:
                  type: integer
                  description: 创建结束时间
                active_timestamp_start:
                  type: integer
                  description: 激活开始时间
                active_timestamp_end:
                  type: integer
                  description: 激活结束时间
                expire_timestamp_start:
                  type: integer
                  description: 过期开始时间
                expire_timestamp_end:
                  type: integer
                  description: 过期结束时间
                page:
                  type: integer
                  description: 页面。从1开始
                page_size:
                  type: integer
                  description: 页面大小。最大1000
              x-apifox-orders:
                - 01KDS33G78WBNBMN3G59GGNM3H
                - pool_object_id
                - order_no_arr
                - out_trade_no_arr
                - pool_type_code_arr
                - status_code_arr
                - create_at_start
                - create_at_end
                - active_timestamp_start
                - active_timestamp_end
                - expire_timestamp_start
                - expire_timestamp_end
                - page
                - page_size
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - pool_object_id
                - page
                - page_size
              x-apifox-refs:
                01KDS33G78WBNBMN3G59GGNM3H:
                  $ref: '#/components/schemas/oapi_base_req%20CN'
              x-apifox-ignore-properties:
                - appkey
                - timestamp
                - nonce
                - sign
            example:
              appkey: '{{APPKEY}}'
              timestamp: '{{TIMESTAMP}}'
              nonce: 95977
              sign: '{{SIGN}}'
              pool_object_id: 387
              page: 1
              page_size: 10
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: |
                      200：表示成功其他失败
                  message:
                    type: string
                    description: |
                      成功或失败原因
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            pool_record_id:
                              type: integer
                              description: 池纪录 id
                            order_no:
                              type: string
                              description: 订单号
                            out_trade_no:
                              type: string
                              description: |+
                                API调用方传入的唯一订单号标识 最大32位

                            pool_type_code:
                              type: string
                              description: 池类型代码
                            status_code:
                              type: integer
                              description: '状态码。0: init， 1：已分配，2：待激活，3：已激活，<0：无效'
                            expire_timestamp:
                              type: integer
                              description: 到期时间戳。单位：秒
                            active_timestamp:
                              type: integer
                              description: 激活时间戳。单位：秒
                            total:
                              type: integer
                              description: 总流量，单位：bytes
                            used:
                              type: integer
                              description: 剩余流量，以字节为单位
                            create_at:
                              type: integer
                              description: 创建时间戳
                          x-apifox-orders:
                            - pool_record_id
                            - order_no
                            - out_trade_no
                            - pool_type_code
                            - status_code
                            - expire_timestamp
                            - active_timestamp
                            - total
                            - used
                            - create_at
                          required:
                            - pool_record_id
                            - order_no
                            - out_trade_no
                            - pool_type_code
                            - status_code
                            - expire_timestamp
                            - active_timestamp
                            - total
                            - used
                            - create_at
                          x-apifox-ignore-properties: []
                    x-apifox-orders:
                      - list
                    description: |
                      响应数据
                    required:
                      - list
                    x-apifox-ignore-properties: []
                x-apifox-orders:
                  - code
                  - message
                  - data
                required:
                  - code
                  - message
                  - data
                x-apifox-refs: {}
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/池
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-399122602-run
components:
  schemas:
    oapi_base_req CN:
      type: object
      properties:
        appkey:
          type: string
          description: >-
            appkey平台用以确定客户端应用的身份。应用键对应一个密钥 secret。要基于服务平台开发应用，必须事先通过申请获取
            appkey/secret 后，才能进行应用的开发。
        timestamp:
          type: integer
          description: 当前时间戳，10位数字
        nonce:
          type: integer
          description: |
            5位随机正整数
        sign:
          type: string
          description: 签名串，请求参数的签名，服务平台通过它验证请求数据的合法性。
      x-apifox-orders:
        - appkey
        - timestamp
        - nonce
        - sign
      required:
        - appkey
        - timestamp
        - nonce
        - sign
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
