I am currently working on developing an interface as part of a PoC for my enterprise. The goal is to consume the well-documented REST API provided by the Deutsche Bundesbank. In this implementation, users will be able to specify a start and end date and get back the values of the asset in this period, which will then be included in the API request.
While the API returns a JSON response that appears correct and complete, I am encountering the following issues when attempting to store the data in our database:
I would greatly appreciate your assistance in resolving these issues, as they are critical to the success of this PoC.
Thank you for your time and support.
Hi Hannes,
In your ApiOnClick client action you added a CreateOrUpdatebankinios. This action creates a SINGLE entity record with the values Zeit, Wert and timestemp (I guess you meant timestamp). I guess you assumed that the CreateOrUpdate action automatically iterates of values, but this is not the case. When you look at the mapping of the action for e.g. Zeit the mapping is now Data.Structure.Dimensions.Observation.Current.Values.Current.Id.
The "Current" in the value assignment refers to the current iteration of a list entry. Since you do not perform a For Each loop this refers to the first iteration of list.
No offense, but looking at your current implementation I strongly suggest that you reach out to either OutSystems or one of the partners for helping you to succeed with your Proof of Concept. It would be a real pity if you do not succeed just because you are not granted more time to learn how to develop with the platform.
Best
Stefan