Resumen
SIMA’s scouting module lets third-party apps register and retrieve field observations — pests, diseases, weeds, and other adversities detected during crop monitoring. The data flows from external scouting tools (sensors, mobile apps, drones) into SIMA, where agronomists can review and act on it.Mapa de entidades
Paso 1 — Sync the adversity catalog
Before registering observations, sync the adversity catalog (read-only, global). These are the reference entities your observations will point to.Adversity Kinds
Top-level classification: Insects, Diseases, Weeds, etc.name, modified_at_from, modified_at_to, deleted_at_from
Response:
Adversity Categories
Sub-classification within each kind.Adversities
Specific pests, diseases, or weeds with scientific names and descriptions.name, scientific_name, adv_category_id, modified_at_from
Response:
The adversity catalog changes infrequently. Sync it weekly or on startup, using
modified_at_from for incremental updates.Paso 2 — Register and retrieve scouting sessions
A scouting session represents a field visit or monitoring event for a specific campaign. It references one or more adversity IDs observed during that visit.List Scouting sessions
| Parameter | Type | Description |
|---|---|---|
campaign_id | int | Filter by campaign |
modified_at_from | datetime | Change detection |
modified_at_to | datetime | Upper bound |
deleted_at_from | datetime | Detect deletions |
page / size | int | Pagination |
adversity_id in the array maps to a specific pest or disease from the adversity catalog. An ID can appear multiple times if multiple occurrences were recorded at different locations in the same session.
Typical integration patterns
Scouting app → SIMA
Your app detects adversities in the field and pushes observations to SIMA:- Map your app’s pest/disease catalog to SIMA adversity IDs (using
nameorscientific_namematching) - Create a scouting session via POST, including the
campaign_idand the list ofadversity_idsobserved - Store SIMA’s returned
idfor future reference or deletion
SIMA → external analytics platform
Pull scouting data from SIMA for analysis or reporting:- List campaigns for the establishments of interest
- Query
GET /api/v2/third_party/scouting?campaign_id={id}&modified_at_from={last_sync}for each campaign - Enrich with adversity details by cross-referencing
adversity_idsagainst your local adversity catalog cache
Frecuencia de sincronización
| Entity | Recommended sync |
|---|---|
| Adversity Kinds | Weekly or on startup |
| Adversity Categories | Weekly or on startup |
| Adversities | Weekly or on startup |
| Scouting sessions | Every 30–60 min during active crop season |
Próximos pasos
Sync Strategy
Apply audit filters to keep scouting data current
Work Orders
Create treatment orders based on scouting findings