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

Think I know where I messed up. I see that I didn't create a question, I created a discussion... May that's because I can't flag a response as the correct one? Can I change that?


You are correct. Discussions don't have a correct answer. I should have caught that. I don't believe you can change a discussion in to a question. Adding madhurigudiseva for input.


Thanks Chuck. It is correct Discussions don't have a correct answer. But as admins we can convert a discussion to a question and then the author should be able to mark any answer as correct.   Should I change this thread to a question?


Yes Madhuri, please do. Thanks!