...
As we already know the country, districts, date range and crop(gram) we can keep the country, state, districts, date_range and crop id’s will be static.
To API path to fetch sub-districts “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district”.
Input parameters country_id, state_id and district_id
To API path to fetch village id “/product/country/{country_id}/state/{state_id}/district/{district_id}/sub-district/{subdistrict_id}/village“.
Input parameters country_id, state_id, district_id and village_id
To API path to fetch product(Acreage, Rainfall, harvest and temp) details API: “/product/{product_id}“.
...
IDSCP2 web socket will be used to send data securely from provider core to consumer core.
Provider connector
Consumer connector
...