Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

[WS] Update multiple records

SergeiBakhaev
Contributor III

Hello!

 

I need to update multiple records through web services.

According to guide, in UpdateRecords method I need to provide XML of multiple <Record> nodes.

But how to define which records should be updated? Where I suppose to set contentId of records?

In UpdateRecord there is a contentId parameter, but nothing stated for UpdateRecords method.

 

Thanks and best regards,

Sergei

1 ACCEPTED SOLUTION

Accepted Solutions

JeffLetterman
Archer Employee
Archer Employee

For the Record element, add the id attribute with the Content Id.  Here is an example XML string for the UpdateRecords‌ method.

<Records>
  <Record id="301264">
    <Field id="13867" name="Name" value="name updated 1" />
  </Record>
  <Record id="301265">
    <Field id="13867" name="Name" value="name updated 2" />
  </Record>
</Records>

 

If you are creating the SOAP message and get an error, check out https://community.rsa.com/docs/DOC-46874?sr=search&searchId=9af7478e-733d-4555-a873-5a526ce5da28&searchIndex=1

View solution in original post

1 REPLY 1

JeffLetterman
Archer Employee
Archer Employee

For the Record element, add the id attribute with the Content Id.  Here is an example XML string for the UpdateRecords‌ method.

<Records>
  <Record id="301264">
    <Field id="13867" name="Name" value="name updated 1" />
  </Record>
  <Record id="301265">
    <Field id="13867" name="Name" value="name updated 2" />
  </Record>
</Records>

 

If you are creating the SOAP message and get an error, check out https://community.rsa.com/docs/DOC-46874?sr=search&searchId=9af7478e-733d-4555-a873-5a526ce5da28&searchIndex=1