# 查询账户下国际卡片预警信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/outputApi/queryAccountWarningCard:
    post:
      summary: 查询账户下国际卡片预警信息
      deprecated: false
      description: 查询账户下国际卡片预警信息，可查询到流量余量不足的卡片iccid；
      tags:
        - API接口/卡业务接口
        - 国际
      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}}'
                pageNum:
                  description: 查询第几页的数据(起始为1，每页500条数据)
                  type: integer
                type:
                  type: integer
                  description: 预警类型 1:流量用量预警 不足100M 2:流量使用百分比预警 不足10% 3:周期预警 不足7天
                iccid:
                  type: string
                  description: 卡片的ICCID
              x-apifox-orders:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
                - type
                - iccid
              required:
                - appkey
                - timestamp
                - nonce
                - sign
                - pageNum
            example: |-
              {
                  "appkey": "{{APPKEY}}",
                  "timestamp": {{TIMESTAMP}},
                  "nonce": 28318,
                  "sign": "{{SIGN}}",
                  "pageNum": 100,
                  "type": 1
              }
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    description: 200：表示成功其他失败
                  message:
                    type: string
                    description: 成功或失败原因
                  data:
                    type: object
                    properties:
                      totalPage:
                        type: integer
                        description: 总页数
                      cardInfoList:
                        type: array
                        items:
                          type: object
                          properties:
                            iccid:
                              type: string
                              description: iccid卡号
                            type:
                              type: string
                              description: 1:流量用量预警 2:流量使用百分比预警 3:周期预警
                            earlyWarningValue:
                              type: integer
                              description: 预警值
                          x-apifox-orders:
                            - iccid
                            - type
                            - earlyWarningValue
                    required:
                      - totalPage
                      - cardInfoList
                    x-apifox-orders:
                      - totalPage
                      - cardInfoList
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: '200'
                message: 操作成功
                data:
                  totalPage: 1
                  cardInfoList:
                    - iccid: '89860125641236548745'
                      type: '1'
                      earlyWarningValue: 100
                    - iccid: '89860125641236548745'
                      type: '2'
                      earlyWarningValue: 10
                    - iccid: '89860125641236548745'
                      type: '3'
                      earlyWarningValue: 7
          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-63600566-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://oapi.eiotclub.com
    description: 生产环境
security: []

```
