# 查询账户下所有卡片接口

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/card/getAllCardInfo:
    post:
      summary: 查询账户下所有卡片接口
      deprecated: false
      description: 查询账户下所有卡片、获取账号内全部卡片，每页500条数据
      tags:
        - API接口/卡业务接口
        - 国内
      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
                iccids:
                  type: string
                  description: iccid卡号，用，隔开
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
                - pageSize
                - cardStatus
                - iccids
              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:
                            iccid:
                              type: string
                              title: iccid卡号
                            productCode:
                              type: string
                              title: 卡片归属产品编码
                            imsi:
                              type: string
                              title: 业务号
                            cardStatus:
                              type: string
                              description: >-
                                ACTIVATION_READY_NAME 可激活 NON_ACTIVATED_NAME 待激活
                                ACTIVATED_NAME 已激活 DEACTIVATED_NAME 已停用 
                                ACTIVATED_BASE 套餐停用卡仍可使用
                            orderId:
                              type: integer
                              title: 当前套餐对应的订单ID
                            isIMEIPool:
                              type: integer
                              title: 是否归属池 0 卡未归属池 1 卡归属池 2 卡临时归属池
                              description: 是否归属池 0 卡未归属池 1 卡归属池 2 卡临时归属池
                            flowTotal:
                              type: number
                              title: 当前套餐流量
                              format: float64
                            flowRemain:
                              type: number
                              title: 当前套餐剩余流量
                              format: float64
                            packageType:
                              type: integer
                              title: 套餐类型
                              description: 套餐类型：2 限量流量包 3 限时流量包 4 限时限速包
                            packageName:
                              type: string
                              title: 套餐名称
                            packageCode:
                              type: string
                              title: 套餐code码
                            gzhPackageName:
                              type: string
                              title: 商品套餐名称
                            activateDate:
                              type: string
                              title: 第一次激活时间
                            imei:
                              type: string
                              description: IMEI
                              title: IMEI
                            network:
                              type: string
                              title: 当前网络，同“切换卡片的运营商”接口network字段
                              description: 当前网络，同“切换卡片的运营商”接口network字段
                            isRealName:
                              type: integer
                              description: 是否实名 0:未实名 1:已实名
                            monthRemainFlow:
                              type: number
                              format: float64
                              description: 当前套餐剩余可用流量，单位MB
                            monthUseFlow:
                              type: number
                              format: float64
                              description: 当前套餐已用流量，单位MB
                            remainFlowType:
                              type: number
                              format: float64
                              description: 剩余流量类型 0 套餐套餐类型：2 限量流量包 3 限时流量包 4 限时限速包流量 1池剩余流量
                            packageEndDate:
                              type: string
                              description: 当前套餐到期时间
                            dataFlow:
                              type: number
                              description: 卡片总流量（包括未使用套餐），单位MB
                              format: float64
                            remainFlow:
                              type: number
                              format: float64
                              description: 卡片总剩余可用流量（包括未使用套餐），单位MB
                            expectedEndDate:
                              type: string
                              description: 卡片预计到期时间（包括未使用套餐的有效期）
                            imeiPoolStatus:
                              type: integer
                              description: 'IMEI池锁状态 0 没有锁住 1 锁住暂停卡 '
                            imeiPoolUnlockCount:
                              type: integer
                              description: IMEI池已解锁次数
                            totalUseFlow:
                              type: number
                              description: 卡片已使用总流量（包括已达量的套餐及当前套餐的用量） - 暂时不精准
                              format: float64
                            packageKind:
                              type: integer
                              description: 套餐类型 0-限量套餐 1-限时套餐 2-限时限速套餐
                          required:
                            - iccid
                            - imsi
                            - productCode
                            - packageType
                            - flowTotal
                            - isIMEIPool
                            - orderId
                            - cardStatus
                            - flowRemain
                            - packageName
                            - packageCode
                            - gzhPackageName
                            - activateDate
                            - imei
                            - network
                            - isRealName
                            - monthRemainFlow
                            - monthUseFlow
                            - remainFlowType
                            - dataFlow
                            - remainFlow
                            - expectedEndDate
                            - imeiPoolStatus
                            - imeiPoolUnlockCount
                            - totalUseFlow
                            - packageKind
                          x-apifox-orders:
                            - iccid
                            - imsi
                            - activateDate
                            - cardStatus
                            - isRealName
                            - monthRemainFlow
                            - monthUseFlow
                            - remainFlowType
                            - productCode
                            - packageEndDate
                            - dataFlow
                            - remainFlow
                            - expectedEndDate
                            - imeiPoolStatus
                            - imeiPoolUnlockCount
                            - isIMEIPool
                            - network
                            - totalUseFlow
                            - packageCode
                            - packageKind
                            - orderId
                            - flowTotal
                            - flowRemain
                            - packageType
                            - packageName
                            - gzhPackageName
                            - imei
                        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: '9'
                message: dolore
                data:
                  cardInfoList:
                    - iccid: '6'
                      imsi: esse aute Ut cillum
                      activateDate: '2025-02-25'
                      cardStatus: 旅行车
                      isRealName: 54
                      monthRemainFlow: 73
                      monthUseFlow: 98
                      remainFlowType: 97
                      productCode: '77'
                      packageEndDate: '2025-06-04'
                      dataFlow: 22
                      remainFlow: 58
                      expectedEndDate: '2026-01-20'
                      imeiPoolStatus: 30
                      imeiPoolUnlockCount: 40
                      isIMEIPool: 85
                      network: consectetur et in amet
                      totalUseFlow: 1
                      packageCode: '84'
                      packageKind: 47
                      orderId: 70
                      flowTotal: 34
                      flowRemain: 41
                      packageType: sunt aliquip non adipisicing
                      packageName: 崔文昊
                      gzhPackageName: 戚智杰
                      imei: 43-430820-600842-0
                    - iccid: '41'
                      imsi: culpa
                      activateDate: '2025-04-09'
                      cardStatus: 轿车
                      isRealName: 47
                      monthRemainFlow: 52
                      monthUseFlow: 5
                      remainFlowType: 62
                      productCode: '18'
                      packageEndDate: '2026-03-22'
                      dataFlow: 10
                      remainFlow: 98
                      expectedEndDate: '2024-08-30'
                      imeiPoolStatus: 21
                      imeiPoolUnlockCount: 78
                      isIMEIPool: 80
                      network: in
                      totalUseFlow: 54
                      packageCode: '43'
                      packageKind: 14
                      orderId: 87
                      flowTotal: 19
                      flowRemain: 32
                      packageType: eu adipisicing non aliquip
                      packageName: 源鹏
                      gzhPackageName: 纵沐宸
                      imei: 16-679210-604958-0
                    - iccid: '9'
                      imsi: magna laborum
                      activateDate: '2025-01-07'
                      cardStatus: 旅行车
                      isRealName: 39
                      monthRemainFlow: 41
                      monthUseFlow: 94
                      remainFlowType: 41
                      productCode: '41'
                      packageEndDate: '2025-07-08'
                      dataFlow: 24
                      remainFlow: 99
                      expectedEndDate: '2025-06-05'
                      imeiPoolStatus: 80
                      imeiPoolUnlockCount: 89
                      isIMEIPool: 45
                      network: ad ea culpa laboris
                      totalUseFlow: 51
                      packageCode: '38'
                      packageKind: 74
                      orderId: 59
                      flowTotal: 18
                      flowRemain: 49
                      packageType: consectetur nostrud tempor pariatur
                      packageName: 以浩宇
                      gzhPackageName: 阮国平
                      imei: 43-787443-773714-2
                  totalPage: 54
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: API接口/卡业务接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2330898/apis/api-63600562-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
