> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tp.sima.ag/llms.txt
> Use this file to discover all available pages before exploring further.

# List

> Retorna asociaciones entre lotes SIMA y códigos externos de sistemas de integración. Parámetros: id, plot_id, system_id, external_code, external_reference, page, size, created_at_from, created_at_to, updated_at_from, updated_at_to, deleted_at_from, deleted_at_to, active. Requiere permiso LIST sobre Plot.



## OpenAPI

````yaml /openapi.yaml get /api/v3/third_party/external_plots_associations
openapi: 3.0.0
info:
  title: SIMA Third-Party API
  description: >-
    Referencia completa de la API de Terceros de SIMA. Generada automáticamente
    desde la colección de Postman. Para guías de integración, visitá
    docs.tp.sima.ag.
  version: 1.0.0
servers:
  - url: https://api.qa.sima.ag
    description: Entorno de pruebas (QA)
  - url: https://api.sima.ag
    description: Producción
security:
  - bearerAuth: []
    systemId: []
tags:
  - name: Security
  - name: Version 1
  - name: Version 1 > Active Ingredients
  - name: Version 1 > Applicators
  - name: Version 1 > Application Order Labour Types
  - name: Version 1 > Assignments - Revisar
  - name: Version 1 > Campaigns
  - name: Version 1 > Companies
  - name: Version 1 > Components
  - name: Version 1 > Cultivations
  - name: Version 1 > Establishments
  - name: Version 1 > Farmers
  - name: Version 1 > Formulateds
  - name: Version 1 > FormulatedUse
  - name: Version 1 > Formulation Type
  - name: Version 1 > Machines
  - name: Version 1 > Master Campaigns
  - name: Version 1 > Planting Time
  - name: Version 1 > Plots
  - name: Version 1 > Scoutings
  - name: Version 1 > Scoutings > Adversity Categories
  - name: Version 1 > Scoutings > Adverstiy Kinds
  - name: Version 1 > Scoutings > Adversity
  - name: Version 1 > Scoutings > Scouting
  - name: Version 1 > Units
  - name: Version 1 > VoucherType
  - name: Version 1 > Warehouses
  - name: Version 1 > WorkOrder
  - name: Version 1 > Work Order Labour Type Attribute
  - name: Version 1 > Work Order Labour Type Category
  - name: Version 2
  - name: Version 2 > Establishments
  - name: Version 2 > Plots
  - name: Version 3
  - name: Version 3 > Activity Statuses
  - name: Version 3 > Applicators
  - name: Version 3 > Application Order Labour Types
  - name: Version 3 > Campaign
  - name: Version 3 > Cultivations
  - name: Version 3 > Establishments
  - name: Version 3 > External Plot Association
  - name: Version 3 > External Systems
  - name: Version 3 > Fertilization Control
  - name: Version 3 > Formulated
  - name: Version 3 > Hydric States
  - name: Version 3 > IOT
  - name: Version 3 > IOT > ClimaticFactors
  - name: Version 3 > IOT > Device
  - name: Version 3 > IOT > Device Event
  - name: Version 3 > IOT > Device Event Protocol Result
  - name: Version 3 > IOT > Device Event Protocol
  - name: Version 3 > IOT > Device Event Sample
  - name: Version 3 > IOT > Device Event Sample Group
  - name: Version 3 > IOT > Device Event Measure Threshold
  - name: Version 3 > IOT > WeatherAnomalies
  - name: Version 3 > IOT > WeatherAnomalyTypes
  - name: Version 3 > Machines
  - name: Version 3 > Master Campaigns
  - name: Version 3 > Master Campaign Cycles
  - name: Version 3 > Phenological States
  - name: Version 3 > Planting Control
  - name: Version 3 > Planting Times
  - name: Version 3 > Plant Stand Control
  - name: Version 3 > Plots
  - name: Version 3 > Plot States
  - name: Version 3 > Progress Report
  - name: Version 3 > Harvest Progress
  - name: Version 3 > Planting Progress
  - name: Version 3 > SIlo Bag
  - name: Version 3 > SIlo Bag > Silobag Scoutings & Extractions
    description: Endpoints to manage silobag scoutings and extractions.
  - name: Version 3 > SIlo Bag > Silobag Campaigns
    description: Endpoints to manage silobag campaigns.
  - name: Version 3 > Scoutings
  - name: Version 3 > Scoutings > Scouting
  - name: Version 3 > Scoutings > Measure
  - name: Version 3 > Tags
  - name: Version 3 > Units
  - name: Version 3 > Warehouses
  - name: Version 3 > Waypoint
  - name: Version 3 > Work Orders
  - name: Version 3 > Work Order Labour Type Categories
