cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send array from UI to Odata service GET call?

0 Kudos
582

Hi Team ,

I am working on a project where . i need to pass whole big array to the oData GET service and get the response .

Is it possible ? or any suggestions are welcome ?

Accepted Solutions (1)

Accepted Solutions (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Since you want to pass data to an OData service you will not use GET requests but PUT or POSTS request depending on the use case (Update existing entities or creating new entities).

Multiple updates or creates are best bundled by using $batch requests and there you would be able to group your requests in so called change sets if this is necessary. Change sets can be used to pass a bunch of requests in one logical unit of work.

Regards,

Andre

Answers (1)

Answers (1)

former_member1321
Participant
0 Kudos

If you want to pass a table of data from the UI to OData service, you can use the CREATE_DEEP_ENTITY method with a POST call. This method allows you to send a table containing data from UI to backend and then get a response.
You may have to tweak your entity properties and associations between entities to match your scenario.