> ## 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

> Lista campañas maestras de la sociedad del usuario autenticado (Third Party V3).

**Query:** `page`, `size` (paginación); `id`, `name`, `cultivation_id`, `planting_time_id`, `cycle_id`, `date_from`, `date_to` (filtros de entidad); `created_at_from/to`, `updated_at_from/to`, `deleted_at_from/to`, `active` (auditoría Third Party).



## OpenAPI

````yaml /openapi.yaml get /api/v3/third_party/master_campaigns
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/master_campaigns:
    get:
      tags:
        - Version 3 > Master Campaigns
      summary: List
      description: >-
        Lista campañas maestras de la sociedad del usuario autenticado (Third
        Party V3).


        **Query:** `page`, `size` (paginación); `id`, `name`, `cultivation_id`,
        `planting_time_id`, `cycle_id`, `date_from`, `date_to` (filtros de
        entidad); `created_at_from/to`, `updated_at_from/to`,
        `deleted_at_from/to`, `active` (auditoría Third Party).
      parameters:
        - name: X-SIMA-APIKEY
          in: header
          schema:
            type: string
          example: '{{new_api_key}}'
        - name: X-SIMA-SYSTEM-ID
          in: header
          schema:
            type: string
          example: '{{system_id}}'
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: page
          in: query
          schema:
            type: integer
          description: Número de página.
          example: '1'
        - name: size
          in: query
          schema:
            type: integer
          description: Ítems por página.
          example: '5'
      responses:
        '200':
          description: OK
          headers:
            Date:
              schema:
                type: string
                example: Mon, 02 Sep 2024 18:46:51 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.38 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.3.7
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Content-Length:
              schema:
                type: integer
                example: '352'
            Connection:
              schema:
                type: string
                example: close
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                items:
                  - id: 8747
                    name: Soja | De primera | 2019/2020
                    cultivation_id: 1
                    planting_time_id: 1
                    cycle_id: 7
                    date: '2020-03-10T22:06:17-03:00'
                    created_at: '2020-03-10T22:06:17-03:00'
                    modified_at: '2020-03-10T22:06:17-03:00'
                    deleted_at: null
                    active: false
                  - id: 9161
                    name: Trigo | De primera | 2019/2020
                    cultivation_id: 2
                    planting_time_id: 1
                    cycle_id: 7
                    date: '2020-03-10T22:06:24-03:00'
                    created_at: '2020-03-10T22:06:24-03:00'
                    modified_at: '2020-03-10T22:06:24-03:00'
                    deleted_at: null
                    active: false
                  - id: 9218
                    name: Maíz | De primera | 2018/2019
                    cultivation_id: 4
                    planting_time_id: 1
                    cycle_id: 6
                    date: '2020-03-10T22:06:25-03:00'
                    created_at: '2020-03-10T22:06:25-03:00'
                    modified_at: '2020-03-10T22:06:25-03:00'
                    deleted_at: null
                    active: false
                  - id: 10076
                    name: Maíz | De primera | 2019/2020
                    cultivation_id: 4
                    planting_time_id: 1
                    cycle_id: 7
                    date: '2019-05-30T10:04:30-03:00'
                    created_at: '2020-03-10T22:06:56-03:00'
                    modified_at: '2020-03-10T22:06:56-03:00'
                    deleted_at: null
                    active: false
                  - id: 12633
                    name: Soja | De primera | 2020/2021
                    cultivation_id: 1
                    planting_time_id: 1
                    cycle_id: 8
                    date: '2020-01-29T13:25:35-03:00'
                    created_at: '2020-03-10T22:09:34-03:00'
                    modified_at: '2020-03-10T22:09:34-03:00'
                    deleted_at: null
                    active: false
                current_page: 1
                next_page: 2
                total_pages: 11
                total_items: 51
        '500':
          description: Internal Server Error
          headers:
            Date:
              schema:
                type: string
                example: Fri, 23 Aug 2024 17:56:10 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.38 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.3.7
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: string
                example: a2a747
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/a2a747
            Content-Length:
              schema:
                type: integer
                example: '2381'
            Connection:
              schema:
                type: string
                example: close
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                error:
                  code: 0
                  message: >-
                    Page "9999" does not exist. The currentPage must be inferior
                    to "3163"
                  exception:
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 274
                      function: normalizeOutOfRangeCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 9999
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 246
                      function: filterOutOfRangeCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 9999
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 200
                      function: filterCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 9999
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Resource/Paginator/PaginatorResource.php
                      line: 51
                      function: setCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 9999
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Controller/v3/ThirdParty/MasterCampaignsController.php
                      line: 108
                      function: getPaginator
                      class: Kodear\ApiBundle\Resource\Paginator\PaginatorResource
                      type: '->'
                      args: []
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
                      line: 151
                      function: list
                      class: >-
                        Kodear\ApiBundle\Controller\v3\ThirdParty\MasterCampaignsController
                      type: '->'
                      args:
                        - attributes: {}
                          request: {}
                          query: {}
                          server: {}
                          files: {}
                          cookies: {}
                          headers: {}
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
                      line: 68
                      function: handleRaw
                      class: Symfony\Component\HttpKernel\HttpKernel
                      type: '->'
                      args:
                        - attributes: {}
                          request: {}
                          query: {}
                          server: {}
                          files: {}
                          cookies: {}
                          headers: {}
                        - 1
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php
                      line: 200
                      function: handle
                      class: Symfony\Component\HttpKernel\HttpKernel
                      type: '->'
                      args:
                        - attributes: {}
                          request: {}
                          query: {}
                          server: {}
                          files: {}
                          cookies: {}
                          headers: {}
                        - 1
                        - true
                    - file: /var/www/html/web/app_dev.php
                      line: 15
                      function: handle
                      class: Symfony\Component\HttpKernel\Kernel
                      type: '->'
                      args:
                        - attributes: {}
                          request: {}
                          query: {}
                          server: {}
                          files: {}
                          cookies: {}
                          headers: {}
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)

````