Skip to main content

Resumen

Master data are the shared catalogs that Work Orders reference — agrochemical products (formulateds), applicators, machines, units, and labour types. You must sync these before creating any Work Order, since each supply and labour line requires valid IDs from these catalogs.
Most master data is read-only from third-party — you query it from SIMA’s global catalog and store the IDs locally. Applicators and Machines are the exception: they support full CRUD (create, update, delete).

Mapa de datos maestros

EntityCRUDScopeRequired for
FormulatedsRead onlyGlobal + societySupply lines in OTs
Active IngredientsRead onlyGlobalFormulated metadata
UnitsRead onlyGlobalFormulated quantities
ApplicatorsFull CRUDSocietyLabour lines in OTs
MachinesRead onlySocietyLabour lines in OTs
Work Order Labour TypesRead onlyGlobalLabour type classification
Work Order Labour Type CategoriesRead onlyGlobalLabour type grouping

Formulateds

Formulateds are agrochemical products (herbicides, fertilizers, fungicides, etc.). The catalog includes both SIMA’s global products and your society’s own records.

List

GET /api/v3/third_party/formulateds
Key filters:
ParameterTypeDescription
namestringSearch by commercial brand name
use_idintFilter by formulate use (herbicide, fungicide, etc.)
activeboolActive records only
updated_at_fromdatetimeDetect catalog changes
Response:
{
  "items": [
    {
      "id": 8844,
      "commercial_brand": "Glifosato 48 SL",
      "formulation_type_id": 195,
      "formulated_use_id": 15,
      "formulated_unit_id": 3,
      "active_ingredients": [
        { "active_ingredient_id": 15, "concentration": "48.000" }
      ],
      "external_code": null,
      "active": true
    }
  ],
  "current_page": 1,
  "next_page": 2,
  "total_pages": 6061,
  "total_items": 36364
}
The formulateds catalog is large (30,000+ records). Always filter by active=true and use updated_at_from on subsequent syncs rather than pulling the full catalog every time.

Matching with your system’s products

If your ERP has its own product catalog, use external_code or external_reference to store your product ID on the SIMA record. This allows reliable lookups without name-matching.
  • GET /api/v3/third_party/active_ingredients — ingredient catalog
  • GET /api/v3/third_party/formulate_uses — use categories (herbicide, fungicide, etc.)
  • GET /api/v3/third_party/formulation_types — formulation types (SC, WG, EC, etc.)

Applicators

Applicators are the people or contractor companies that execute field operations. Unlike formulateds, applicators are society-scoped and support full CRUD.

List

GET /api/v3/third_party/applicators
Response:
{
  "items": [
    {
      "id": 596,
      "name": "Sanchez Ricardo",
      "address": "Colón 56",
      "phone_number": "03444-15501565",
      "email": null,
      "machines": [640, 1081],
      "own": false,
      "external_code": null,
      "active": true
    }
  ]
}
Note: machines is an array of machine IDs associated to this applicator.

Create

POST /api/v3/third_party/applicators
{
  "name": "Juan Rodríguez",
  "address": "Av. San Martín 123",
  "phone_number": "03492-123456",
  "email": "juan@example.com",
  "external_code": "YOUR-ERP-APPLICATOR-ID"
}

Update

PATCH /api/v3/third_party/applicators/{id}

Delete

DELETE /api/v3/third_party/applicators/{id}

Machines

Machines represent equipment used in field operations (sprayers, tractors, etc.). They are society-scoped and can be associated to applicators.

List

GET /api/v3/third_party/machines
Key filters: name, active, updated_at_from

Units

Units are measurement units used in formulated quantities (liters, kilograms, etc.).

List

GET /api/v3/third_party/units
Units are a global catalog — query once and cache locally. They rarely change.

Work Order Labour Types

Labour types classify the kind of work in a labour line (spraying, seeding, harvest, etc.).
GET /api/v3/third_party/application_order_labour_types
Key filters: active, updated_at_from

List (v2 — legacy)

GET /api/v2/third_party/application_order_labour_types
Labour types have a wo_labour_type_category_id field that groups them. Query GET /api/v3/third_party/work_order_labour_type_categories for the category list.

Estrategia de sincronización recomendada

For initial setup and ongoing maintenance:
1

Initial full sync

Pull the full catalog once for each entity. For large catalogs like formulateds, paginate through all pages. Store id values mapped to your own product IDs using external_code.
2

Incremental sync

On subsequent runs, use updated_at_from set to your last sync timestamp. Only pull records that changed since then.
3

Detect deletions

Use deleted_at_from with your last sync timestamp to find soft-deleted records and mark them inactive in your system.
For the full details on audit filters, see the Sync Strategy guide.

Próximos pasos

Work Orders

Now that master data is ready, create your first Work Order

Sync Strategy

How to efficiently keep master data up to date