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

# Create a new GPS device

> Operacion: Create a new GPS device.



## OpenAPI

````yaml /generated/specs/sales.json post /api/v1/quoter/devices
openapi: 3.0.0
info:
  title: Raul API - Ventas
  description: >-
    Cotizaciones, pipeline, outreach comercial, equipos cotizables y ventas de
    equipamiento.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/quoter/devices:
    post:
      tags:
        - Quoter - Devices
      summary: Create a new GPS device
      description: 'Operacion: Create a new GPS device.'
      operationId: DevicesController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDeviceDto'
      responses:
        '201':
          description: Dispositivo creado exitosamente
        '400':
          description: >-
            Referencias de archivos inválidas, repetidas o superiores al límite,
            o moneda inexistente
      security:
        - bearerAuth: []
components:
  schemas:
    CreateDeviceDto:
      type: object
      properties:
        gps_model_name:
          type: string
          description: Device model name
        brand_id:
          type: number
          description: Brand ID
        category_id:
          type: number
          description: Category ID
        currency_id:
          type: number
          description: ID de moneda del tenant
          minimum: 1
          nullable: true
        sale_price:
          type: number
          description: Sale price
        installation_cost:
          type: number
          description: Installation cost
        installation_cost_venta:
          type: number
          description: Installation cost for SALE modality
        installation_cost_comodato:
          type: number
          description: Installation cost for COMODATO modality
        monthly_rental:
          type: number
          description: Monthly rental
        monthly_service:
          type: number
          description: Monthly service
        monthly_platform:
          type: number
          description: Monthly platform
        internal_notes:
          type: string
          description: Internal notes
        images:
          description: >-
            Imágenes del modelo: el alta admite la lista vacía; la edición sólo
            conserva, reordena o quita referencias ya guardadas. Los archivos
            nuevos se agregan desde la opción de subida.
          maxItems: 100
          type: array
          items:
            type: string
        datasheets:
          description: >-
            Fichas del modelo: el alta admite la lista vacía; la edición sólo
            conserva, reordena o quita referencias ya guardadas. Los archivos
            nuevos se agregan desde la opción de subida.
          maxItems: 100
          type: array
          items:
            type: string
        is_legacy:
          type: boolean
          description: Legacy flag
      required:
        - gps_model_name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.