知识中心
所有文章
帮助中心
AI客户联络中心 升级日志
API文档
AI客户联络
API接口
【新】云节点列表
对话接口
白标接口及地址
公海创建模板
最后更新于 2024/03/14   阅读数 305

公海创建模板


  • 请求接口 agent-api/user/{user_id}/customer/create

  • 请求方式 GET

  • 路由参数

参数

类型

示例

解释

必填

user_id

string

5832d184-dd53-42a0-8ace-0bf8d660f4cc

用户id

  • 返回结果

    {
        "code": 200,
        "status": "success",
        "message": "查看公海创建模板成功",
        "data": [
            {
                "id": "91a4ff5d-3d14-4b85-a062-a3468e48f4be", // 公海组件id
                "name": "姓名", // 公海组件名称
                "type": "text", // 公海组件类型
                "sort": 0, // 公海组件排序
                "validate": [ // 公海组件验证规则,有required必填,integer整数,date日期,sometimes存在时则验证
                    "required"
                ]
            },
            {
                "id": "c87d8629-7cfd-4980-bb3a-7827bff4b72c",
                "name": "数字",
                "type": "number",
                "sort": 1,
                "validate": [
                    "integer"
                ]
            },
            {
                "id": "44560536-46b5-4e38-852e-949fd12c1ee6",
                "name": "日期",
                "type": "date",
                "sort": 2,
                "validate": [
                    "date",
                    "sometimes"
                ]
            }
        ]
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    plaintext
未能解决您的问题?请联系
本篇目录

公海创建模板