Obtener el detalle base
GET/api/quotation-base-details/{quotationId}
Devuelve la cotización con las relaciones projectManager, seller, opportunity y lastQuotationWorkflow (con su projectManager, seller y user). Si el identificador no existe, responde 200 con un cuerpo vacío (null).
Parámetros de la ruta
Sección titulada «Parámetros de la ruta»quotationIdintegerobligatorioIdentificador de la cotización.
Permiso
Sección titulada «Permiso»No exige un permiso del módulo: basta con un token válido (auth:sanctum). El controlador no llama a ninguna política.
curl \ "https://servererp.allendostmen.app/api/quotation-base-details/1" \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/json"const response = await fetch( "https://servererp.allendostmen.app/api/quotation-base-details/1", { 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-base-details/1');Detalle base200
{ "id": 1520, "code": "110012 - INSTALACION_ELECTRICA - ACME_SAC-V1", "version": 1, "igv": 18, "rent": 1.5, "detraction": 12, "name": "Instalación eléctrica", "date": "2026-11-19", "description": "Instalación eléctrica del almacén central", "days_validity": 30, "coin_id": 1, "coin_value": 3.75, "limit_decimals": 4, "customer_id": 8, "customer_contact_id": 14, "seller_id": 5, "project_manager_id": 9, "opportunity_id": 77, "budget_folder_id": 31, "status": "cotizando", "is_global_utility": false, "total_items": 12500, "total_overheads": 1500, "subtotal": 14000, "total_igv": 2520, "total": 16520, "create_user_id": 5, "created_at": "2026-11-19T10:40:15.000000Z", "updated_at": "2026-11-19T10:40:15.000000Z", "deleted_at": null, "seller": { "id": 5, "name": "LUIS GÓMEZ" }, "project_manager": { "id": 9, "name": "ANA PÉREZ" }, "last_quotation_workflow": { "id": 40, "status": "cotizando", "user_id": 5 }}