Obtener un paso del flujo
GET/api/quotation-workflow/{id}
Devuelve un paso del flujo. Admite relations y count_relations.
Parámetros de la ruta
Sección titulada «Parámetros de la ruta»idintegerobligatorioIdentificador del paso.
Parámetros de consulta
Sección titulada «Parámetros de consulta»relationsstringRelaciones a cargar, por ejemplo user o quotation.
count_relationsstringConteos de relaciones.
Permiso
Sección titulada «Permiso»No exige un permiso del módulo: QuotationWorkflowPolicy::view permite a cualquier usuario autenticado.
curl -G \ "https://servererp.allendostmen.app/api/quotation-workflow/1" \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/json" \ --data-urlencode "relations=user"const response = await fetch( "https://servererp.allendostmen.app/api/quotation-workflow/1?relations=user", { method: "GET", headers: { Authorization: `Bearer ${token}`, Accept: "application/json", }, },);const data = await response.json();use Illuminate\Support\Facades\Http;
$response = Http::withToken($token) ->acceptJson() ->get('https://servererp.allendostmen.app/api/quotation-workflow/1', [ '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."}