• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
秦大田的院子
博客园    首页    新随笔    联系   管理    订阅  订阅
using the SubmitFile method of the OfficialFile.asmx service

When using the SubmitFile method of the OfficialFile.asmx service, I was returned this value: NotFound

NotFound

Simple fix was to add my account to the Records Center Web Service Submitters group on the site.

Healthy return message from the service:
“Successhttp://site/_layouts/DocIdRedir.aspx?ID=AHVCF7U4ZST3-8-55&hintUrl=myLibTestA%2ftest1_2F4IOO.docx”

Good example on how to upload load files to the Drop Off Library using OfficialFile.asmx service.
https://msdn.microsoft.com/en-us/library/office/gg650433(v=office.14).aspx

The post outlines setting up routing rules and submitting files.

More info on the web service can be found here:
http://download.microsoft.com/download/8/5/8/858F2155-D48D-4C68-9205-29460FD7698F/[MS-OFFICIALFILE].pdf

Value                                                   Meaning
Success                                                    The operation is successful.
MoreInformation                                  The operation is successful but further action is needed.
InvalidRouterConfiguration               The operation failed because the repository was not configured for routing.
InvalidArgument                                   The operation failed because of an invalid argument.
InvalidUser                                             The operation failed because of an invalid user.
NotFound                                                The operation failed because the user was not authorized to submit files.
FileRejected                                            The operation failed because of a rejected file.
UnknownError                                       The operation failed because of an unknown error.

posted on 2020-04-17 10:44  秦大田的院子  阅读(116)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3