curl --location --request POST '/aprobaciones/0/ejecucion?aplicacion=FEB' \
--header 'empresa;' \
--header 'empresa: 1111111-1' \
--header 'token;' \
--header 'token: xx' \
--header 'Content-Type: application/json' \
--data-raw '{
"adjuntos": [],
"distribucion": [],
"aprobacionId": "",
"ejecucion": {
"privado": "N",
"descripcion": "Descripcion max 500 caracteres",
"estampar": true,
"nombre": "Flujo de ejemplo max 300 caracteres",
"tipoObjetoCategoria": "",
"tipoReferencia": "ARCHIVO",
"aprobacionesReferenciaId": "",
"precioFlujo": "",
"reversible": false,
"firmaPosicionada": "Y",
"plantilla": {
"aprobaciones": {
"nombre": "Flujo de ejemplo max 300 caracteres",
"descripcion": "Descripcion max 500 caracteres",
"estampar": true,
"numeroReferencia": 0,
"reversible": true,
"tipoObjeto": "ARCHIVO"
},
"aprobacionesPlantillaPaso": [
{
"cantidadMinAprobacion": 1,
"demoraMaxHoras": 0,
"redirigirFlujo": false,
"aprobacionesTipoPasoId": 2,
"aprobacionesTipoRolId": 1,
"numeroPaso": 1,
"responsable": "Claudio Bryan Miranda Pizarro",
"responsableCorreo": "claudio@febos.cl",
"tipoValorResponsableId": "claudio_miranda"
},
{
"cantidadMinAprobacion": 1,
"aprobacionesTipoPasoId": 2,
"aprobacionesTipoRolId": 3,
"numeroPaso": 2,
"responsable": "Claudio Bryan Miranda Pizarro",
"responsableCorreo": "claudio@febos.cl",
"tipoValorResponsableId": "claudio_miranda",
"x": 38,
"y": 674,
"pagina": 1
},
{
"aprobacionesTipoPasoId": 5,
"aprobacionesTipoRolId": 3,
"grupoUsuarios": [],
"numeroPaso": 3,
"responsable": "Claudio Miranda",
"responsableCorreo": "cronosunder@gmail.com",
"tipoValorResponsableId": "18331089-5",
"x": 214,
"y": 675,
"pagina": 1,
"responsableIut": "18331089-5",
"tipoFirma": "firmaSimple"
}
]
}
},
"documentos": [
{
"adjuntoMime": "application/pdf",
"adjuntoNombre": "blancont.pdf",
"adjuntoUrl": "febos-io/chile/escritorio-digital/desarrollo/archivos/expedientes/1742564014645166af650-0659-11f0-b2e0-41ece531a8d7.pdf",
"fecha": "2025-03-21 10:03:36",
"objetoId": "166af650-0659-11f0-b2e0-41ece531a8d7",
"objetoNombre": "blancont.pdf",
"tipoObjetoId": "ARCHIVO",
"tipoObjetoTexto": "ARCHIVO - "
}
]
}'{
"id": "14e96fd7-9d6a-4883-8544-234d1a247393",
"ejecucion": {
"id": "14e96fd7-9d6a-4883-8544-231dda247393",
"numero": 5964,
"nombre": "Flujo de ejemplo max 300 caracteres",
"descripcion": "Descripcion max 500 caracteres",
"pasoActualId": "e46cc0f4-e61e-4904-a2f8-99f271e930ad",
"pasoSiguienteId": "fc018c8d-a94f-4576-9d1d-b19f6a7e6868",
"fechaInicioProceso": "2025-03-21",
"fechaActualizacion": "2025-03-21",
"iutEmpresa": "629fc292-1769-11e7-97e3-129dbb41877c",
"usuarioId": "claudio_miranda",
"aprobacionesEjecucionEstadoId": "3",
"aprobacionesReferenciaId": "0",
"fechaCreacion": "2025-03-21",
"nombreAprobacion": "Flujo de ejemplo max 300 caracteres",
"totalPasos": 3,
"precioFlujo": 0,
"reversible": true,
"unidad": "198e47da21e852462f2a24528c07b95d9098",
"temporal": true,
"tipoReferencia": "ARCHIVO",
"precioFlujoMoneda": "CLP",
"masiva": false,
"estampar": true,
"foliacion": false,
"privado": "N",
"app": "ED",
"firmaPosicionada": "Y",
"origen": "",
"seDebeFirmarAdjuntos": "N"
},
"febosId": "166af650-0659-11f0-b2e0-41ece531a8d1",
"duracion": 2544,
"hora": "2025-03-21 12:40:08.581",
"codigo": 10,
"seguimientoId": "c4d6428c-d8a2-4fed-8aa5-692fccb74210",
"mensaje": "Acción realizada satisfactoriamente"
}