copyTo Web服务获取错误“NotFound” [英] copyTo web service getting error "NotFound"
问题描述
Hi Team,
我正在使用SPD copyTo方法将文件从Library复制到List。
I am working with SPD copyTo method for copying file from Library to List.
获取NotFound错误。
getting NotFound error.
环境:Sharepoint服务器2016,SPD 2013
Environments: Sharepoint server 2016, SPD 2013
HTTP电话: [%工作流程背景:当前网站网址%] _ api / web / GetFileByServerRelativeUrl ('sites / sitename / listname / Test.txt')/ copyTo(strNewUrl ='sites/sitename/Lists/ listname / Attachments / itemID / Test.txt',bOverWrite
= true)
HTTP Call: [%Workflow Context:Current Site URL%]_api/web/GetFileByServerRelativeUrl('sites/sitename/listname/Test.txt')/copyTo(strNewUrl='sites/sitename/Lists/listname/Attachments/itemID/Test.txt',bOverWrite = true)
请帮助我。
srinu.mandapalli@gmail.com
srinu.mandapalli@gmail.com
推荐答案
嗨Srinu,
Hi Srinu,
copyTo需要一个POST,你不能通过浏览器导航到
。 msdn.microsoft.com/en-us/library/office/...
将文件复制到目标网址。
Copies the file to the destination URL.
Endpoint / copyto( strNewUrl , bOverWrite ) /copyto(strNewUrl, bOverWrite) 参数 类型: 字符串 Type: String Type: Boolean Type: Boolean HTTP方法 POST 回复 无 这篇关于copyTo Web服务获取错误“NotFound”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取
|
15天全站免登陆
|