copilot_frontend
admin
Admin Stelorder

Update Mapping

Actualiza un mapeo existente.

Args: mapping_id: ID del mapeo a actualizar mapping_data: Datos a actualizar (todos opcionales) db: Sesión de base de datos

Returns: Mapeo actualizado

Raises: 404: Si el mapeo no existe 500: Error al actualizar el mapeo

put/api/admin/stelorder/mappings/{mapping_id}

Path parameters

mapping_idinteger required

Request body

hubspot_labelstring nullable
hubspot_valuestring nullable
stelorder_idinteger nullable
stelorder_namestring nullable
is_defaultboolean nullable
is_activeboolean nullable
notesstring nullable

Response

Successful Response

categorystring required

Categoría del mapeo: technician_calendar, incident_type, etc.

hubspot_labelstring required

Etiqueta legible en HubSpot

hubspot_valuestring nullable

Valor técnico (ej: email para técnicos)

stelorder_idinteger nullable

ID numérico del recurso en Stelorder

stelorder_namestring nullable

Nombre del recurso en Stelorder

is_defaultboolean

Si es el valor por defecto para esta categoría

is_activeboolean

Si el mapeo está activo

notesstring nullable

Notas adicionales sobre este mapeo

idinteger required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.