linux -- curl

data1.json 文件内容:{“tenantId”:108,“deviceIds”:[“0210860000016_1_0210860000016”]}
curl -XPOST -H ‘Content-Type: application/json’ -H ‘user_id : 14’ -H ‘access_token : 111’ http://127.0.0.1:9107/reportmanagement/dw108/getOpHours -d @data1.json

curl -XPOST -H ‘Content-Type: application/json’ -H ‘user_id : 14’ -H ‘access_token : 111’ http://127.0.0.1:9107/reportmanagement/dw108/getOpHours -d @data1.json

curl -X POST -d @report.json http://127.0.0.1:9007/reportmanagement/dw108/getOpHours

curl -X POST -d @report.json http://127.0.0.1:9007/reportmanagement/dw108/getDuration

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:[“0210860000016_1_0210860000016”]}’ http://127.0.0.1:9007/reportmanagement/dw108/getDuration

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:[“0210860000016_1_0210860000016”]}’ http://127.0.0.1:9007/reportmanagement/dw108/getOpHours

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:[“0210860000016_1_0210860000016”]}’ http://127.0.0.1:9107/reportmanagement/dw/getOpHours

curl -H “Content-Type:application/json” -X POST --data @report.json http://127.0.0.1:9007/reportmanagement/dw108/getOpHours

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:[“1210840000001_1_1210840000001”]}’ http://127.0.0.1:9007/reportmanagement/dw108/getOpHours

https://global.irootech.com/reportmanagement/dw108/getOpHours

/reportmanagement/dw

{“query”:“select Timestamp_Local,Optional_Hydac_pressure_transducer_CAN_OK from realData_Info_kafka_test where deviceId = (‘0210860000029_1_0210860000029’) and __time >= ‘2018-12-02 02:40:12’”}

curl -XPOST -H’Content-Type: application/json’ http://localhost:8082/druid/v2/sql/ -d ‘{“query”:"select ts2 as “Timestamp_Local”,double9 as “deliveredAmount” from kafka_RuleEngineBoltOut_middle where deviceId = (‘0210860000029_1_0210860000029’) and __time >= ‘2018-12-02 02:40:12’ "}’

curl -XPOST -H’Content-Type: application/json’ http://localhost:8082/druid/v2/sql/ -d ‘{“query”:“select DeviceStatus as deviceStatus,avg(GPS_Latitude) as gpsLatitude, avg(GPS_Longitude) as gpsLongitude,max(deliveredAmount) as deliveryAmount,min(__time) as minTime,min(TIME_PARSE(Timestamp_CloudM2M)) as cloudTime,min(TIME_PARSE(Timestamp_Local)) as locaTime from realData_Info_kafka_test where deviceId in (‘0210860000034_1_0210860000034’) and __time >= ‘2019-02-08T10:55:42.458Z’ and __time < ‘2019-02-15T10:55:45.343Z’ group by DeviceStatus,DATE_TRUNC(‘minute’,__time) order by min(__time) asc”}’

eu.druid.address = http://10.80.21.133:8082/druid/v2/sql/
usa.druid.address = http://10.81.2.29:8082/druid/v2/sql/

curl -X POST -H ‘Content-Type: application/json’ 10.80.21.133:8082/druid/v2/sql/ -d @trail3.json
curl -X POST -H ‘Content-Type: application/json’ http://10.80.21.133:8082/druid/v2/sql/ -d @trail3.json

curl -H “Content-Type:application/json” -X POST --data ‘{}’ http://127.0.0.1:5008/maintenance/maintenance/sendmail

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:“0300860000016_1_0300860000016”,“properties”:"‘status’,‘Support’,‘Fuel_Tank’, ‘Pump_Type’,‘Pump_No’,‘SW_Vers’,‘Op_Hour’,‘Deliv_Amo’,‘Truck_Type’,‘Distance’,‘Timestamp_CloudM2M’"}’ http://127.0.0.1:9002/deviceFilter/getDeviceInfoByDeviceId

curl -H “Content-Type:application/json” -X POST --data ‘{“tenantId”:108,“deviceIds”:“0300860000016_1_0300860000016”,“properties”:"‘status’,‘Support’,‘Fuel_Tank’, ‘Pump_Type’,‘Pump_No’,‘SW_Vers’,‘Op_Hour’,‘Deliv_Amo’,‘Truck_Type’,‘Distance’,‘Timestamp_CloudM2M’"}’ http://127.0.0.1:9007/report/kpi

curl -H “Content-Type:application/json” -X POST --data ‘{“deviceIds”:[“0210860000018_1_0210860000018”],“limit”:5,“modelType”:5013}’ http://127.0.0.1:6006/remoteService/getDescAndTimeByDeviceId

“status”,“Support”,“Fuel_Tank”, “Pump_Type”,“Pump_No”,“SW_Vers”,“Op_Hour”,“Deliv_Amo”,“Truck_Type”,“Distance”,“Timestamp_CloudM2M”

‘status’,‘Support’,‘Fuel_Tank’, ‘Pump_Type’,‘Pump_No’,‘SW_Vers’,‘Op_Hour’,‘Deliv_Amo’,‘Truck_Type’,‘Distance’,‘Timestamp_CloudM2M’

curl -H “Content-Type:application/json” -X POST --data ‘{“teleModuleTypeID”:“1200”,“tenantID”:108}’ http://127.0.0.1:5107/ota/usa/get_exist_firmware_info

curl -H “Content-Type:application/json” -X POST --data ‘{“statStartStr”:“2020-07-01”,“statEndStr”:“2020-07-31”,“statType”:2}’ http://127.0.0.1:9007/reportmanagement/dw108/setDwStat

curl -H “Content-Type:application/json” -X POST --data ‘{“statStartStr”:“2020-07-01”,“statEndStr”:“2020-07-31”,“statType”:2}’ http://127.0.0.1:9007/reportmanagement/dw108/getDwStat

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值