YesDev / Platform API / 加载模块自定义字段的规则配置

加载模块自定义字段的规则配置

API Description: 加载模块自定义字段的规则配置

HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Format

API Parameters

Parameter NameTypeIs RequiredDefaultNoteDescription
access_token字符串Optional访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口
app_key字符串Optionalapp_key,团队代码
sign字符串Optional-动态签名,签名算法请联系我们技术客服获取

Return Field

Response ResultTypeDescription
retintstatus code, 200 is ok, 4xx is bad request, 5xx is server inside error
dataobject/mixedbusiness data, decided by API implementation
data.need数组需求模块的自定义字段规则
msgstringmessage, usually error message

Test Online   

ParameterIs RequiredValue
service Required
access_token Optional
app_key Optional
sign Optional

Client Request Demo

{
    "ret": 200,
    "data": {
        "need": [ // 需求自定义字段
        {
            "key": "_CFKEY_4", // 字段系统key
            "label": "需求收益33", // 字段名称
            "value": "", // 字段值(默认值)
            "required": 0, // 是否必填,1是0否
            "type": "", // 前端控件类型
            "visiable": 0, // 可见范围,0全部1企业管理员
            "option": "" // 字段控件规则选项,由前端规定
        },
        {
            "key": "_CFKEY_2",
            "label": "需求难度",
            "value": "",
            "required": 0,
            "type": "",
            "visiable": 0,
            "option": ""
        }
        ]
    },
    "msg": ""
}

Error List

Error StatusError Description
400ret=400,客户端参数错误或非法请求
404表示接口服务不存在
406ret=406,access_token令牌校验不通过
407ret=407,app_key权限不足,或未知应用
408ret=408,当前用户禁止使用,或用户未登录
410权限不足
500表示服务端内部错误

Last generated at: 2025-08-03 17:30:17 联系我们开通接入OpenAPI