API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
{ "bundle_id": "LP09823222320", "bundle_type": 10, "cycles": 3, "activate": true, "sim_ids": [ "12345678901234567890", "12345678901234567891", "12345678901234567892" ], "callback_url": "https://client.callback.url/api/cube/batch_result" }
curl --location --request POST 'https://api.linksfield.net/cube/v4/sims/bundle/batch' \ --header 'Accept-Language: zh-CN' \ --header 'Authorization;' \ --header 'X-LF-Api-Version;' \ --header 'X-LF-Signature-Type;' \ --header 'timestamp;' \ --header 'nonce;' \ --header 'Content-Type: application/json' \ --data-raw '{ "bundle_id": "LP09823222320", "bundle_type": 10, "cycles": 3, "activate": true, "sim_ids": [ "12345678901234567890", "12345678901234567891", "12345678901234567892" ], "callback_url": "https://client.callback.url/api/cube/batch_result" }'
{ "data": { "sim_total_quantity": 105 }, "status": { "code": "CB-00-0099", "message": "请求接收成功,开始异步处理", "detail": "https://apidoc-cn.iotcube.link/" } }