public interface WxCpTagService
标签管理接口. Created by BinaryWang on 2017/6/24.
| 限定符和类型 | 方法和说明 |
|---|---|
WxCpTagAddOrRemoveUsersResult |
addUsers2Tag(String tagId,
List<String> userIds,
List<String> partyIds)
增加标签成员.
|
String |
create(String tagName)
创建标签.
|
void |
delete(String tagId)
删除标签.
|
WxCpTagGetResult |
get(String tagId)
获取标签成员.
|
List<WxCpTag> |
listAll()
获得标签列表.
|
List<WxCpUser> |
listUsersByTagId(String tagId)
获取标签成员.
|
WxCpTagAddOrRemoveUsersResult |
removeUsersFromTag(String tagId,
List<String> userIds,
List<String> partyIds)
移除标签成员.
|
void |
update(String tagId,
String tagName)
更新标签.
|
String create(String tagName) throws WxErrorException
tagName - 标签名WxErrorExceptionvoid update(String tagId, String tagName) throws WxErrorException
tagId - 标签idtagName - 标签名WxErrorExceptionvoid delete(String tagId) throws WxErrorException
tagId - 标签idWxErrorExceptionList<WxCpTag> listAll() throws WxErrorException
WxErrorExceptionList<WxCpUser> listUsersByTagId(String tagId) throws WxErrorException
tagId - 标签IDWxErrorExceptionWxCpTagAddOrRemoveUsersResult addUsers2Tag(String tagId, List<String> userIds, List<String> partyIds) throws WxErrorException
tagId - 标签iduserIds - 用户ID 列表partyIds - 企业部门ID列表WxErrorExceptionWxCpTagAddOrRemoveUsersResult removeUsersFromTag(String tagId, List<String> userIds, List<String> partyIds) throws WxErrorException
tagId - 标签iduserIds - 用户id列表partyIds - 企业部门ID列表WxErrorExceptionWxCpTagGetResult get(String tagId) throws WxErrorException
tagId - 标签idWxErrorExceptionCopyright © 2019. All rights reserved.