- 概述
- 定制配置
- API
- WEB
- SC
- OP
- MP
- MP Copy
- PP
- APP
- OpenApi
- 机构运营报表
- 未命名接口POST
SLA新增采集服务
开发中
POST
/pts/sc/sla/service/add
最后修改时间:2023-10-23 03:05:17
责任人:严子雄
请求参数
Body 参数application/json
service_type
string
服务类别
service_name
string
服务名
description
string
描述
start_time
string
服务启动时间
level
integer
服务级别 1-3
示例
{
"service_type": "string",
"service_name": "string",
"description": "string",
"start_time": "string",
"level": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/pts/sc/sla/service/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_type": "string",
"service_name": "string",
"description": "string",
"start_time": "string",
"level": 0
}'
返回响应
🟢200成功
application/json
Body
code
string
返回码
msg
string
返回说明
data
object
资源权限列表
示例
{
"code": "string",
"msg": "string",
"data": {}
}
🔴500失败