# 查询云esim卡片订购记录

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/cloudesim/pkg/record/list:
    post:
      summary: 查询云esim卡片订购记录
      deprecated: false
      description: 查询云esim卡片订购记录
      tags:
        - API接口/CloudESIM
        - 国内
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              title: ''
              type: object
              properties:
                appkey:
                  type: string
                  default: '{{APPKEY}}'
                  description: >-
                    appkey平台用以确定客户端应用的身份。应用键对应一个密钥 secret。要基于服务平台开发应用，必须事先通过申请获取
                    appkey/secret 后，才能进行应用的开发。
                  x-apifox-mock: '{{APPKEY}}'
                timestamp:
                  type: integer
                  description: 当前时间戳，10位数字
                  x-apifox-mock: '{{TIMESTAMP}}'
                nonce:
                  type: integer
                  minimum: 10000
                  maximum: 99999
                  description: |
                    5位随机正整数
                sign:
                  type: string
                  description: 签名串，请求参数的签名，服务平台通过它验证请求数据的合法性。
                  x-apifox-mock: '{{SIGN}}'
                eid:
                  type: string
                  description: eid卡号
                createDateStart:
                  type: string
                  description: 订购开始时间，时间格式2024-07-15 16:28:06
                createDateEnd:
                  type: string
                  description: 订购结束时间，时间格式2024-07-15 16:28:06
                updateDateStart:
                  type: string
                  description: 数据更新开始时间，时间格式2024-07-15 16:28:06
                updateDateEnd:
                  type: string
                  description: 数据更新结束时间，时间格式2024-07-15 16:28:06
                orderIdArrStr:
                  type: string
                  description: 订单 id组字符串。例如 10004996,10004200
                page:
                  type: integer
                  description: 页码。从1开始
                pageSize:
                  type: integer
                  description: 页大小，默认500，最大1000
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
                - createDateStart
                - createDateEnd
                - updateDateStart
                - updateDateEnd
                - orderIdArrStr
                - page
                - pageSize
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
            example: |-
              {
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 49890,
                  "sign": "{{SIGN}}",
                  "eid": "35060000000000000024000032688148",
                  "createDateStart": "2025-12-02 15:05:35",
                  "updateDateStart": "2025-12-02 15:05:35",
                  "page": 1,
                  "pageSize": 10
              }
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: 200：表示成功其他失败
                    title: 状态码
                  message:
                    type: string
                    description: 成功或失败原因
                    title: 原因
                  data:
                    type: object
                    properties:
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            eid:
                              type: string
                              title: iccid卡号
                            packageCode:
                              type: string
                              title: 套餐编码
                              description: 套餐编码
                            packageType:
                              type: integer
                              title: 套餐类型
                              description: 2 限量流量包 3 限时流量包 4 限时限速包
                            packageName:
                              type: string
                              description: 套餐名称
                              title: 套餐名称
                            orderId:
                              type: integer
                              title: 将弃用
                              description: 内部订单号
                              deprecated: true
                            gzhPackageName:
                              type: string
                              title: 商品套餐自定义名称
                              description: 商品套餐自定义名称
                            state:
                              type: integer
                              title: 套餐使用状态
                              description: 0:待使用 1:使用中 2:已完成
                            price:
                              type: number
                              title: 订购价格
                              description: 订购价格,浮点数
                              format: float64
                            currency:
                              type: string
                              title: 支付币种
                              description: 支付币种
                            createDate:
                              type: string
                              title: 订购时间
                              description: 订购时间
                            startDate:
                              type: string
                              title: 套餐开始时间
                              description: 套餐开始时间
                            endDate:
                              type: string
                              title: 套餐结束时间
                              description: 套餐结束时间
                            totalActive:
                              type: integer
                              title: 激活有效时长数量
                              description: 激活有效时长数量
                            periodType:
                              type: integer
                              title: 激活有效期类型
                              description: 1:月 2:天
                            flowTotalBytes:
                              type: integer
                              title: 流量总量
                              description: 单位Bytes
                            flowRemainBytes:
                              type: integer
                              title: ' 流量剩余'
                              description: 单位Bytes
                            renew:
                              type: integer
                              title: 续订类型
                              description: 0 正常订单 1续订订单
                            isRefund:
                              type: integer
                              title: 是否退订
                              description: 0 未退订 1 已退订
                            eshopOrderId:
                              type: integer
                              description: 内部订单号
                              title: 内部订单号
                          required:
                            - eid
                            - packageType
                            - packageName
                            - packageCode
                            - orderId
                            - gzhPackageName
                            - state
                            - price
                            - currency
                            - createDate
                            - startDate
                            - endDate
                            - totalActive
                            - periodType
                            - flowTotalBytes
                            - flowRemainBytes
                            - renew
                            - isRefund
                            - eshopOrderId
                          x-apifox-orders:
                            - eid
                            - orderId
                            - eshopOrderId
                            - packageName
                            - packageCode
                            - packageType
                            - gzhPackageName
                            - state
                            - price
                            - currency
                            - createDate
                            - startDate
                            - endDate
                            - totalActive
                            - periodType
                            - flowTotalBytes
                            - flowRemainBytes
                            - renew
                            - isRefund
                        description: 卡信息详情列表集合
                      total:
                        type: integer
                        description: 总数
                    required:
                      - list
                      - total
                    x-apifox-orders:
                      - list
                      - total
                    description: |
                      返回数据
                    title: ''
                required:
                  - code
                  - message
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: '91'
                message: Excepteur aliqua cupidatat consequat mollit
                data:
                  list:
                    - eid: '35'
                      orderId: 24
                      packageName: 牢欣怡
                      packageCode: '78'
                      packageType: 68
                      gzhPackageName: 周奕泽
                      state: 77
                      price: 45.79
                      currency: do nulla pariatur et
                      createDate: '2025-10-20'
                      startDate: '2026-04-01'
                      endDate: '2026-09-24'
                      totalActive: 38
                      periodType: 56
                      flowTotalBytes: 85
                      flowRemainBytes: 4
                      renew: 1
                      isRefund: 1
                  total: 30
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/CloudESIM
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-359350624-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
