About
This issue comes from OpenAgri-IrrigationManagement integration in SIP4's Smart Irrigation Controller application.
Problem
To get ET0 data for specified location/parcel current workflow is:
- Using POST request create new instance of location/parcel in IM application.
- Using GET request and created instance ID and additional parameters to retrieve ET0 data.
Implementing this workflow in our application requires its database to store that ID in our objects. This can lead to further synchronization problems.
Suggestion
Implementation of additional IM API endpoint, where using GET request with location/parcel data and start/end datetime parameters, we receive ET0 data on demand. If it is not limited by the workflow of calculating ET0 values this implementation would be very helpful in SIP4.