- v2.5
- 平台接口
- 项目管理
- 应用管理
- 资源管理
- 用户权限管理
- v3.0
- 平台接口
- 项目管理
- 应用管理
- 资源管理(v3)
- 用户权限管理
- 111GET
数据处理ABB
POST
/api/senHttp
请求参数
Header 参数
token
string
必需
Body 参数text/plain
示例
示例值:{
"sendType":"text",
"DataInfo":{
"url":"https://prodcnbiotwebapi.chinacloudsites.cn/api/connect/eb52b3b0-351f-4727-8716-aaa986c79e41/analytics/report/request",
"type":"POST",
"rootId":"root02",
"sendParams":{
"QueryType": "Currents",
"EquipmentIds":"769511e2-230d-4880-811b-2760f37a4126",
"IsRawData":false,
"IsIncludeSummary":true,
"DateStart":"2021-05-18T00:00:00+08:00",
"DateEnd":"2021-05-21T23:59:59+08:00",
"AggregationRange":"Day"
},
"header":{
"X-ApiKey":"5joghEsh6oeyOyY7FQvA+RC9Zp0de0npombIgWhi53371nJVGcSm0grfiASK+X73IN3W9fEqwMZ4h/Z4fD3hjg==",
"Content-Type":"application/x-www-form-urlencoded"
},
"message":"描述",
"javascript":"function sam(){}xxx"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/senHttp' \
--header 'token;' \
--header 'Content-Type: text/plain' \
--data-raw '{
"sendType":"text",
"DataInfo":{
"url":"https://prodcnbiotwebapi.chinacloudsites.cn/api/connect/eb52b3b0-351f-4727-8716-aaa986c79e41/analytics/report/request",
"type":"POST",
"rootId":"root02",
"sendParams":{
"QueryType": "Currents",
"EquipmentIds":"769511e2-230d-4880-811b-2760f37a4126",
"IsRawData":false,
"IsIncludeSummary":true,
"DateStart":"2021-05-18T00:00:00+08:00",
"DateEnd":"2021-05-21T23:59:59+08:00",
"AggregationRange":"Day"
},
"header":{
"X-ApiKey":"5joghEsh6oeyOyY7FQvA+RC9Zp0de0npombIgWhi53371nJVGcSm0grfiASK+X73IN3W9fEqwMZ4h/Z4fD3hjg==",
"Content-Type":"application/x-www-form-urlencoded"
},
"message":"描述",
"javascript":"function sam(){}xxx"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2021-12-16 03:33:21