新增/编辑对象
开发中
POST
/leads/open-api/edit-object
客户数据平台(CDP)/线索Leads/线索
最后修改时间:2024-12-13 09:38:54
接口描述
接口调用限制为
请求参数说明
参数名称 | 参数类型 | 必须 | 说明 |
---|---|---|---|
user_id | string | 是 | 系统用户的user_id,获取方法:1.通过 管理员列表接口 获取 2.登录系统获取,位置:个人设置-用户ID |
schema_name | 对象名称 | 是 | 竞争对象:Competitors 竞对明细:CompetitiveDetails |
record_type_id | 对象记录类型 | 是 | 记录类型,通过记录类型接口获取 |
id | int | 否 | 对象ID |
请求体-字段值传递说明
字段类型 | 说明 | 示例 | 备注 |
---|---|---|---|
Text | 文本 | "hello world" | |
TextArea | 多行文本 | "hello world" | |
邮件 | "helloworld@qq.com" | ||
PhoneNumber | 手机号 | "188xxxxxxxx" | |
Select | 下拉 | "小于100" | 调用表结构详情接口,字段options 即为下拉字段的选项,接口传值时使用字段选项值的显示名称(label)。options示例如下: [{"label": "小于100","value": "1"},{"label": "100-200","value": "2"},{"label": "200以上","value": "3"}] |
Radio | 单选 | "小于100" | 同下拉 |
CheckBox | 多选 | "小于100","100-200" | 多个选项使用 , 分割 |
DateTime | 日期时间 | "2023-01-01 00:00:00" | |
Date | 日期 | "2023-01-01" | |
Number | 数字 | "100" | --- |
Decimal | 金额 | "100.01" | |
Address | 地址 | --- | |
Company | 公司 | "北京致趣科技" |