Linksfield Developer
OverviewCube APIs旧版本API
OverviewCube APIs旧版本API
  1. CSSS APIs
  • 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
      • 订购流量套餐/ Order data plan
      • 批量订购套餐/ Bulk order package
      • 续订流量套餐/ Renew your data plan
      • 查询套餐订单信息 / Query the package order information
      • 开通/启用流量套餐订单 / To enable the order
      • 取消流量套餐订单/ Cancel an unenabled package order
      • 提前结束设备套餐订单/ End package orders early
      • [不推荐]停机/暂停流量套餐订单
      • [不推荐]复机/重新启动流量套餐订单
      • 【不推荐】分页批量(查询)同步设备可订购套餐
    • 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
  • Mall APIs
    • Mall全局说明
    • Mall业务流程
    • Mall签名代码示例
    • APP调用Stripe的SDK示例说明
    • Vshop
      • 卡片登录验证
      • 获取可购套餐商品列表
      • 创建用户订单
      • 查询正在使用、未启用订单
      • 获取生效中的自动续费
      • 关闭自动续费
      • 用户下单(第三方支付)
    • Payment
      • 获取stripe单次支付权限
      • 获取Stripe订阅支付权限
      • 创建Stripe订阅/自动续费
      • 支付结果查询
    • Notification
      • 消息推送
  • eSIM QR Mall APIs
    • Introduction
    • Pre - order
      POST
    • webhook
      POST
    • 用户登录
      POST
    • My eSIM Detail
      POST
  1. CSSS APIs

全局说明/Overview

CSSS API Overview / 全局规范声明#

领科元流量管理平台 CSSS API遵循HTTP规范。
本文档作为文档企业网关通用接口-3.0json版(飞书云文档)、领科物联网业务对接接口协议(json格式通用版本)_设备类型整合之后版本V1.3.pdf等其他离线/在线文档的替换版本,具有最高准确性。若本文档内容与其他文档内容冲突时,请以本文档内容为准。
LinksField Element traffic management platform CSSS API follows the HTTP specification.
This document has the highest accuracy as the replacement version of other offline/online documents such as document 'Enterprise Gateway Generic Interface -3.0 JSON version (Feishu cloud document)', 'Linke Internet of Things Business Docking Interface Protocol (JSON format universal version) _ Device type integrated version v1.3.pdf'. If there is any conflict between the contents of this document and other documents, the contents of this document prevail.

生产环境域名/ Production#

baseUrl = "https://apiv3.linksfield.net"

全局/ Global Header#

参数/parameter示例/example说明/description
Accept-Languagezh-CH目前支持zh-CH / Supports zh-CN
Content-Typeapplication/json

全局参数/ Global parameter#

POST/PUT/DELETE方法时,全局参数在body中
For the POST/PUT/DELETE method, the global parameter is in the body.
GET方法时,全局参数在query中
GET, the global parameters are in Query
参数/parameter示例/example说明/description
version2.0版本,默认值2.0/ Version, default value 2.0
access_codeP012345领科提供给客户的partner_code/ The Partner code provided by Linksfield to the customer
timestamp1640917845984时间戳 / timestamp
sign签名值 / sign

签名算法/ Sign#

1.
所有非空参数(包括path, query, body)以key value的JSON String按字典序排列作为签名的数据。
All non-empty parameters (including path, query, and body) are signed with the JSON String of key value in lexicographic order.
signContent = "{"version":"2.0","access_code":"P012345","timestamp":"1498723232"}"
2.
将signContent数据使用HMAC-SHA1算法进行加密。
Encrypt signContent data using the HMAC-SHA1 algorithm.
sign = HMAC-SHA1(signContent,secret); 
3.
对加密后的内容进行Base64 编码。
The encrypted content is Base64 encoded.
sign = Base64Encode(sign)
企业密钥(access_code、secret)请向领科销售/FAE申请
Please apply for the enterprise key (access_code, secret) to Linksfield Sales /FAE
修改于 2023-06-09 05:34:21
下一页
国际化/ Internationalization
Built with