public class WxCpOaWeDocServiceImpl extends Object implements WxCpOaWeDocService
构造器和说明 |
---|
WxCpOaWeDocServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
WxCpDocCreateData |
docCreate(@NonNull WxCpDocCreateRequest request)
新建文档
该接口用于新建文档和表格,新建收集表可前往 收集表管理 查看。
|
WxCpBaseResp |
docDelete(String docId,
String formId)
删除文档/收集表
该接口用于删除指定文档/收集表。
|
WxCpDocInfo |
docInfo(@NonNull String docId)
获取文档基础信息
该接口用于获取指定文档的基础信息。
|
WxCpBaseResp |
docRename(@NonNull WxCpDocRenameRequest request)
重命名文档/收集表
该接口用于对指定文档/收集表进行重命名。
|
WxCpDocShare |
docShare(@NonNull String docId)
分享文档
该接口用于获取文档的分享链接。
|
public WxCpDocCreateData docCreate(@NonNull @NonNull WxCpDocCreateRequest request) throws WxErrorException
WxCpOaWeDocService
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/create_doc?access_token=ACCESS_TOKEN
docCreate
在接口中 WxCpOaWeDocService
request
- 新建文档对应请求参数WxErrorException
- the wx error exceptionpublic WxCpBaseResp docRename(@NonNull @NonNull WxCpDocRenameRequest request) throws WxErrorException
WxCpOaWeDocService
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/rename_doc?access_token=ACCESS_TOKEN
docRename
在接口中 WxCpOaWeDocService
request
- 重命名文档/收集表WxErrorException
- the wx error exceptionpublic WxCpBaseResp docDelete(String docId, String formId) throws WxErrorException
WxCpOaWeDocService
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/del_doc?access_token=ACCESS_TOKEN
docDelete
在接口中 WxCpOaWeDocService
docId
- 文档docid(docid、formid只能填其中一个)formId
- 收集表id(docid、formid只能填其中一个)WxErrorException
- the wx error exceptionpublic WxCpDocInfo docInfo(@NonNull @NonNull String docId) throws WxErrorException
WxCpOaWeDocService
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_doc_base_info?access_token=ACCESS_TOKEN
docInfo
在接口中 WxCpOaWeDocService
docId
- 文档docidWxErrorException
- the wx error exceptionpublic WxCpDocShare docShare(@NonNull @NonNull String docId) throws WxErrorException
WxCpOaWeDocService
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/doc_share?access_token=ACCESS_TOKEN
docShare
在接口中 WxCpOaWeDocService
docId
- 文档docidWxErrorException
- the wx error exceptionCopyright © 2024. All rights reserved.