Ir al contenido

Obtener un paso del flujo

GET/api/quotation-workflow/{id}

Devuelve un paso del flujo. Admite relations y count_relations.

idintegerobligatorio

Identificador del paso.

relationsstring

Relaciones a cargar, por ejemplo user o quotation.

count_relationsstring

Conteos de relaciones.

No exige un permiso del módulo: QuotationWorkflowPolicy::view permite a cualquier usuario autenticado.

Ventana de terminal
curl -G \
"https://servererp.allendostmen.app/api/quotation-workflow/1" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json" \
--data-urlencode "relations=user"
Paso del flujo200
{
"id": 40,
"quotation_id": 1520,
"user_id": 9,
"seller_id": 5,
"project_manager_id": 9,
"comments": "Listo para revisión",
"status": "revisando",
"create_user_id": 5,
"created_at": "2026-11-19T10:40:15.000000Z",
"updated_at": "2026-11-19T10:40:15.000000Z",
"deleted_at": null
}
No existe404
{
"message": "No query results for model [App\\Models\\Quotation] 999."
}