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



## OpenAPI

````yaml /openapi.yaml get /api/v2/third_party/adversity_categories
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/v2/third_party/adversity_categories:
    get:
      tags:
        - Version 1 > Scoutings > Adversity Categories
      summary: List
      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: 'Default: 1'
          example: '1'
        - name: size
          in: query
          schema:
            type: integer
          example: '10'
      responses:
        '200':
          description: OK
          headers:
            Date:
              schema:
                type: string
                example: Wed, 06 Dec 2023 15:25:26 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.25 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.3.6
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: integer
                example: '945537'
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/945537
            Vary:
              schema:
                type: string
                example: Accept-Encoding
            Content-Encoding:
              schema:
                type: string
                example: gzip
            Content-Length:
              schema:
                type: integer
                example: '280'
            Connection:
              schema:
                type: string
                example: close
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              examples:
                example-0:
                  summary: List - OK
                  value:
                    items:
                      - id: 1
                        adv_kind_id: 2
                        name: Acaros
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 2
                        adv_kind_id: 2
                        name: Barrenadores
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 3
                        adv_kind_id: 2
                        name: Bicho Bolita
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 4
                        adv_kind_id: 2
                        name: Bicudos
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 5
                        adv_kind_id: 2
                        name: Chicharrita
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 6
                        adv_kind_id: 2
                        name: Chinches
                        description: ''
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 32
                        adv_kind_id: 1
                        name: MA
                        description: Monocotiledoneas anuales
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 33
                        adv_kind_id: 1
                        name: DA
                        description: Dicotiledoneas anuales
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 34
                        adv_kind_id: 1
                        name: MP
                        description: Monocotiledoneas Perennes
                        modified_at: '2020-02-01T00:00:00-03:00'
                      - id: 35
                        adv_kind_id: 1
                        name: DP
                        description: Dicotiledoneas Perennes
                        modified_at: '2020-02-01T00:00:00-03:00'
                    current_page: 1
                    next_page: 2
                    total_pages: 7
                    total_items: 62
                example-1:
                  summary: List - Filter no data
                  value:
                    items: []
                    current_page: 1
                    next_page: 1
                    total_pages: 1
                    total_items: 0
        '400':
          description: Bad Request
          headers:
            Date:
              schema:
                type: string
                example: Wed, 06 Dec 2023 15:28:23 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.25 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.3.6
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: string
                example: 71348b
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/71348b
            Content-Length:
              schema:
                type: integer
                example: '2336'
            Connection:
              schema:
                type: string
                example: close
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                error:
                  code: 400
                  message: Formato de fecha inválido. Se espera Y-m-d\TH:i:sP.
                  exception:
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Strategy/Validations/ValidationStrategy.php
                      line: 64
                      function: checkDateFormat
                      class: Kodear\ApiBundle\Strategy\Validations\ValidationStrategy
                      type: '->'
                      args:
                        - '2021-01-01 00:00:00-00:00'
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Validations/BaseFilterValidation.php
                      line: 60
                      function: validate
                      class: Kodear\ApiBundle\Strategy\Validations\ValidationStrategy
                      type: '->'
                      args:
                        - date_format
                        - modified_at_from
                        - '2021-01-01 00:00:00-00:00'
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Controller/v2/ThirdParty/AdvCategoriesController.php
                      line: 91
                      function: validate
                      class: Kodear\ApiBundle\Validations\BaseFilterValidation
                      type: '->'
                      args:
                        - id: int_null
                          adv_kind_id: int_null
                          name: string_not_null
                          description: string_not_null
                          modified_at_from: date_format
                          modified_at_to: date_format
                          deleted_at_from: date_format
                          deleted_at_to: date_format
                          page: page
                          size: size
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
                      line: 151
                      function: getList
                      class: >-
                        Kodear\ApiBundle\Controller\v2\ThirdParty\AdvCategoriesController
                      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: {}
        '500':
          description: Internal Server Error
          headers:
            Date:
              schema:
                type: string
                example: Wed, 06 Dec 2023 15:26:14 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.25 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.3.6
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: string
                example: a2bdb9
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/a2bdb9
            Content-Length:
              schema:
                type: integer
                example: '2399'
            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 "10" does not exist. The currentPage must be inferior
                    to "7"
                  exception:
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 274
                      function: normalizeOutOfRangeCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 10
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 246
                      function: filterOutOfRangeCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 10
                    - file: >-
                        /var/www/html/vendor/pagerfanta/pagerfanta/lib/Core/Pagerfanta.php
                      line: 200
                      function: filterCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 10
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Service/ThirdParty/AdvCategoryService.php
                      line: 77
                      function: setCurrentPage
                      class: Pagerfanta\Pagerfanta
                      type: '->'
                      args:
                        - 10
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Controller/v2/ThirdParty/AdvCategoriesController.php
                      line: 97
                      function: getThirdPartyAdversityCategoriesPaginated
                      class: Kodear\ApiBundle\Service\ThirdParty\AdvCategoryService
                      type: '->'
                      args:
                        - {}
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
                      line: 151
                      function: getList
                      class: >-
                        Kodear\ApiBundle\Controller\v2\ThirdParty\AdvCategoriesController
                      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)

````