# 单云esim卡片详情

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/cloudesim/get:
    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卡号
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - eid
            example: |-
              {
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 49890,
                  "sign": "{{SIGN}}",
                  "eid": "11111111111111111111111111111111"
              }
      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:
                      eid:
                        type: string
                        description: eid卡号
                        title: eid卡号
                      activateDate:
                        type: string
                        title: ' 激活日期字符串'
                        description: ' 激活日期字符串'
                      cardStatus:
                        type: string
                        description: >-
                          ACTIVATION_READY_NAME 可激活 NON_ACTIVATED_NAME 待激活
                          ACTIVATED_NAME 已激活 DEACTIVATED_NAME 已停用 
                          ACTIVATED_BASE 套餐停用卡仍可使用
                        title: 卡状态
                      currentPkgRemainBytes:
                        type: integer
                        description: 当前套餐剩余流量(Bytes)
                        title: 当前套餐剩余流量(Bytes)
                      currentPkgUsedBytes:
                        type: integer
                        description: 当前套餐已用流量(Bytes)
                        title: 当前套餐已用流量(Bytes)
                      currentPkgTotalBytes:
                        type: integer
                        description: 当前套餐流量总量单位(Bytes)
                        title: 当前套餐流量总量单位(Bytes)
                      totalFlowBytes:
                        type: integer
                        description: 卡片使用中和未使用套餐总流量单位Bytes
                        title: 卡片总流量单位Bytes
                      remainFlowBytes:
                        type: integer
                        description: 卡片使用中和未使用套餐总剩余可用流量单位Bytes
                        title: 卡片总剩余可用流量单位Bytes
                      expectedEndDate:
                        type: string
                        description: 预期服务截止日期
                        title: 预期服务截止日期
                      productCode:
                        type: string
                        description: 产品编码
                        title: 产品编码
                      packageEndDate:
                        type: string
                        description: 当前套餐到期日期
                        title: 当前套餐到期日期
                      packageCode:
                        type: string
                        description: 套餐编码
                        title: 当前套餐编码
                      packageType:
                        type: integer
                        description: 2 限量流量包 3 限时流量包 4 限时限速包
                        title: 套餐类型
                      packageName:
                        type: string
                        description: 套餐名称
                        title: 当前套餐名称
                    required:
                      - eid
                      - cardStatus
                      - currentPkgRemainBytes
                      - currentPkgUsedBytes
                      - currentPkgTotalBytes
                      - totalFlowBytes
                      - remainFlowBytes
                      - productCode
                      - packageCode
                      - packageType
                      - packageName
                    x-apifox-orders:
                      - eid
                      - activateDate
                      - cardStatus
                      - currentPkgRemainBytes
                      - currentPkgUsedBytes
                      - currentPkgTotalBytes
                      - totalFlowBytes
                      - remainFlowBytes
                      - expectedEndDate
                      - productCode
                      - packageEndDate
                      - packageCode
                      - packageType
                      - packageName
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: '6'
                message: consectetur Excepteur irure tempor officia
                data:
                  eid: '68'
                  activateDate: '2025-02-23'
                  cardStatus: NON_ACTIVATED_NAME
                  currentPkgRemainBytes: 34
                  currentPkgUsedBytes: 69
                  currentPkgTotalBytes: 96
                  totalFlowBytes: 66
                  remainFlowBytes: 87
                  expectedEndDate: '2024-11-28'
                  productCode: '85'
                  packageEndDate: '2026-02-01'
                  packageCode: '23'
                  packageType: 5
                  packageName: ww
          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-359350455-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
