名称 | 类型 | 描述 |
---|---|---|
items | custom_attr[] | 自定义字段定义 |
∟ id | string | 自定义字段id |
∟ type | string | 自定义字段类型,可选值有:TEXT :纯文本,用于纯文本描述人员,如备注HREF :静态 URL,用于人员 Profile 跳转链接ENUMERATION :枚举,用于结构化描述人员,如民族GENERIC_USER :用户,用于描述人和人关系,如 HRBPPICTURE_ENUM :枚举图片,以结构化的图片描述人员,如在人员 Profile 展示荣誉徽章 |
∟ options | custom_attr_options | 选项定义,当type为ENUMERATION 或者PICTURE_ENUM 时此项有值,列举所有可选项 |
∟ default_option_id | string | 默认选项id |
∟ option_type | string | 选项类型可选值有:TEXT :文本选项PICTURE :图片选项 |
∟ options | custom_attr_option[] | 选项列表 |
∟ id | string | 枚举类型选项id |
∟ value | string | 枚举选项值,当option_type为TEXT 为文本值,当option_type为PICTURE 时为图片链接 |
∟ name | string | 名称,仅option_type为PICTURE时有效 |
∟ i18n_name | i18n_content[] | 自定义字段的字段名称 |
∟ locale | string | 语言版本 |
∟ value | string | 字段名 |
∟ page_token | string | 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token |
∟ has_more | boolean | 是否还有更多项 |
"items": [
{
"id": "C-6965457429001748507",
"type": "TEXT",
"options": {
"default_option_id": "qasdefgr",
"option_type": "TEXT",
"options": [
{
"id": "qasdefgr",
"value": "Option",
"name": "Name"
}
]
},
"i18n_name": [
{
"locale": "zh_cn",
"value": "专家"
}
]
}
]
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通