public class WxCpOaWeDriveServiceImpl extends Object implements WxCpOaWeDriveService
| 构造器和说明 |
|---|
WxCpOaWeDriveServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
WxCpSpaceCreateData |
spaceCreate(@NonNull WxCpSpaceCreateRequest request)
新建空间
该接口用于在微盘内新建空间,可以指定人创建空间。
|
WxCpBaseResp |
spaceDismiss(@NonNull String userId,
@NonNull String spaceId)
解散空间
该接口用于解散已有空间,需要以空间管理员身份来解散。
|
WxCpBaseResp |
spaceRename(@NonNull WxCpSpaceRenameRequest request)
重命名空间
该接口用于重命名已有空间,接收userid参数,以空间管理员身份来重命名。
|
public WxCpSpaceCreateData spaceCreate(@NonNull @NonNull WxCpSpaceCreateRequest request) throws WxErrorException
WxCpOaWeDriveService请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_create?access_token=ACCESS_TOKEN
spaceCreate 在接口中 WxCpOaWeDriveServicerequest - 新建空间对应请求参数WxErrorExceptionpublic WxCpBaseResp spaceRename(@NonNull @NonNull WxCpSpaceRenameRequest request) throws WxErrorException
WxCpOaWeDriveServicespaceRename 在接口中 WxCpOaWeDriveServicerequest - 重命名空间的请求参数WxErrorExceptionpublic WxCpBaseResp spaceDismiss(@NonNull @NonNull String userId, @NonNull @NonNull String spaceId) throws WxErrorException
WxCpOaWeDriveServicespaceDismiss 在接口中 WxCpOaWeDriveServiceWxErrorExceptionCopyright © 2022. All rights reserved.