
| 应用类型 | 是否支持 | 权限 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 支持 | 通讯录可触达规则读写权限 | API Explorer |
| 第三方企业应用 | 支持 | 通讯录可触达规则读写权限 | API Explorer |
| 第三方个 人应用 | 暂不支持 | 通讯录可触达规则读写权限 | 暂不支持 |
| HttpCode | 错误码 | 错误信息 | 说明 |
|---|---|---|---|
| 400 | parameter.error | 参数错误 | 参数错误 |
| 500 | system.error | 更新错误 | 更新错误 |
{
"id" : Long,
"name" : "String",
"description" : "String",
"objectStaffIds" : [ "String" ],
"objectDeptIds" : [ Long ],
"objectTagIds" : [ Long ],
"hideFields" : [ "String" ],
"excludeStaffIds" : [ "String" ],
"excludeDeptIds" : [ Long ],
"excludeTagIds" : [ Long ],
"active" : Boolean
}curl --location --request POST '/v1.0/contact/staffAttributes/visibilitySettings' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id" : Long,
"name" : "String",
"description" : "String",
"objectStaffIds" : [ "String" ],
"objectDeptIds" : [ Long ],
"objectTagIds" : [ Long ],
"hideFields" : [ "String" ],
"excludeStaffIds" : [ "String" ],
"excludeDeptIds" : [ Long ],
"excludeTagIds" : [ Long ],
"active" : Boolean
}'{
"result" : 10001
}