I have three questions:
1. Is there a way of auto refreshing data from a consumed RESTful service say after every 5mins?
2. Can I view data from a RESTful service like I would when I right click normal entity -> show data, without building a UI for it? This is not an option on structures which are created when you consume a REST service.
3. Can I copy data from structures to identical entities?
Hi Mganda,
Hello maganda,
1) it is possible to refresh your rest API using timer.
2) you will check your data from service center
Go to Service center - monitoring - integration log
3) it is possible to pass structure and create ideal entity to save or strong API response
Thanks and Regards,
Akshay Deshpande
Thanks Akshay.
I am not able to view my data on service center as you suggested.See image attached.
Hello mganda,
That's only visible when you hit that API. Using browser,timer,etc. That time you got request and response in integration.
For testing purpose at consume time you will test API as kilian already said.
Thanks
In addition to what Akshay says, you also need to increase the logging level of the REST API. I wrote something about that a while ago.
Thank you Kilian,Follow up comments and questions....
1. My intention is to have data synched with data from the source, that would mean refreshing the service on a regular interval. I would like to automate this process. A timer would help I hope because of my inadequate JavaScript knowledge.
2. Yes I see JSON data, just like it is when you consume the service. As you mentioned, it is not as good to look at as it is in an entity format(tabular).
3. I have created my entity to match the structure exactly, how do I go about importing data to the entity and can it also be auto-refreshed or it is a one time deal only?