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

# Edita el texto de una actividad manual propia vinculada al ticket

> Sólo el autor edita llamadas, reuniones, notas, WhatsApp o LinkedIn registrados a mano. Sin cambios devuelve la actividad vigente.



## OpenAPI

````yaml /generated/specs/operations.json patch /api/v1/tickets/{ticketId}/activities/{activityId}
openapi: 3.0.0
info:
  title: Raul API - Operaciones
  description: Suscripciones, GPS, actividades, visitas y operacion tecnica.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/tickets/{ticketId}/activities/{activityId}:
    patch:
      tags:
        - Ticket Activities
      summary: Edita el texto de una actividad manual propia vinculada al ticket
      description: >-
        Sólo el autor edita llamadas, reuniones, notas, WhatsApp o LinkedIn
        registrados a mano. Sin cambios devuelve la actividad vigente.
      operationId: TicketActivityController_editContent
      parameters:
        - name: ticketId
          required: true
          in: path
          schema:
            type: string
        - name: activityId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditActivityContentDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TicketActivityResponseDto'
        '403':
          description: El actor no es el autor
        '404':
          description: Actividad no encontrada
        '409':
          description: No es un registro manual
      security:
        - bearerAuth: []
components:
  schemas:
    EditActivityContentDto:
      type: object
      properties:
        content:
          type: string
          minLength: 1
          maxLength: 10000
      required:
        - content
    TicketActivityResponseDto:
      type: object
      properties:
        followUpTaskId:
          type: string
        id:
          type: string
        type:
          type: string
        content:
          type: string
        occurredAt:
          type: string
          nullable: true
        createdAt:
          type: string
        outcome:
          type: string
          nullable: true
        participantContactIds:
          type: array
          items:
            type: string
        createdBy:
          type: string
          nullable: true
          format: uuid
        editedAt:
          type: string
          format: date-time
          nullable: true
      required:
        - id
        - type
        - content
        - occurredAt
        - createdAt
        - outcome
        - participantContactIds
        - createdBy
        - editedAt
  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.