API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
{ "sim_ids": [ "string" ] }
curl --location --request POST 'https://api.linksfield.net/cube/v4/usage/a1' \ --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 '{ "sim_ids": [ "string" ] }'
{ "data": [ { "sim_id": "89430101521032290021", "data_usage": 0 }, { "sim_id": "89430101521032302347", "data_usage": 0 } ], "status": { "code": "CB-00-0000", "message": "成功", "detail": "https://apidoc-cn.iotcube.link/" } }