How to copy an item from one list another using copy.asmx in nitnext call web service

  • 9 March 2018
  • 3 replies
  • 35 views

Badge +3

How to copy an item from one list another using copy.asmx in nitnext call web service

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<soap:Header>
</soap:Header>
<soap:Body>
<m:CopyIntoItems>
<m:SourceUrl>string</m:SourceUrl>
<m:DestinationUrls>
<m:string>string</m:string>
</m:DestinationUrls>
<m:Fields>
<m:FieldInformation Type="Invalid | Integer | Text | Note | DateTime | Counter | Choice | Lookup | Boolean | Number | Currency | URL | Computed | Threading | Guid | MultiChoice | GridChoice | Calculated | File | Attachments | User | Recurrence | CrossProjectLink | ModStat | AllDayEvent | Error" DisplayName="string" InternalName="string" Id="guid" Value="string">
</m:FieldInformation>
</m:Fields>
<m:Stream>base64Binary</m:Stream>
</m:CopyIntoItems>
</soap:Body>
</soap:Envelope>

What should be the value of SourceUrl and Destinationurl


3 replies

Userlevel 5
Badge +14

copy.asmx webservice is meant to work on libraries and documents within it.

work work on list item you should use lists.asmx webservice

Badge +3

thank you

Userlevel 5
Badge +14

‌, if you're satisfied with the answer and it's all you needed, please mark it correct.

Reply