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

# Create



## OpenAPI

````yaml /openapi.yaml post /api/v3/third_party/waypoints
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/waypoints:
    post:
      tags:
        - Version 3 > Waypoint
      summary: Create
      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
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: >-
                "{\n  \"sample_number\": 12345,\n  \"accuracy\": 3.5,\n 
                \"waypoint_kind\": \"scouting\",\n  \"parent_id\": 1001,\n 
                \"parent_type\": \"plot\",\n  \"weed_id\": 25,\n  \"insect_id\":
                12,\n  \"disease_id\": 8,\n  \"file_name\":
                \"waypoint_photo_001.jpg\",\n  \"firebase_storage_url\":
                \"https://firebasestorage.googleapis.com/v0/b/project/o/images%2Fwaypoint_001.jpg\",\n 
                \"observations\": \"Presencia de malezas en el sector norte del
                lote\",\n  \"lat\": -34.6037,\n  \"lon\": -58.3816,\n 
                \"ref_number\": \"WP-2024-001\"\n}"
      responses:
        '201':
          description: Created
          headers:
            Date:
              schema:
                type: string
                example: Fri, 03 Oct 2025 20:05:48 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.54 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.4.33
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: string
                example: 962e2f
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/962e2f
            Set-Cookie:
              schema:
                type: string
                example: >-
                  sf_redirect=%7B%22token%22%3A%22962e2f%22%2C%22route%22%3A%22api_v3_create_third_party_waypoints%22%2C%22method%22%3A%22POST%22%2C%22controller%22%3A%7B%22class%22%3A%22Kodear%5C%5CApiBundle%5C%5CController%5C%5Cv3%5C%5CThirdParty%5C%5CWaypointController%22%2C%22method%22%3A%22create%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fsrc%5C%2FKodear%5C%2FApiBundle%5C%2FController%5C%2Fv3%5C%2FThirdParty%5C%2FWaypointController.php%22%2C%22line%22%3A52%7D%2C%22status_code%22%3A201%2C%22status_text%22%3A%22Created%22%7D;
                  path=/; httponly
            Content-Length:
              schema:
                type: integer
                example: '574'
            Connection:
              schema:
                type: string
                example: close
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                id: 3601652
                sample_number: 12345
                accuracy: 3.5
                waypoint_kind: scouting
                parent_id: 1001
                parent_type: plot
                weed_id: null
                insect_id: null
                disease_id: null
                file_name: waypoint_photo_001.jpg
                firebase_storage_url: >-
                  https://firebasestorage.googleapis.com/v0/b/project/o/images%2Fwaypoint_001.jpg
                observations: Presencia de malezas en el sector norte del lote
                lat: -34.6037
                lon: -58.3816
                ref_number: WP-2024-001
                external_code: null
                created_at: '2025-10-03T17:05:49-03:00'
                modified_at: '2025-10-03T17:05:49-03:00'
                deleted_at: null
                active: true
        '400':
          description: Bad Request
          headers:
            Date:
              schema:
                type: string
                example: Fri, 03 Oct 2025 20:07:20 GMT
            Server:
              schema:
                type: string
                example: Apache/2.4.54 (Debian)
            X-Powered-By:
              schema:
                type: string
                example: PHP/7.4.33
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            X-Debug-Token:
              schema:
                type: string
                example: ee4b42
            X-Debug-Token-Link:
              schema:
                type: string
                example: http://localhost:8080/app_dev.php/_profiler/ee4b42
            Set-Cookie:
              schema:
                type: string
                example: >-
                  sf_redirect=deleted; expires=Thu, 03-Oct-2024 20:07:20 GMT;
                  Max-Age=0; path=/; httponly
            Content-Length:
              schema:
                type: integer
                example: '2368'
            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: El parámetro file_name es un parámetro requerido.
                  exception:
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Validations/ThirdParty/V3/Waypoint/WaypointValidation.php
                      line: 11
                      function: validateRequiredParameter
                      class: Kodear\ApiBundle\Validations\BaseFilterValidation
                      type: '->'
                      args:
                        - - sample_number
                          - accuracy
                          - waypoint_kind
                          - parent_id
                          - parent_type
                          - weed_id
                          - insect_id
                          - disease_id
                          - file_name
                          - firebase_storage_url
                          - observations
                          - lat
                          - lon
                          - ref_number
                    - file: >-
                        /var/www/html/src/Kodear/ApiBundle/Controller/v3/ThirdParty/WaypointController.php
                      line: 68
                      function: validate
                      class: >-
                        Kodear\ApiBundle\Validations\ThirdParty\V3\Waypoint\WaypointValidation
                      type: '->'
                      args:
                        - sample_number: int
                          accuracy: float
                          waypoint_kind: string_not_null
                          parent_id: int
                          parent_type: string_not_null
                          weed_id: no_validation
                          insect_id: no_validation
                          disease_id: no_validation
                          file_name: no_validation
                          firebase_storage_url: no_validation
                          observations: no_validation
                          lat: no_validation
                          lon: no_validation
                          ref_number: no_validation
                    - file: >-
                        /var/www/html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
                      line: 151
                      function: create
                      class: >-
                        Kodear\ApiBundle\Controller\v3\ThirdParty\WaypointController
                      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)

````