on 2019 Nov 27 12:34 PM
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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
11 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.