public interface WxCpOaWeDocService
WxCpDocCreateData docCreate(@NonNull @NonNull WxCpDocCreateRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/create_doc?access_token=ACCESS_TOKEN
request - 新建文档对应请求参数WxErrorException - the wx error exceptionWxCpBaseResp docRename(@NonNull @NonNull WxCpDocRenameRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/rename_doc?access_token=ACCESS_TOKEN
request - 重命名文档/收集表WxErrorException - the wx error exceptionWxCpBaseResp docDelete(String docId, String formId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/del_doc?access_token=ACCESS_TOKEN
docId - 文档docid(docid、formid只能填其中一个)formId - 收集表id(docid、formid只能填其中一个)WxErrorException - the wx error exceptionWxCpDocInfo docInfo(@NonNull @NonNull String docId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_doc_base_info?access_token=ACCESS_TOKEN
docId - 文档docidWxErrorException - the wx error exceptionWxCpDocShare docShare(@NonNull @NonNull String docId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/doc_share?access_token=ACCESS_TOKEN
docId - 文档docidWxErrorException - the wx error exceptionWxCpDocShare docShare(@NonNull @NonNull WxCpDocShareRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/doc_share?access_token=ACCESS_TOKEN
request - 分享请求,docid/formid 二选一WxErrorException - the wx error exceptionWxCpDocAuthInfo docGetAuth(@NonNull @NonNull String docId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/doc_get_auth?access_token=ACCESS_TOKEN
docId - 文档docidWxErrorException - the wx error exceptionWxCpBaseResp docModifyJoinRule(@NonNull @NonNull WxCpDocModifyJoinRuleRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/mod_doc_join_rule?access_token=ACCESS_TOKEN
request - 修改文档查看规则请求WxErrorException - the wx error exceptionWxCpBaseResp docModifyMember(@NonNull @NonNull WxCpDocModifyMemberRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/mod_doc_member?access_token=ACCESS_TOKEN
request - 修改文档通知范围及权限请求WxErrorException - the wx error exceptionWxCpBaseResp docModifySafetySetting(@NonNull @NonNull WxCpDocModifySafetySettingRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/mod_doc_safty_setting?access_token=ACCESS_TOKEN
request - 修改文档安全设置请求WxErrorException - the wx error exception@Deprecated default WxCpBaseResp docModifySaftySetting(@NonNull @NonNull WxCpDocModifySaftySettingRequest request) throws WxErrorException
docModifySafetySetting(WxCpDocModifySafetySettingRequest) instead.WxErrorExceptionWxCpDocSheetBatchUpdateResponse docBatchUpdate(@NonNull @NonNull WxCpDocSheetBatchUpdateRequest request) throws WxErrorException
注意: 1.批量更新请求中的各个操作会逐个按顺序执行,直到全部执行完成则请求返回,或者其中一个操作报错则不再继续执行后续的操作 2.每一个更新操作在执行之前都会做请求校验(包括权限校验、参数校验等等),如果校验未通过则该更新操作会报错并返回,不再执行后续操作 3.单次批量更新请求的操作数量 <= 5
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/spreadsheet/batch_update?access_token=ACCESS_TOKEN
request - 编辑表格内容请求参数WxErrorException - the wx error exceptionWxCpDocSheetProperties getSheetProperties(@NonNull @NonNull String docId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/spreadsheet/get_sheet_properties?access_token=ACCESS_TOKEN
docId - 在线表格的docidWxErrorExceptionWxCpDocSheetData getSheetRangeData(@NonNull @NonNull WxCpDocSheetGetDataRequest request) throws WxErrorException
查询范围行数 <=1000 查询范围列数 <=200 范围内的总单元格数量 <=10000
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/spreadsheet/get_sheet_range_data?access_token=ACCESS_TOKEN
request - 获取指定范围内的在线表格信息请求参数WxErrorExceptionWxCpDocData docGetData(@NonNull @NonNull WxCpDocGetDataRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_doc_data?access_token=ACCESS_TOKEN
request - 获取文档数据请求参数WxErrorException - the wx error exceptionWxCpBaseResp docModify(@NonNull @NonNull WxCpDocModifyRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/mod_doc?access_token=ACCESS_TOKEN
request - 编辑文档内容请求参数WxErrorException - the wx error exceptionWxCpDocImageUploadResult docUploadImage(@NonNull @NonNull File file) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/upload_doc_image?access_token=ACCESS_TOKEN
file - 图片文件WxErrorException - the wx error exceptionWxCpBaseResp docAddAdmin(@NonNull @NonNull WxCpDocAdminRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/add_admin?access_token=ACCESS_TOKEN
request - 文档高级功能账号请求WxErrorException - the wx error exceptionWxCpBaseResp docDeleteAdmin(@NonNull @NonNull WxCpDocAdminRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/del_admin?access_token=ACCESS_TOKEN
request - 文档高级功能账号请求WxErrorException - the wx error exceptionWxCpDocAdminListResult docGetAdminList(@NonNull @NonNull String docId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_admin_list?access_token=ACCESS_TOKEN
docId - 文档 docidWxErrorException - the wx error exceptionWxCpDocSmartSheetAuth smartSheetGetAuth(@NonNull @NonNull WxCpDocSmartSheetAuthRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/smartsheet/get_sheet_auth?access_token=ACCESS_TOKEN
request - 智能表格内容权限请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetModifyAuth(@NonNull @NonNull WxCpDocSmartSheetModifyAuthRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/smartsheet/mod_sheet_auth?access_token=ACCESS_TOKEN
request - 修改智能表格内容权限请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetGetSheet(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetAddSheet(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetDeleteSheet(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetUpdateSheet(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetGetViews(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetAddView(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetDeleteViews(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetUpdateView(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetGetFields(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetAddFields(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetDeleteFields(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetUpdateFields(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetGetRecords(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpDocSmartSheetResult smartSheetAddRecords(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetDeleteRecords(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpBaseResp smartSheetUpdateRecords(@NonNull @NonNull WxCpDocSmartSheetRequest request) throws WxErrorException
request - 智能表格请求WxErrorException - the wx error exceptionWxCpFormCreateResult formCreate(@NonNull @NonNull WxCpFormCreateRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/create_collect?access_token=ACCESS_TOKEN
request - 创建收集表请求WxErrorException - the wx error exceptionWxCpBaseResp formModify(@NonNull @NonNull WxCpFormModifyRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/modify_collect?access_token=ACCESS_TOKEN
request - 编辑收集表请求WxErrorException - the wx error exceptionWxCpFormInfoResult formInfo(@NonNull @NonNull String formId) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_form_info?access_token=ACCESS_TOKEN
formId - 收集表idWxErrorException - the wx error exceptionWxCpFormStatisticResult formStatistic(@NonNull @NonNull List<WxCpFormStatisticRequest> requests) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_form_statistic?access_token=ACCESS_TOKEN
requests - 收集表统计请求数组WxErrorException - the wx error exceptiondefault WxCpFormStatistic formStatistic(@NonNull @NonNull WxCpFormStatisticRequest request) throws WxErrorException
request - 收集表统计请求WxErrorException - the wx error exceptionWxCpFormAnswer formAnswer(@NonNull @NonNull WxCpFormAnswerRequest request) throws WxErrorException
请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedoc/get_form_answer?access_token=ACCESS_TOKEN
request - 收集表答案请求WxErrorException - the wx error exceptionCopyright © 2026. All rights reserved.