# 查询账户下所有云esim卡片

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/cloudesim/list:
    post:
      summary: 查询账户下所有云esim卡片
      deprecated: false
      description: 查询账户下所有卡片、获取账号内全部卡片，每页500条数据
      tags:
        - API接口/CloudESIM
        - 国内
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              title: ''
              type: object
              properties:
                pageNum:
                  type: string
                  default: ''
                  enum:
                    - '1'
                  description: 分页页数，从1开始
                  x-apifox-enum:
                    - name: ''
                      value: '1'
                      description: ''
                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}}'
                pageSize:
                  type: integer
                  default: 500
                  description: 默认为500
                cardStatus:
                  type: string
                  description: >-
                    卡片状态

                    ACTIVATION_READY_NAME 可激活 NON_ACTIVATED_NAME 待激活
                    ACTIVATED_NAME 已激活 DEACTIVATED_NAME 已停用 RETIRED_NAME 已失效
                  x-apifox-mock: NON_ACTIVATED_NAME
                eids:
                  type: string
                  description: eid卡号，用，隔开
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
                - pageSize
                - cardStatus
                - eids
              required:
                - pageNum
                - appkey
                - timestamp
                - nonce
                - sign
            example: |-
              {
                  "pageNum": "1",
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 49890,
                  "sign": "{{SIGN}}",
                  "pageSize": 78
              }
      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:
                      cardInfoList:
                        type: array
                        items:
                          type: object
                          properties:
                            cardStatus:
                              type: string
                              description: >-
                                ACTIVATION_READY_NAME 可激活 NON_ACTIVATED_NAME 待激活
                                ACTIVATED_NAME 已激活 DEACTIVATED_NAME 已停用 
                                ACTIVATED_BASE 套餐停用卡仍可使用
                              title: 卡状态
                            activateDate:
                              type: string
                              title: ' 激活日期字符串'
                              description: ' 激活日期字符串'
                            packageEndDate:
                              type: string
                              description: 当前套餐到期日期
                              title: 当前套餐到期日期
                            eid:
                              type: string
                              title: eid卡号
                              description: eid卡号
                            currentPkgRemainBytes:
                              type: integer
                              description: 当前套餐剩余流量(Bytes)
                              title: 当前套餐剩余流量(Bytes)
                            currentPkgUsedBytes:
                              type: integer
                              title: 当前套餐已用流量(Bytes)
                              description: 当前套餐已用流量(Bytes)
                            currentPkgTotalBytes:
                              type: integer
                              description: 当前套餐流量总量单位(Bytes)
                              title: 当前套餐流量总量单位(Bytes)
                            totalFlowBytes:
                              type: integer
                              description: 卡片使用中和未使用套餐总流量单位Bytes
                              title: 卡片总流量单位Bytes
                            remainFlowBytes:
                              type: integer
                              title: 卡片总剩余可用流量单位Bytes
                              description: 卡片使用中和未使用套餐总剩余可用流量单位Bytes
                            productCode:
                              type: string
                              description: 产品编码
                              title: 产品编码
                            expectedEndDate:
                              type: string
                              title: 预期服务截止日期
                              description: 预期服务截止日期
                            packageCode:
                              type: string
                              title: 当前套餐编码
                              description: 当前套餐编码
                            packageType:
                              type: integer
                              title: 当前套餐类型
                              description: 2 限量流量包 3 限时流量包 4 限时限速包
                            packageName:
                              type: string
                              description: 套餐名称
                              title: 当前套餐名称
                          required:
                            - eid
                            - remainFlowBytes
                            - cardStatus
                            - currentPkgRemainBytes
                            - currentPkgUsedBytes
                            - totalFlowBytes
                            - productCode
                            - packageType
                            - packageName
                            - currentPkgTotalBytes
                            - packageCode
                          x-apifox-orders:
                            - eid
                            - activateDate
                            - cardStatus
                            - currentPkgRemainBytes
                            - currentPkgUsedBytes
                            - currentPkgTotalBytes
                            - totalFlowBytes
                            - remainFlowBytes
                            - expectedEndDate
                            - productCode
                            - packageEndDate
                            - packageCode
                            - packageType
                            - packageName
                        description: 卡信息详情列表集合
                      totalPage:
                        type: integer
                        description: 总页数
                    required:
                      - cardInfoList
                      - totalPage
                    x-apifox-orders:
                      - cardInfoList
                      - totalPage
                    description: |
                      返回数据
                    title: ''
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: '200'
                message: consectetur Excepteur irure tempor officia
                data:
                  cardInfoList:
                    - eid: '68'
                      activateDate: '2025-02-23'
                      cardStatus: ACTIVATION_READY_NAME
                      currentPkgRemainBytes: 34
                      currentPkgUsedBytes: 69
                      currentPkgTotalBytes: 96
                      totalFlowBytes: 66
                      remainFlowBytes: 87
                      expectedEndDate: '2024-11-28'
                      productCode: '85'
                      packageEndDate: '2026-02-01'
                      packageCode: '23'
                      packageType: 2
                      packageName: www
                    - eid: '24'
                      activateDate: '2024-11-20'
                      cardStatus: ACTIVATION_READY_NAME
                      currentPkgRemainBytes: 8
                      currentPkgUsedBytes: 40
                      currentPkgTotalBytes: 81
                      totalFlowBytes: 45
                      remainFlowBytes: 73
                      expectedEndDate: '2026-08-01'
                      productCode: '30'
                      packageEndDate: '2024-11-15'
                      packageCode: '14'
                      packageType: 2
                      packageName: www
                  totalPage: 1
          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-359018946-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