paths:
  /api/v3/third_party/external_plots_associations:
    get:
      tags:
        - Version 3 > External Plot Association
      summary: List
      description: >-
        Retorna asociaciones entre lotes SIMA y códigos externos de sistemas de
        integración. Parámetros: id, plot_id, system_id, external_code,
        external_reference, page, size, created_at_from, created_at_to,
        updated_at_from, updated_at_to, deleted_at_from, deleted_at_to, active.
        Requiere permiso LIST sobre Plot.
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
        - name: X-SIMA-SYSTEM-ID
          in: header
          schema:
            type: string
          example: '{{system_id}}'
        - name: X-SIMA-APIKEY
          in: header
          schema:
            type: string
          example: '{{new_api_key}}'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: 'Ejemplo: Básico (sin params, page=1, size=10 por defecto)'
                  value:
                    items:
                      - id: 1
                        system_id: 1
                        external_code: EXT-001
                        external_reference: REF-LOTE-A
                        created_at: '2025-01-15T10:30:00+00:00'
                        modified_at: '2025-01-15T10:30:00+00:00'
                        deleted_at: null
                        active: true
                      - id: 2
                        system_id: 1
                        external_code: EXT-002
                        external_reference: REF-LOTE-B
                        created_at: '2025-01-16T14:00:00+00:00'
                        modified_at: '2025-01-16T14:00:00+00:00'
                        deleted_at: null
                        active: true
                    current_page: 1
                    next_page: 1
                    total_pages: 1
                    total_items: 2
                example-1:
                  summary: 'Ejemplo: Con filtros (plot_id, system_id)'
                  value:
                    items:
                      - id: 1
                        system_id: 1
                        external_code: EXT-001
                        external_reference: REF-LOTE-A
                        created_at: '2025-01-15T10:30:00+00:00'
                        modified_at: '2025-01-15T10:30:00+00:00'
                        deleted_at: null
                        active: true
                    current_page: 1
                    next_page: 1
                    total_pages: 1
                    total_items: 1
                example-2:
                  summary: >-
                    Ejemplo: Con rango de fechas (created_at_from,
                    created_at_to)
                  value:
                    items:
                      - id: 1
                        system_id: 1
                        external_code: EXT-001
                        external_reference: REF-LOTE-A
                        created_at: '2025-01-15T10:30:00+00:00'
                        modified_at: '2025-01-15T10:30:00+00:00'
                        deleted_at: null
                        active: true
                    current_page: 1
                    next_page: 1
                    total_pages: 1
                    total_items: 1
                example-3:
                  summary: 'Ejemplo: Con todos los filtros'
                  value:
                    items:
                      - id: 1
                        system_id: 1
                        external_code: EXT-001
                        external_reference: REF-LOTE-A
                        created_at: '2025-01-15T10:30:00+00:00'
                        modified_at: '2025-01-15T10:30:00+00:00'
                        deleted_at: null
                        active: true
                    current_page: 1
                    next_page: 1
                    total_pages: 1
                    total_items: 1
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
              example:
                error:
                  code: validation.invalid_plot_id
                  message: El parámetro plot_id es inválido
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
              example:
                error:
                  code: authentication.required
                  message: API Key es requerida
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
              example:
                error:
                  code: access.denied
                  message: No tiene permisos para listar asociaciones de lotes externos
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: access_token obtenido via POST /api/v2/login
    systemId:
      type: apiKey
      in: header
      name: X-SIMA-SYSTEM-ID
      description: Identificador del sistema integrador (8 para Third-Party API)

````