Example Query the traffic usage of a single SIM card
Example Query information about a device, including the current order cycle traffic usage.
Request
Body Params application/json
{
"access_code": "P000270",
"device_id": "89852022018041800192",
"timestamp": "1643251754",
"version": "2.0",
"sign":"wVnILqg0AMS0syL/MOA5LqRpa9I="
}
Request Code Samples
curl --location --request POST 'http://127.0.0.1/flow/queryDeviceFlowUsage' \
--header 'Accept-Language: zh-CN' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_code": "P000270",
"device_id": "89852022018041800192",
"timestamp": "1643251754",
"version": "2.0",
"sign":"wVnILqg0AMS0syL/MOA5LqRpa9I="
}'
Responses
application/json {
"code": "0000",
"data": {
"sign": "nTrEry3jUd52m4PQ8lmBvsfGsAE=",
"device_id": "89852022018041800192",
"order_code": "202107061625560742397",
"order_used_flow": "0",
"high_flow_balance": "0"
},
"message": "成功",
"success": true
}
Modified at 2022-10-05 06:04:25