Bulk Load to a REST SN Endpoint

guiguille
Giga Expert

Hey guys,

I'm setting an integration where I'll receive information via a REST enpoint I created. It was requested to send more than one record per call, but using the REST API I'm trying to send several records in one call, but only the first one gets created.

My approach is the following (it was requested to receive XML):

<request>

  <entry>

  <variable1>Value1</variable1>

  ...

  <variableN>ValueN</variableN>

  </entry>

  <entry>

  <variable1>Value1</variable1>

  ...

  <variableN>ValueN</variableN>

  </entry>

</request>

But only the first record is inserted, i don't even see the rest of them in the logs. I've done some digging, and I saw that with the SOAP endpoint, multiple inserts are doable, so I'm thinking that maybe I'm missing something in the XML I'm using?

Thanks in advance,

Regards

8 REPLIES 8

Chuck Tomasi
Tera Patron

Hi Guillermo,



You might find this discussion helpful:



Require REST multi insert operation equivalent to already available SOAP call


I know it's not the answer you were hoping for, but it is an answer.



I would appreciate it if you please marked my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you


Hey Chuck,



You read my mind when you sent that link. I was planning to mark it as the correct response, but I'm not getting the "Correct Answer" button anywhere. Strange, never happened before. I'm logged in with the user that created the ticket, and I even tried to go in the privacy mode in case something was wrong with my session, but no luck.


Thanks Guillermo. Are you viewing this in the inbox view? If so, click the blue subject up near the top and you should see the "Correct Answer" icons/badges on the responses. If you still don't see them, let me know and I'll reach out to the community support people. Thanks.