How to use SP.MoveCopyUtil to copy (or move) files (or folders)

321
Views
Profile photo of Balamurugan Kailasam
About The Author
-

2 Comments

  • Profile photo of Anil Dutt
    Anil Dutt
    Reply Report user

    Hi,

    i m trying to do copy folder with REST api like this

    /_api/SP.MoveCopyUtil.CopyFolder

    POST data is 

    {“srcUrl”:”https://test.sharepoint.com/_api/Shared Documents/CONS0006/PermWPS”,”destUrl”:”https://test.sharepoint.com/_api/Shared Documents/CONS0006/6″}

    In response it is showing 

    CopyFolder=(null)

    And no folder copied 

    Any idea?

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">