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": 0
},
"status": {
"code": "string",
"message": "string",
"detail": "string"
}
}