curl --location --request POST '/aprobaciones/98765432-1/ejecucion?aprobacionId&temporal=true&privado=N&dominioPortal=portal.escritoriodigital.cl&aplicacion=FEB' \
--header 'token: xx' \
--header 'empresa: 1111111-1' \
--header 'Content-Type: application/json' \
--data-raw '{
"ejecucion": [
{
"descripcion": "Flujo de trabajo",
"estampar": true,
"nombre": "Trabajo de flujo",
"numero": 26,
"unidad": "187f24212fc6b2405d29c4c211dc7a66ad55",
"plantilla": [
{
"nombre": "string",
"descripcion": "Plantilla estandar",
"estampar": true,
"foliacion": true,
"tipoejecucion": "N",
"tipoObjeto": "EXP"
}
],
"aprobacionesPlantillaPaso": [
{
"desdePrecio": "string",
"gatillacionesaInsertar": "string",
"cantidadMinAProbacion": 0,
"demoraMaxhoras": 0,
"redirigirFLujo": "string",
"subrogadoId": "string",
"subrogado": "string",
"aprobacionesTipoPasoId": 2,
"aprobacionesTipoRolId": 1,
"numeroPaso": 0,
"responsable": "string",
"responsableCorreo": "string",
"tipoValorResponsableId": "string"
}
]
}
],
"adjuntodocumentos": [
{
"adjuntoId": "string",
"adjuntoMIme": "string",
"adjuntoNombre": "string",
"adjuntoUrl": "string",
"fecha": "string",
"objetoId": "string",
"objetonombre": "string",
"tipoObjetoId": "string",
"tipoOjetoTexto": "string"
}
],
"gatillacionesPreDefinidas": "string"
}'