AnsweredAssumed Answered

Create List item using Web Request

Question asked by scalder on Apr 17, 2015
Latest reply on May 19, 2016 by burked

Hello,

I am in a great need of help regarding configuration of Web Request. Let me start from the beginning. I need to make Nintex workflow to create an item in a list named News (for example). Based on the full Nintex version experience I am going to use a Soap request to _vti_bin/lists.asmx   UpdateListItems.

 

So I add Web Request and try to configure it:

URL: https://site/subsite/_vti_bin/Lists.asmx

Method: SOAP 1.1

Soap action: http://schemas.microsoft.com/sharepoint/soap/UpdateListItems

Body:

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

    <soap:Body>

        <UpdateListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">

            <listName>News</listName>

            <updates>

    <Batch OnError="Return">

     <Method ID="1" Cmd="New">

      <Field Name="Title">Test</Field>

    </Batch>

            </updates>

        </UpdateListItems>

    </soap:Body>

</soap:Envelope>

 

As a result I get Error 400: bad Request.

 

I can't find any differences from Web Request action for O365 ... Don't understand what I am doing wrong

 

Outcomes