API Key & Notification Key的获取请通过Cube平台自助操作,详见说明文档
{ "notification_id": "965", "org_id": "P002370", "event_type": "Custom", "event_subtype": "Data remaining 200MB_SP202211071469", "level": "normal", "trigger_mode": 0, "source": { "type": "sphere - autoflow", "reference_id": "863403243856736834 ", "reference_name": "测试剩余200MB通知深圳" }, "events": [ { "id": "651", "occurred_at": 1689060592385, "sim_id": "8965011909030053487" } ] }
curl --location --request POST 'https://api.linksfield.net/cube/v4/客户提供的URL' \ --header 'x-lf-notification-version;' \ --header 'x-lf-algo;' \ --header 'x-lf-signature;' \ --header 'x-lf-timestamp;' \ --header 'Content-Type: application/json' \ --data-raw '{ "notification_id": "965", "org_id": "P002370", "event_type": "Custom", "event_subtype": "Data remaining 200MB_SP202211071469", "level": "normal", "trigger_mode": 0, "source": { "type": "sphere - autoflow", "reference_id": "863403243856736834 ", "reference_name": "测试剩余200MB通知深圳" }, "events": [ { "id": "651", "occurred_at": 1689060592385, "sim_id": "8965011909030053487" } ] }'
{}