预警设置接口
开发中
POST
/scheme/warning/info-set
请求参数
Body 参数application/json
object {0}
示例
{
"sid":"138",
"beginTime":"06:00:00",
"endTime":"18:00:00",
"frequency":"1",
"weeks":[
1,2,3,4,5
],
"platform":["total"],
"emotion":["正面","中性"],
"status":0,
"collapse":0,
"origin":0,
"mediaLevel":{},
"newsContentIpLocation":"全国",
"contact":[46]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/scheme/warning/info-set' \
--header 'Content-Type: application/json' \
--data-raw '{
"sid":"138",
"beginTime":"06:00:00",
"endTime":"18:00:00",
"frequency":"1",
"weeks":[
1,2,3,4,5
],
"platform":["total"],
"emotion":["正面","中性"],
"status":0,
"collapse":0,
"origin":0,
"mediaLevel":{},
"newsContentIpLocation":"全国",
"contact":[46]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}