文档
测试

添加一级标签

POST
http://192.168.1.192:9091/label/v1.0/api/userDefined/addLabel

请求参数

参数名
类型
描述
必填
type
string
示例:1 类型 1:支出 2收入
必填
name
string
示例:大飞机 标签名称
必填
labelIconId
string
示例:1 类型 标签图标id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
int
示例:60
必填
name
string
示例:大飞机
必填
url
string
示例:null
必填
type
int
示例:1
必填
languageId
int
示例:null
必填
robotId
int
示例:null
必填
sort
int
示例:null
必填
createTime
string
示例:2022-11-09 16:38:33
必填
updateTime
string
示例:2022-11-09 16:38:33
必填
status
int
示例:1
必填
systemType
int
示例:2
必填
userId
int
示例:1229770
必填
checkUrl
string
示例:null
必填
labelIconId
int
示例:1
必填
message
string
示例:操作成功
必填

说明 / 示例

{ "code": 200, "data": { "id": 60, //标签id "name": "大飞机", //标签名称 "url": null, //标签图标地址url "type": 1, // 类型 1:支出 2收入 "languageId": null, //话术id "robotId": null, //机器人id "sort": null, "createTime": "2022-11-09 16:38:33", //创建时间 "updateTime": 2022-11-09 16:38:33, //修改时间 "status": 1, "systemType": 2, // 1:系统标签 2用户标签 "userId": 1229770, // 用户id 用户标签才有 "checkUrl": null, //选中url "labelIconId": 1 //标签图标id 用户标签才有 }, "message": "操作成功" }