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

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you update multiple records with the REST API?

MartinEnriquez
Contributor

Hi Folks,

 

I'm on Archer 6.3. 

 

I'm looking to see if I can update several content records with one request using Archer's REST API. Upon reviewing the documentation and examples, it seems the resource only allows for one content ID in the request body. Is this true, or is the resource capable of ingesting a different object with multiple content IDs?

 

Additionally, if it's not possible to fit more than one record in the request body, is the REST API more advantageous than the SOAP API for continuous requests? For instance, I know the SOAP API "UpdateRecords" method can take in an XML with multiple content record elements, so 100 records can be updated with two requests of 50 records each. With the REST API, it seems the only feasible way is 100 requests. Has anyone tested if 100 "REST" update requests complete faster than two "SOAP" update requests?

 

Thanks,

 

M

1 ACCEPTED SOLUTION

Accepted Solutions

JeffLetterman
Archer Employee
Archer Employee

Unfortunately, the REST API can only create/update records one at a time.

View solution in original post

1 REPLY 1

JeffLetterman
Archer Employee
Archer Employee

Unfortunately, the REST API can only create/update records one at a time.