Linksfield Developer
OverviewCube APIsTopup APIs旧版本API
OverviewCube APIsTopup APIs旧版本API
  1. Plan
  • CSSS APIs
    • 全局说明/Overview
    • 国际化/ Internationalization
    • 状态码/Status code
    • 签名代码示例 / Sign code Example
    • SIM
      • 批量获取拥有的设备信息/Get all SIM cards info
      • 查询单一设备实时信息/Get real-time info about one SIM card
      • 同步使用中SIM卡信息/Get the SIM Cards in use
    • Usage
      • 查询单张SIM卡流量使用情况/ Example Query the traffic usage of a single SIM card
      • 批量查询SIM卡流量接口 /Batch querying SIM card usage
      • 查询单日流量使用情况 / Example Query the daily usage
      • 批量查询指定月份的流量使用情况/ Batch querying the usage in a specified month
    • Plan
      • 同步资费套餐 / Get data plan
        POST
      • 订购流量套餐/ Order data plan
        POST
      • 批量订购套餐/ Bulk order package
        POST
      • 续订流量套餐/ Renew your data plan
        POST
      • 查询套餐订单信息 / Query the package order information
        POST
      • 开通/启用流量套餐订单 / To enable the order
        POST
      • 取消流量套餐订单/ Cancel an unenabled package order
        POST
      • 提前结束设备套餐订单/ End package orders early
        POST
      • [不推荐]停机/暂停流量套餐订单
        POST
      • [不推荐]复机/重新启动流量套餐订单
        POST
      • 【不推荐】分页批量(查询)同步设备可订购套餐
        POST
    • SMS
      • 发送短信/ send SMS
    • Customized
      • OTA日套餐下单/Order OTA Plan
      • 运营商侧剩余流量查询/Query the remaing data by MNO side
  • Notification
    • Notification全局说明
    • Notification状态码
    • 流量使用量API预警
      POST
    • 短信下行回调
      POST
    • 短信上行回调
      POST
    • 短信上行回调(区分文本二进制)
      POST
    • 订单状态变更回调(IMSI)
      POST
  • eSIM QR Mall APIs
    • Introduction
    • Pre - order
    • webhook
    • 用户登录
    • My eSIM Detail
  1. Plan

查询套餐订单信息 / Query the package order information

Cube UAT
https://api-uat.io.linksfield.net/cube/v4
Cube UAT
https://api-uat.io.linksfield.net/cube/v4
POST
/package/queryOrder
Query the package order information

请求参数

Header 参数

Body 参数application/json

示例
{
    "access_code": "P000270",
    "device_id": "",
    "order_id": "",
    "order_status": "",
    "order_type": "",
    "page_no": 1,
    "page_size": 2,
    "timestamp": "1643251754",
    "version": "2.0",
    "sign":"ZdFRHMM/ccYeb49Rys3wOCZXDpc="
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api-uat.io.linksfield.net/cube/v4/package/queryOrder' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json' \
--data '{
    "access_code": "P000270",
    "device_id": "",
    "order_id": "",
    "order_status": "",
    "order_type": "",
    "page_no": 1,
    "page_size": 2,
    "timestamp": "1643251754",
    "version": "2.0",
    "sign":"ZdFRHMM/ccYeb49Rys3wOCZXDpc="
}'

返回响应

🟢200Success
application/json
Bodyapplication/json

示例
{
    "code": "0000",
    "data": {
        "page": {
            "cur_page_no": 1,
            "page_size": 2,
            "total_count": 105,
            "total_pages": 53
        },
        "sign": "mcawIhwC6S7nEWGEic8qq8rB3pw=",
        "package_order": [
            {
                "buyType": "2",
                "expireDate": "",
                "flow": "30",
                "orderCode": "L201903020000000617",
                "orderStatus": "1",
                "orderDate": "20190302172719",
                "orderPeriod": "1",
                "packageCode": "PACKAGE20180428000007",
                "packageName": "亚洲12国/地区产品二 30m/月",
                "packageType": "2",
                "usedFlow": "0",
                "flowUseRate": null,
                "orderUsedFlow": "0",
                "supplierCode": null,
                "refuelingPackageList": [],
                "hasTestFlow": "0",
                "profileList": null,
                "isFlowPlus": null,
                "deviceId": "89860012018111220455",
                "device_id": "89860012018111220455",
                "activeDate": "",
                "main_iccid": null
            },
            {
                "buyType": "2",
                "expireDate": "",
                "flow": "30",
                "orderCode": "L201903030000000626",
                "orderStatus": "1",
                "orderDate": "20190303115048",
                "orderPeriod": "1",
                "packageCode": "PACKAGE20180428000007",
                "packageName": "亚洲12国/地区产品二 30m/月",
                "packageType": "2",
                "usedFlow": "0",
                "flowUseRate": null,
                "orderUsedFlow": "0",
                "supplierCode": null,
                "refuelingPackageList": [],
                "hasTestFlow": "0",
                "profileList": null,
                "isFlowPlus": null,
                "deviceId": "89860012018111220455",
                "device_id": "89860012018111220455",
                "activeDate": "",
                "main_iccid": null
            }
        ],
        "package_order_num": 2
    },
    "message": "成功",
    "success": true
}
修改于 2023-08-08 08:14:04
上一页
续订流量套餐/ Renew your data plan
下一页
开通/启用流量套餐订单 / To enable the order
Built with