Linksfield Developer
OverviewCube APIsOld version
OverviewCube APIsOld version
  1. Notification
  • CSSS APIs
    • Overview
    • Internationalization
    • Status code
    • Sign code Example
    • SIM
      • Get all SIM cards info
      • Get real-time info about one SIM card
      • Get the SIM Cards in use
    • Usage
      • Example Query the traffic usage of a single SIM card
      • 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
      • Order OTA Plan
      • Query the remaing data by MNO side
  • Notification
    • Notification Overview
    • Notification status code
    • 流量使用量API预警
      POST
    • 短信下行回调
      POST
    • 短信上行回调
      POST
    • 短信上行回调(区分文本二进制)
      POST
    • Plan Order Status Change notification (IMSI)
      POST
  • Mall APIs
    • Mall全局说明
    • Mall业务流程
    • Mall签名代码示例
    • APP调用Stripe的SDK示例说明
    • Vshop
      • 卡片登录验证
      • 获取可购套餐商品列表
      • 创建用户订单
      • 查询自动续费记录
      • 关闭自动续费
      • 查询正在使用、未启用订单
      • 获取生效中的自动续费
      • 关闭自动续费
      • 用户下单(第三方支付)
    • Payment
      • 获取stripe单次支付权限
      • 获取Stripe订阅支付权限
      • 创建Stripe订阅/自动续费
      • 支付结果查询
      • 支付结果确认
    • Notification
      • 消息推送
  • eSIM QR Mall APIs
    • Introduction
    • Pre - order
      POST
    • v1.1/payment/webhook
      POST
    • User login
      POST
    • My eSIM Detail
      POST
    • Pre - order v1.2
      POST
  1. Notification

Plan Order Status Change notification (IMSI)

Developing
Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
POST
URL(客户设置的接收事件回调URL)

简要说明#

推送通信套餐订单状态变更信息到客户设置的接收事件回调url上。
本次版本中,并未实现header中增加参数功能,会在后续版本实现。
编号 内容 注释
"1001" early termination of order 提前结束订单
"1002" cancel order 取消订单
"1003" pause order 暂停订单
"1009" extend order 续订订单(仅使用中订单续订时,会发出推送)
"1004" restart order 重新启用订单
"1005" start non-ota order 非OTA启用订单
"1007" start ota order OTA启用订单
"1000" create order 订购新订单
"1008" order expires 订单自动结束
"1010" reduce cycle 更改(减少)周期
"1012" download imsi OTA重新下号
2022-May-17: 增加imsi字段 给客户
2022- :增加新类型1012

Request

Header Params
x-lf-md5
string 
optional
base64(md5("key1=value1&key2=value2&secret"))
x-lf-delivery
string 
optional
unique id (snowflake)
Body Params application/json
assetid
string 
required
SIM ICCID
operatin
string 
required
事件类型
orderid
string 
required
套餐订单ID
time
string 
required
变更时间
imsi
string 
required
imsi
Example
{
  "assetid":"89860220190809088993",
  "operatin":"1007",
  "orderid":"ORDER_20220315000038139",
  "time":"2022-03-16 14:56:12",
  "imsi":"20402301383820"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1URL(客户设置的接收事件回调URL)' \
--header 'Content-Type: application/json' \
--data-raw '{
  "assetid":"89860220190809088993",
  "operatin":"1007",
  "orderid":"ORDER_20220315000038139",
  "time":"2022-03-16 14:56:12",
  "imsi":"20402301383820"
}'

Responses

🟢200succeed
application/json
Body
object {0}
Example
{}
Modified at 2022-10-05 10:05:52
Previous
短信上行回调(区分文本二进制)
Next
Mall全局说明
Built with