<br/><br/>
08/05/2025 13:11:13 - ServicioId 1791674
<br/><br/>
08/05/2025 13:11:13 - System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en BackVial.Site.Controllers.FrontController._ActualizarServicio(Servicio servicio) en C:\Desarrollo\BackVial\branches\BackVial.Site\BackVial.Site\Controllers\FrontController.cs:línea 1001
<br/><br/>
08/05/2025 13:11:20 - ServicioId 1791674
<br/><br/>
08/05/2025 13:11:20 - System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en BackVial.Site.Controllers.FrontController._ActualizarServicio(Servicio servicio) en C:\Desarrollo\BackVial\branches\BackVial.Site\BackVial.Site\Controllers\FrontController.cs:línea 782
<br/><br/>
08/05/2025 13:11:46 - ServicioId 1791674
<br/><br/>
08/05/2025 13:11:46 - System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en BackVial.Site.Controllers.FrontController._ActualizarServicio(Servicio servicio) en C:\Desarrollo\BackVial\branches\BackVial.Site\BackVial.Site\Controllers\FrontController.cs:línea 782
<br/><br/>
08/05/2025 14:19:14 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:19:13 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:19:14 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"6ca1a7ee-aefe-4ad1-92fc-1462a2fecf80","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:19:14 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951500,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 20989,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:34:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CAMILA.VASQUEZ@AUXILIA.CL",
    "Clave": "camila.vasquez",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Camila ",
    "ApellidoPaterno": "Vasquez",
    "ApellidoMaterno": "Bustamante",
    "Correo": "camila.vasquez@auxilia.cl",
    "Fono": null,
    "Id": 59306,
    "FechaCreacion": "2023-05-04T17:09:21.61",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CAMILA.VASQUEZ@AUXILIA.CL"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -37.0362722,
    "Longitud": -72.4004376,
    "Direccion": "Cabrero",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 206,
      "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28578,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 418,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO ASISTENCIA VETERINARIA POR ACCIDENTE/ SE ROMPIO UNA UÑA Y ESTA COJEANDO/ REEMBOLSO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:19:13.7092597-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 14:22:20 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:22:20 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:22:20 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"fc9b3c84-5294-49da-9872-174419b0ca45","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:22:20 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951505,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 20989,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:37:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CAMILA.VASQUEZ@AUXILIA.CL",
    "Clave": "camila.vasquez",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Camila ",
    "ApellidoPaterno": "Vasquez",
    "ApellidoMaterno": "Bustamante",
    "Correo": "camila.vasquez@auxilia.cl",
    "Fono": null,
    "Id": 59306,
    "FechaCreacion": "2023-05-04T17:09:21.61",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CAMILA.VASQUEZ@AUXILIA.CL"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -37.0362722,
    "Longitud": -72.4004376,
    "Direccion": "Cabrero",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 206,
      "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28578,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 418,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO ASISTENCIA POR ACCIDENTE/ SE ROMPIO UNA UÑA Y ESTA COJEANDO/ REEMBOLSO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:22:20.5210316-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 14:22:38 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:22:37 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:22:38 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"fc9b3c84-5294-49da-9872-174419b0ca45","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:22:38 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951505,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 20989,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:37:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CAMILA.VASQUEZ@AUXILIA.CL",
    "Clave": "camila.vasquez",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Camila ",
    "ApellidoPaterno": "Vasquez",
    "ApellidoMaterno": "Bustamante",
    "Correo": "camila.vasquez@auxilia.cl",
    "Fono": null,
    "Id": 59306,
    "FechaCreacion": "2023-05-04T17:09:21.61",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CAMILA.VASQUEZ@AUXILIA.CL"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -36.8201352,
    "Longitud": -73.0443904,
    "Direccion": "Concepción",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 219,
      "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28578,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 418,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO ASISTENCIA POR ACCIDENTE/ SE ROMPIO UNA UÑA Y ESTA COJEANDO/ REEMBOLSO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:22:37.861389-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 14:24:51 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:24:51 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:24:51 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"fc9b3c84-5294-49da-9872-174419b0ca45","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:24:51 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "37017412",
          "AcReferencia": "BP0083290430000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Eyra",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1760860,
            "FechaCreacion": "2025-04-11T16:07:13.48",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 23948,
            "Nombre": "EYRA",
            "Edad": 2,
            "Peso": "35",
            "Sexo": "HEMBRA",
            "NumeroChip": null,
            "Raza": "BOYERO DE BERNA",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-26T00:00:00",
          "FechaEfectoAlta": "2025-01-26T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Eyra",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3128003,
          "FechaCreacion": "2025-04-11T16:07:16.4",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 7456031,
      "Dv": "8",
      "Nombre": "MARLENE  ANA AN",
      "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
      "ApellidoMaterno": null,
      "Correo": "diego.elgueta.p@gmail.com",
      "Fono": "985041387",
      "Id": 3211404,
      "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "37017412",
      "AcReferencia": "BP0083290430000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Eyra",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1760860,
        "FechaCreacion": "2025-04-11T16:07:13.48",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 23948,
        "Nombre": "EYRA",
        "Edad": 2,
        "Peso": "35",
        "Sexo": "HEMBRA",
        "NumeroChip": null,
        "Raza": "BOYERO DE BERNA",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 7456031,
        "Dv": "8",
        "Nombre": "MARLENE  ANA AN",
        "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
        "ApellidoMaterno": null,
        "Correo": "diego.elgueta.p@gmail.com",
        "Fono": "985041387",
        "Id": 3211404,
        "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-26T00:00:00",
      "FechaEfectoAlta": "2025-01-26T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Eyra",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3128003,
      "FechaCreacion": "2025-04-11T16:07:16.4",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento, hasta UF 1",
      "Glosa": "Baño Sanitario Mascota",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "El asegurado podrá elegir entre llevar a su mascota (perro o gato) a un baño sanitario para eliminar parásitos como pulgas, piojos o garrapatas; o llevar a su mascota (perro o gato) a una peluquería canina para realizar corte de pelo, de guatita, cojinetes, zona genital y trasero, despeje de cara, limpieza externa de orejas, corte de uñas en caso de ser necesario, peinado y cepillado. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota o si el prestador más próximo en disponibilidad sea en un tiempo mayor de 48 horas, el beneficiario podrá reembolsar con previa autorización de la Compañía de asistencias. Para solicitar el reembolso y enviar la documentación, el asegurado tendrá un plazo máximo de 30 días corridos. La documentación deberá estar firmada por el proveedor indicando claramente el servicio prestado. Límites: Máximo 1 evento, hasta UF 1. Servicio válido para asegurados con permanencia de más de 365 días en la póliza",
      "Id": 24216,
      "FechaCreacion": "2021-06-07T01:43:43.847",
      "FechaModificacion": "2025-02-28T15:53:59.613",
      "Activo": true,
      "Codigo": "M46"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 7456031,
    "ContactoNombre": "MARLENE  ANA AN",
    "ContactoApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "diego.elgueta.p@gmail.com",
    "ContactoFono": "985041387",
    "FechaApertura": "2025-05-08T14:20:06",
    "FechaIncidente": null,
    "ObservacionIncidente": "1ER EVENTO DE BAÑO SANITARIO ",
    "UsuarioApertura": {
      "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
      "Clave": "Mmillahual22",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "MARCELO",
      "ApellidoPaterno": "MILLAHUAL",
      "ApellidoMaterno": "CALFIN",
      "Correo": "mmillahual@mvservicios.cl",
      "Fono": null,
      "Id": 59225,
      "FechaCreacion": "2022-12-27T15:01:20.087",
      "FechaModificacion": "2022-12-27T15:01:20.247",
      "Activo": true,
      "Codigo": "MMILLAHUAL@MVSERVICIOS"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "SERVICIO",
      "Urgente": false,
      "Critico": false,
      "Id": 421,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "SER"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951510,
    "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960803"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21715,
    "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:39:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
    "Clave": "Mmillahual22",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "MARCELO",
    "ApellidoPaterno": "MILLAHUAL",
    "ApellidoMaterno": "CALFIN",
    "Correo": "mmillahual@mvservicios.cl",
    "Fono": null,
    "Id": 59225,
    "FechaCreacion": "2022-12-27T15:01:20.087",
    "FechaModificacion": "2022-12-27T15:01:20.247",
    "Activo": true,
    "Codigo": "MMILLAHUAL@MVSERVICIOS"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -36.7333,
    "Longitud": -72.9833,
    "Direccion": "Penco",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 225,
      "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 24216,
    "FechaCreacion": "2025-05-08T14:24:51.1404458-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:24:51.1404458-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 421,
    "FechaCreacion": "2025-05-08T14:24:51.1404458-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:24:51.1404458-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO DE BAÑO SANITARIO ",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:24:51.1404458-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:24:51.1248236-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 14:24:54 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:24:54 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:24:54 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"fc9b3c84-5294-49da-9872-174419b0ca45","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:24:54 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "37017412",
          "AcReferencia": "BP0083290430000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Eyra",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1760860,
            "FechaCreacion": "2025-04-11T16:07:13.48",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 23948,
            "Nombre": "EYRA",
            "Edad": 2,
            "Peso": "35",
            "Sexo": "HEMBRA",
            "NumeroChip": null,
            "Raza": "BOYERO DE BERNA",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-26T00:00:00",
          "FechaEfectoAlta": "2025-01-26T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Eyra",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3128003,
          "FechaCreacion": "2025-04-11T16:07:16.4",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 7456031,
      "Dv": "8",
      "Nombre": "MARLENE  ANA AN",
      "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
      "ApellidoMaterno": null,
      "Correo": "diego.elgueta.p@gmail.com",
      "Fono": "985041387",
      "Id": 3211405,
      "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "37017412",
      "AcReferencia": "BP0083290430000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Eyra",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1760860,
        "FechaCreacion": "2025-04-11T16:07:13.48",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 23948,
        "Nombre": "EYRA",
        "Edad": 2,
        "Peso": "35",
        "Sexo": "HEMBRA",
        "NumeroChip": null,
        "Raza": "BOYERO DE BERNA",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 7456031,
        "Dv": "8",
        "Nombre": "MARLENE  ANA AN",
        "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
        "ApellidoMaterno": null,
        "Correo": "diego.elgueta.p@gmail.com",
        "Fono": "985041387",
        "Id": 3211405,
        "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-26T00:00:00",
      "FechaEfectoAlta": "2025-01-26T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Eyra",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3128003,
      "FechaCreacion": "2025-04-11T16:07:16.4",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento, hasta UF 1",
      "Glosa": "Baño Sanitario Mascota",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "El asegurado podrá elegir entre llevar a su mascota (perro o gato) a un baño sanitario para eliminar parásitos como pulgas, piojos o garrapatas; o llevar a su mascota (perro o gato) a una peluquería canina para realizar corte de pelo, de guatita, cojinetes, zona genital y trasero, despeje de cara, limpieza externa de orejas, corte de uñas en caso de ser necesario, peinado y cepillado. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota o si el prestador más próximo en disponibilidad sea en un tiempo mayor de 48 horas, el beneficiario podrá reembolsar con previa autorización de la Compañía de asistencias. Para solicitar el reembolso y enviar la documentación, el asegurado tendrá un plazo máximo de 30 días corridos. La documentación deberá estar firmada por el proveedor indicando claramente el servicio prestado. Límites: Máximo 1 evento, hasta UF 1. Servicio válido para asegurados con permanencia de más de 365 días en la póliza",
      "Id": 24216,
      "FechaCreacion": "2021-06-07T01:43:43.847",
      "FechaModificacion": "2025-02-28T15:53:59.613",
      "Activo": true,
      "Codigo": "M46"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 7456031,
    "ContactoNombre": "MARLENE  ANA AN",
    "ContactoApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "diego.elgueta.p@gmail.com",
    "ContactoFono": "985041387",
    "FechaApertura": "2025-05-08T14:20:06",
    "FechaIncidente": null,
    "ObservacionIncidente": "1ER EVENTO DE BAÑO SANITARIO ",
    "UsuarioApertura": {
      "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
      "Clave": "Mmillahual22",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "MARCELO",
      "ApellidoPaterno": "MILLAHUAL",
      "ApellidoMaterno": "CALFIN",
      "Correo": "mmillahual@mvservicios.cl",
      "Fono": null,
      "Id": 59225,
      "FechaCreacion": "2022-12-27T15:01:20.087",
      "FechaModificacion": "2022-12-27T15:01:20.247",
      "Activo": true,
      "Codigo": "MMILLAHUAL@MVSERVICIOS"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "SERVICIO",
      "Urgente": false,
      "Critico": false,
      "Id": 421,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "SER"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951511,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960804"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21715,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:39:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
    "Clave": "Mmillahual22",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "MARCELO",
    "ApellidoPaterno": "MILLAHUAL",
    "ApellidoMaterno": "CALFIN",
    "Correo": "mmillahual@mvservicios.cl",
    "Fono": null,
    "Id": 59225,
    "FechaCreacion": "2022-12-27T15:01:20.087",
    "FechaModificacion": "2022-12-27T15:01:20.247",
    "Activo": true,
    "Codigo": "MMILLAHUAL@MVSERVICIOS"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -36.7333,
    "Longitud": -72.9833,
    "Direccion": "Penco",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 225,
      "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 24216,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 421,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO DE BAÑO SANITARIO ",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:24:54.4366756-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 14:25:17 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 18:25:17 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 14:25:17 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"4c5549ee-1e4c-4dec-acca-95e9a9374f49","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 14:25:17 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "37017412",
          "AcReferencia": "BP0083290430000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Eyra",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1760860,
            "FechaCreacion": "2025-04-11T16:07:13.48",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 23948,
            "Nombre": "EYRA",
            "Edad": 2,
            "Peso": "35",
            "Sexo": "HEMBRA",
            "NumeroChip": null,
            "Raza": "BOYERO DE BERNA",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-26T00:00:00",
          "FechaEfectoAlta": "2025-01-26T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Eyra",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3128003,
          "FechaCreacion": "2025-04-11T16:07:16.4",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 7456031,
      "Dv": "8",
      "Nombre": "MARLENE  ANA AN",
      "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
      "ApellidoMaterno": null,
      "Correo": "diego.elgueta.p@gmail.com",
      "Fono": "985041387",
      "Id": 3211406,
      "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "37017412",
      "AcReferencia": "BP0083290430000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Eyra",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1760860,
        "FechaCreacion": "2025-04-11T16:07:13.48",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 23948,
        "Nombre": "EYRA",
        "Edad": 2,
        "Peso": "35",
        "Sexo": "HEMBRA",
        "NumeroChip": null,
        "Raza": "BOYERO DE BERNA",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 7456031,
        "Dv": "8",
        "Nombre": "MARLENE  ANA AN",
        "ApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
        "ApellidoMaterno": null,
        "Correo": "diego.elgueta.p@gmail.com",
        "Fono": "985041387",
        "Id": 3211406,
        "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-26T00:00:00",
      "FechaEfectoAlta": "2025-01-26T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Eyra",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3128003,
      "FechaCreacion": "2025-04-11T16:07:16.4",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento, hasta UF 1",
      "Glosa": "Baño Sanitario Mascota",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "El asegurado podrá elegir entre llevar a su mascota (perro o gato) a un baño sanitario para eliminar parásitos como pulgas, piojos o garrapatas; o llevar a su mascota (perro o gato) a una peluquería canina para realizar corte de pelo, de guatita, cojinetes, zona genital y trasero, despeje de cara, limpieza externa de orejas, corte de uñas en caso de ser necesario, peinado y cepillado. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota o si el prestador más próximo en disponibilidad sea en un tiempo mayor de 48 horas, el beneficiario podrá reembolsar con previa autorización de la Compañía de asistencias. Para solicitar el reembolso y enviar la documentación, el asegurado tendrá un plazo máximo de 30 días corridos. La documentación deberá estar firmada por el proveedor indicando claramente el servicio prestado. Límites: Máximo 1 evento, hasta UF 1. Servicio válido para asegurados con permanencia de más de 365 días en la póliza",
      "Id": 24216,
      "FechaCreacion": "2021-06-07T01:43:43.847",
      "FechaModificacion": "2025-02-28T15:53:59.613",
      "Activo": true,
      "Codigo": "M46"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 7456031,
    "ContactoNombre": "MARLENE  ANA AN",
    "ContactoApellidoPaterno": "MARLENE  ANA ANGELICA PANTOJA MON",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "diego.elgueta.p@gmail.com",
    "ContactoFono": "985041387",
    "FechaApertura": "2025-05-08T14:20:06",
    "FechaIncidente": null,
    "ObservacionIncidente": "1ER EVENTO DE BAÑO SANITARIO ",
    "UsuarioApertura": {
      "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
      "Clave": "Mmillahual22",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "MARCELO",
      "ApellidoPaterno": "MILLAHUAL",
      "ApellidoMaterno": "CALFIN",
      "Correo": "mmillahual@mvservicios.cl",
      "Fono": null,
      "Id": 59225,
      "FechaCreacion": "2022-12-27T15:01:20.087",
      "FechaModificacion": "2022-12-27T15:01:20.247",
      "Activo": true,
      "Codigo": "MMILLAHUAL@MVSERVICIOS"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "SERVICIO",
      "Urgente": false,
      "Critico": false,
      "Id": 421,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "SER"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951512,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960805"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21715,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T15:39:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "MMILLAHUAL@MVSERVICIOS",
    "Clave": "Mmillahual22",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "MARCELO",
    "ApellidoPaterno": "MILLAHUAL",
    "ApellidoMaterno": "CALFIN",
    "Correo": "mmillahual@mvservicios.cl",
    "Fono": null,
    "Id": 59225,
    "FechaCreacion": "2022-12-27T15:01:20.087",
    "FechaModificacion": "2022-12-27T15:01:20.247",
    "Activo": true,
    "Codigo": "MMILLAHUAL@MVSERVICIOS"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -36.7333,
    "Longitud": -72.9833,
    "Direccion": "Penco",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 225,
      "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 24216,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 421,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "1ER EVENTO DE BAÑO SANITARIO ",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T14:25:17.1067805-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:28:59 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:28:58 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:28:59 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"0c634eed-4f82-4d16-9a2d-9da14d3d6ba9","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:28:59 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "36998972",
          "AcReferencia": "BP0083289230000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Lukas",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772795,
            "FechaCreacion": "2025-05-08T15:23:54.363",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 24214,
            "Nombre": "LUKAS",
            "Edad": 12,
            "Peso": "24 KILOS",
            "Sexo": "MACHO",
            "NumeroChip": null,
            "Raza": "LABRADOR",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-11T00:00:00",
          "FechaEfectoAlta": "2025-01-11T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Lukas",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154492,
          "FechaCreacion": "2025-05-08T15:23:55.287",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 12541638,
      "Dv": "1",
      "Nombre": "Mabel  Colin Ch",
      "ApellidoPaterno": "Mabel  Colin Chiguay",
      "ApellidoMaterno": null,
      "Correo": "MACOLIN72@HOTMAIL.COM",
      "Fono": " 9 3811 8656",
      "Id": 2747795,
      "FechaCreacion": "2024-06-12T13:53:16.943",
      "FechaModificacion": "2025-05-08T15:28:58.846726-04:00",
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "36998972",
      "AcReferencia": "BP0083289230000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Lukas",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772795,
        "FechaCreacion": "2025-05-08T15:23:54.363",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 24214,
        "Nombre": "LUKAS",
        "Edad": 12,
        "Peso": "24 KILOS",
        "Sexo": "MACHO",
        "NumeroChip": null,
        "Raza": "LABRADOR",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 12541638,
        "Dv": "1",
        "Nombre": "Mabel  Colin Ch",
        "ApellidoPaterno": "Mabel  Colin Chiguay",
        "ApellidoMaterno": null,
        "Correo": "MACOLIN72@HOTMAIL.COM",
        "Fono": " 9 3811 8656",
        "Id": 2747795,
        "FechaCreacion": "2024-06-12T13:53:16.943",
        "FechaModificacion": "2025-05-08T15:28:58.846726-04:00",
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-11T00:00:00",
      "FechaEfectoAlta": "2025-01-11T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Lukas",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154492,
      "FechaCreacion": "2025-05-08T15:23:55.287",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento por año, hasta UF 1",
      "Glosa": "Asist veterinaria x enfermedad",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de enfermedad de la mascota (perro o gato), nuestra central de asistencia se encargará de la coordinación de la atención veterinaria de urgencia correspondiente. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota, el beneficiario podrá reembolsar con previa autorización de la Compañía de Asistencias. Para solicitar el reembolso y enviar la documentación, el plazo máximo para rendir será de 30 días corridos. La documentación deberá estar firmada por un veterinario autorizado, indicando el diagnóstico y tratamiento específico realizado a la mascota del asegurado. Para todos los efectos, un evento de urgencia veterinaria por enfermedad cubierto incluye el costo de la consulta con un médico veterinario de urgencia, el procedimiento dentro de la urgencia y los medicamentos suministrados hasta un plazo de 30 días. No incluye exámenes, médico especialista ni sus derivaciones a otros profesionales. . Como referencia, entre las enfermedades asociables a una urgencia por enfermedad se encuentran, por ejemplo: - Vómitos o diarrea que persista por más de 24 horas. - Debilidad (decaimiento) o algún tipo de dolor (sensibilidad al tocar, malestar), que persista por más de 24 horas. - Pérdida involuntaria de movilidad en las extremidades - Dificultad respiratoria (respiración débil o áspera) - Dificultad para orinar - Obstrucción digestiva, dificultad para defecar. - Desorientación, falta de atención y coordinación de sus miembros, caminar en círculos. - Hinchazón en el abdomen, acompañado de irritabilidad, dolor y expulsión de abundante espuma blanca por la boca. - Convulsiones - Incapacidad para estar en pie - Bebe u orinar de forma inusual o excesiva . Límites: Máximo 1 evento por año, hasta UF 1  . Carencia: 60 días.",
      "Id": 28577,
      "FechaCreacion": "2022-12-19T13:38:10.357",
      "FechaModificacion": "2025-02-28T15:51:07.973",
      "Activo": true,
      "Codigo": "M59"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 12541638,
    "ContactoNombre": "Mabel  Colin Ch",
    "ContactoApellidoPaterno": "Mabel  Colin Chiguay",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "MACOLIN72@HOTMAIL.COM",
    "ContactoFono": " 9 3811 8656",
    "FechaApertura": "2025-05-08T15:24:13",
    "FechaIncidente": null,
    "ObservacionIncidente": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
    "UsuarioApertura": {
      "NombreUsuario": "IVONNEN",
      "Clave": "04101970",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Ivonne ",
      "ApellidoPaterno": "Nuñez",
      "ApellidoMaterno": "Moreno",
      "Correo": "Ivonne.nunez@auxilia.cl",
      "Fono": null,
      "Id": 59372,
      "FechaCreacion": "2023-09-13T15:39:49.06",
      "FechaModificacion": "2023-09-13T15:39:49.077",
      "Activo": true,
      "Codigo": "IVONNEN"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "ENFERMEDAD",
      "Urgente": false,
      "Critico": false,
      "Id": 417,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "861"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951572,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960865"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:41:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:28:58.8154812-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:29:08 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:29:08 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:29:08 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"0c634eed-4f82-4d16-9a2d-9da14d3d6ba9","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:29:08 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "36998972",
          "AcReferencia": "BP0083289230000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Lukas",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772795,
            "FechaCreacion": "2025-05-08T15:23:54.363",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 24214,
            "Nombre": "LUKAS",
            "Edad": 12,
            "Peso": "24 KILOS",
            "Sexo": "MACHO",
            "NumeroChip": null,
            "Raza": "LABRADOR",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T15:28:58.817",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-11T00:00:00",
          "FechaEfectoAlta": "2025-01-11T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Lukas",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154492,
          "FechaCreacion": "2025-05-08T15:23:55.287",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 12541638,
      "Dv": "1",
      "Nombre": "Mabel  Colin Ch",
      "ApellidoPaterno": "Mabel  Colin Chiguay",
      "ApellidoMaterno": null,
      "Correo": "MACOLIN72@HOTMAIL.COM",
      "Fono": " 9 3811 8656",
      "Id": 3211510,
      "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "36998972",
      "AcReferencia": "BP0083289230000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Lukas",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772795,
        "FechaCreacion": "2025-05-08T15:23:54.363",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 24214,
        "Nombre": "LUKAS",
        "Edad": 12,
        "Peso": "24 KILOS",
        "Sexo": "MACHO",
        "NumeroChip": null,
        "Raza": "LABRADOR",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T15:28:58.817",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 12541638,
        "Dv": "1",
        "Nombre": "Mabel  Colin Ch",
        "ApellidoPaterno": "Mabel  Colin Chiguay",
        "ApellidoMaterno": null,
        "Correo": "MACOLIN72@HOTMAIL.COM",
        "Fono": " 9 3811 8656",
        "Id": 3211510,
        "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-11T00:00:00",
      "FechaEfectoAlta": "2025-01-11T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Lukas",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154492,
      "FechaCreacion": "2025-05-08T15:23:55.287",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento por año, hasta UF 1",
      "Glosa": "Asist veterinaria x enfermedad",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de enfermedad de la mascota (perro o gato), nuestra central de asistencia se encargará de la coordinación de la atención veterinaria de urgencia correspondiente. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota, el beneficiario podrá reembolsar con previa autorización de la Compañía de Asistencias. Para solicitar el reembolso y enviar la documentación, el plazo máximo para rendir será de 30 días corridos. La documentación deberá estar firmada por un veterinario autorizado, indicando el diagnóstico y tratamiento específico realizado a la mascota del asegurado. Para todos los efectos, un evento de urgencia veterinaria por enfermedad cubierto incluye el costo de la consulta con un médico veterinario de urgencia, el procedimiento dentro de la urgencia y los medicamentos suministrados hasta un plazo de 30 días. No incluye exámenes, médico especialista ni sus derivaciones a otros profesionales. . Como referencia, entre las enfermedades asociables a una urgencia por enfermedad se encuentran, por ejemplo: - Vómitos o diarrea que persista por más de 24 horas. - Debilidad (decaimiento) o algún tipo de dolor (sensibilidad al tocar, malestar), que persista por más de 24 horas. - Pérdida involuntaria de movilidad en las extremidades - Dificultad respiratoria (respiración débil o áspera) - Dificultad para orinar - Obstrucción digestiva, dificultad para defecar. - Desorientación, falta de atención y coordinación de sus miembros, caminar en círculos. - Hinchazón en el abdomen, acompañado de irritabilidad, dolor y expulsión de abundante espuma blanca por la boca. - Convulsiones - Incapacidad para estar en pie - Bebe u orinar de forma inusual o excesiva . Límites: Máximo 1 evento por año, hasta UF 1  . Carencia: 60 días.",
      "Id": 28577,
      "FechaCreacion": "2022-12-19T13:38:10.357",
      "FechaModificacion": "2025-02-28T15:51:07.973",
      "Activo": true,
      "Codigo": "M59"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 12541638,
    "ContactoNombre": "Mabel  Colin Ch",
    "ContactoApellidoPaterno": "Mabel  Colin Chiguay",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "MACOLIN72@HOTMAIL.COM",
    "ContactoFono": " 9 3811 8656",
    "FechaApertura": "2025-05-08T15:24:13",
    "FechaIncidente": null,
    "ObservacionIncidente": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
    "UsuarioApertura": {
      "NombreUsuario": "IVONNEN",
      "Clave": "04101970",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Ivonne ",
      "ApellidoPaterno": "Nuñez",
      "ApellidoMaterno": "Moreno",
      "Correo": "Ivonne.nunez@auxilia.cl",
      "Fono": null,
      "Id": 59372,
      "FechaCreacion": "2023-09-13T15:39:49.06",
      "FechaModificacion": "2023-09-13T15:39:49.077",
      "Activo": true,
      "Codigo": "IVONNEN"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "ENFERMEDAD",
      "Urgente": false,
      "Critico": false,
      "Id": 417,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "861"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951573,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960866"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:41:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:29:08.1730243-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:30:01 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:30:01 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:30:01 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"39d2e8e2-7570-4198-90f1-fc769539b02d","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:30:01 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951574,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:44:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:30:01.3657352-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:31:07 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:31:07 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:31:07 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"39d2e8e2-7570-4198-90f1-fc769539b02d","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:31:07 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951574,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:44:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "OTITIS Y DERMATITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:31:07.3059164-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:33:21 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:33:21 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:33:21 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"0c634eed-4f82-4d16-9a2d-9da14d3d6ba9","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:33:21 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "36998972",
          "AcReferencia": "BP0083289230000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Lukas",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772795,
            "FechaCreacion": "2025-05-08T15:23:54.363",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 24214,
            "Nombre": "LUKAS",
            "Edad": 12,
            "Peso": "24 KILOS",
            "Sexo": "MACHO",
            "NumeroChip": null,
            "Raza": "LABRADOR",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-11T00:00:00",
          "FechaEfectoAlta": "2025-01-11T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Lukas",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154492,
          "FechaCreacion": "2025-05-08T15:23:55.287",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 12541638,
      "Dv": "1",
      "Nombre": "Mabel  Colin Ch",
      "ApellidoPaterno": "Mabel  Colin Chiguay",
      "ApellidoMaterno": null,
      "Correo": "MACOLIN72@HOTMAIL.COM",
      "Fono": " 9 3811 8656",
      "Id": 3211516,
      "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "36998972",
      "AcReferencia": "BP0083289230000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Lukas",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772795,
        "FechaCreacion": "2025-05-08T15:23:54.363",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 24214,
        "Nombre": "LUKAS",
        "Edad": 12,
        "Peso": "24 KILOS",
        "Sexo": "MACHO",
        "NumeroChip": null,
        "Raza": "LABRADOR",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 12541638,
        "Dv": "1",
        "Nombre": "Mabel  Colin Ch",
        "ApellidoPaterno": "Mabel  Colin Chiguay",
        "ApellidoMaterno": null,
        "Correo": "MACOLIN72@HOTMAIL.COM",
        "Fono": " 9 3811 8656",
        "Id": 3211516,
        "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-11T00:00:00",
      "FechaEfectoAlta": "2025-01-11T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Lukas",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154492,
      "FechaCreacion": "2025-05-08T15:23:55.287",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento por año, hasta UF 1",
      "Glosa": "Asist veterinaria x enfermedad",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de enfermedad de la mascota (perro o gato), nuestra central de asistencia se encargará de la coordinación de la atención veterinaria de urgencia correspondiente. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota, el beneficiario podrá reembolsar con previa autorización de la Compañía de Asistencias. Para solicitar el reembolso y enviar la documentación, el plazo máximo para rendir será de 30 días corridos. La documentación deberá estar firmada por un veterinario autorizado, indicando el diagnóstico y tratamiento específico realizado a la mascota del asegurado. Para todos los efectos, un evento de urgencia veterinaria por enfermedad cubierto incluye el costo de la consulta con un médico veterinario de urgencia, el procedimiento dentro de la urgencia y los medicamentos suministrados hasta un plazo de 30 días. No incluye exámenes, médico especialista ni sus derivaciones a otros profesionales. . Como referencia, entre las enfermedades asociables a una urgencia por enfermedad se encuentran, por ejemplo: - Vómitos o diarrea que persista por más de 24 horas. - Debilidad (decaimiento) o algún tipo de dolor (sensibilidad al tocar, malestar), que persista por más de 24 horas. - Pérdida involuntaria de movilidad en las extremidades - Dificultad respiratoria (respiración débil o áspera) - Dificultad para orinar - Obstrucción digestiva, dificultad para defecar. - Desorientación, falta de atención y coordinación de sus miembros, caminar en círculos. - Hinchazón en el abdomen, acompañado de irritabilidad, dolor y expulsión de abundante espuma blanca por la boca. - Convulsiones - Incapacidad para estar en pie - Bebe u orinar de forma inusual o excesiva . Límites: Máximo 1 evento por año, hasta UF 1  . Carencia: 60 días.",
      "Id": 28577,
      "FechaCreacion": "2022-12-19T13:38:10.357",
      "FechaModificacion": "2025-02-28T15:51:07.973",
      "Activo": true,
      "Codigo": "M59"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 12541638,
    "ContactoNombre": "Mabel  Colin Ch",
    "ContactoApellidoPaterno": "Mabel  Colin Chiguay",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "MACOLIN72@HOTMAIL.COM",
    "ContactoFono": " 9 3811 8656",
    "FechaApertura": "2025-05-08T15:31:46",
    "FechaIncidente": null,
    "ObservacionIncidente": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
    "UsuarioApertura": {
      "NombreUsuario": "IVONNEN",
      "Clave": "04101970",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Ivonne ",
      "ApellidoPaterno": "Nuñez",
      "ApellidoMaterno": "Moreno",
      "Correo": "Ivonne.nunez@auxilia.cl",
      "Fono": null,
      "Id": 59372,
      "FechaCreacion": "2023-09-13T15:39:49.06",
      "FechaModificacion": "2023-09-13T15:39:49.077",
      "Activo": true,
      "Codigo": "IVONNEN"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "ENFERMEDAD",
      "Urgente": false,
      "Critico": false,
      "Id": 417,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "861"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951580,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960873"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:47:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:33:21.3374542-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:37:13 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:37:12 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:37:13 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"39d2e8e2-7570-4198-90f1-fc769539b02d","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:37:13 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "36998972",
          "AcReferencia": "BP0083289230000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Lukas",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772795,
            "FechaCreacion": "2025-05-08T15:23:54.363",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 24214,
            "Nombre": "LUKAS",
            "Edad": 12,
            "Peso": "24 KILOS",
            "Sexo": "MACHO",
            "NumeroChip": null,
            "Raza": "LABRADOR",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-11T00:00:00",
          "FechaEfectoAlta": "2025-01-11T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Lukas",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154492,
          "FechaCreacion": "2025-05-08T15:23:55.287",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 12541638,
      "Dv": "1",
      "Nombre": "Mabel  Colin Ch",
      "ApellidoPaterno": "Mabel  Colin Chiguay",
      "ApellidoMaterno": null,
      "Correo": "MACOLIN72@HOTMAIL.COM",
      "Fono": " 9 3811 8656",
      "Id": 3211525,
      "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "36998972",
      "AcReferencia": "BP0083289230000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Lukas",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772795,
        "FechaCreacion": "2025-05-08T15:23:54.363",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 24214,
        "Nombre": "LUKAS",
        "Edad": 12,
        "Peso": "24 KILOS",
        "Sexo": "MACHO",
        "NumeroChip": null,
        "Raza": "LABRADOR",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 12541638,
        "Dv": "1",
        "Nombre": "Mabel  Colin Ch",
        "ApellidoPaterno": "Mabel  Colin Chiguay",
        "ApellidoMaterno": null,
        "Correo": "MACOLIN72@HOTMAIL.COM",
        "Fono": " 9 3811 8656",
        "Id": 3211525,
        "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-11T00:00:00",
      "FechaEfectoAlta": "2025-01-11T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Lukas",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154492,
      "FechaCreacion": "2025-05-08T15:23:55.287",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento por año, hasta UF 1",
      "Glosa": "Asist veterinaria x enfermedad",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de enfermedad de la mascota (perro o gato), nuestra central de asistencia se encargará de la coordinación de la atención veterinaria de urgencia correspondiente. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota, el beneficiario podrá reembolsar con previa autorización de la Compañía de Asistencias. Para solicitar el reembolso y enviar la documentación, el plazo máximo para rendir será de 30 días corridos. La documentación deberá estar firmada por un veterinario autorizado, indicando el diagnóstico y tratamiento específico realizado a la mascota del asegurado. Para todos los efectos, un evento de urgencia veterinaria por enfermedad cubierto incluye el costo de la consulta con un médico veterinario de urgencia, el procedimiento dentro de la urgencia y los medicamentos suministrados hasta un plazo de 30 días. No incluye exámenes, médico especialista ni sus derivaciones a otros profesionales. . Como referencia, entre las enfermedades asociables a una urgencia por enfermedad se encuentran, por ejemplo: - Vómitos o diarrea que persista por más de 24 horas. - Debilidad (decaimiento) o algún tipo de dolor (sensibilidad al tocar, malestar), que persista por más de 24 horas. - Pérdida involuntaria de movilidad en las extremidades - Dificultad respiratoria (respiración débil o áspera) - Dificultad para orinar - Obstrucción digestiva, dificultad para defecar. - Desorientación, falta de atención y coordinación de sus miembros, caminar en círculos. - Hinchazón en el abdomen, acompañado de irritabilidad, dolor y expulsión de abundante espuma blanca por la boca. - Convulsiones - Incapacidad para estar en pie - Bebe u orinar de forma inusual o excesiva . Límites: Máximo 1 evento por año, hasta UF 1  . Carencia: 60 días.",
      "Id": 28577,
      "FechaCreacion": "2022-12-19T13:38:10.357",
      "FechaModificacion": "2025-02-28T15:51:07.973",
      "Activo": true,
      "Codigo": "M59"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 12541638,
    "ContactoNombre": "Mabel  Colin Ch",
    "ContactoApellidoPaterno": "Mabel  Colin Chiguay",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "MACOLIN72@HOTMAIL.COM",
    "ContactoFono": " 9 3811 8656",
    "FechaApertura": "2025-05-08T15:31:46",
    "FechaIncidente": null,
    "ObservacionIncidente": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
    "UsuarioApertura": {
      "NombreUsuario": "IVONNEN",
      "Clave": "04101970",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Ivonne ",
      "ApellidoPaterno": "Nuñez",
      "ApellidoMaterno": "Moreno",
      "Correo": "Ivonne.nunez@auxilia.cl",
      "Fono": null,
      "Id": 59372,
      "FechaCreacion": "2023-09-13T15:39:49.06",
      "FechaModificacion": "2023-09-13T15:39:49.077",
      "Activo": true,
      "Codigo": "IVONNEN"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "ENFERMEDAD",
      "Urgente": false,
      "Critico": false,
      "Id": 417,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "861"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951586,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960879"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:47:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:37:12.6241685-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 15:39:41 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 19:39:40 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 15:39:41 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"0c634eed-4f82-4d16-9a2d-9da14d3d6ba9","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 15:39:41 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": "36998972",
          "AcReferencia": "BP0083289230000001",
          "Modalidad": {
            "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
            "Compania": {
              "Nombre": "BCI SEGUROS GENERALES",
              "Id": 1,
              "FechaCreacion": "2019-03-19T17:38:59.953",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "BCI"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 9630,
            "FechaCreacion": "2023-08-04T15:16:27.373",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RCCT"
          },
          "Vehiculo": {
            "Patente": null,
            "Color": null,
            "Marca": null,
            "Modelo": " Perro/ Lukas",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 0,
            "Gama": null,
            "Tipo": null,
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772795,
            "FechaCreacion": "2025-05-08T15:23:54.363",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": {
            "Id": 24214,
            "Nombre": "LUKAS",
            "Edad": 12,
            "Peso": "24 KILOS",
            "Sexo": "MACHO",
            "NumeroChip": null,
            "Raza": "LABRADOR",
            "Especie": "PERRO",
            "TipoTamano": {
              "Id": 3,
              "Descripcion": "Grande"
            },
            "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
            "FechaModificacion": null,
            "VacunasAlDia": false,
            "ID_Auxilia": null,
            "ID_Externo": null
          },
          "Cliente": null,
          "FechaRenovacion": "2026-01-11T00:00:00",
          "FechaEfectoAlta": "2025-01-11T00:00:00",
          "FechaEfectoBaja": null,
          "FechaOperacion": "2025-02-21T10:58:13",
          "ProductoModelo": " Perro/ Lukas",
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.00,
          "Deducible": 0.00,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154492,
          "FechaCreacion": "2025-05-08T15:23:55.287",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 12541638,
      "Dv": "1",
      "Nombre": "Mabel  Colin Ch",
      "ApellidoPaterno": "Mabel  Colin Chiguay",
      "ApellidoMaterno": null,
      "Correo": "MACOLIN72@HOTMAIL.COM",
      "Fono": " 9 3811 8656",
      "Id": 3211527,
      "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": "36998972",
      "AcReferencia": "BP0083289230000001",
      "Modalidad": {
        "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
        "Compania": {
          "Nombre": "BCI SEGUROS GENERALES",
          "Id": 1,
          "FechaCreacion": "2019-03-19T17:38:59.953",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "BCI"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 9630,
        "FechaCreacion": "2023-08-04T15:16:27.373",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RCCT"
      },
      "Vehiculo": {
        "Patente": null,
        "Color": null,
        "Marca": null,
        "Modelo": " Perro/ Lukas",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 0,
        "Gama": null,
        "Tipo": null,
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772795,
        "FechaCreacion": "2025-05-08T15:23:54.363",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": {
        "Id": 24214,
        "Nombre": "LUKAS",
        "Edad": 12,
        "Peso": "24 KILOS",
        "Sexo": "MACHO",
        "NumeroChip": null,
        "Raza": "LABRADOR",
        "Especie": "PERRO",
        "TipoTamano": {
          "Id": 3,
          "Descripcion": "Grande"
        },
        "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
        "FechaModificacion": null,
        "VacunasAlDia": false,
        "ID_Auxilia": null,
        "ID_Externo": null
      },
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 12541638,
        "Dv": "1",
        "Nombre": "Mabel  Colin Ch",
        "ApellidoPaterno": "Mabel  Colin Chiguay",
        "ApellidoMaterno": null,
        "Correo": "MACOLIN72@HOTMAIL.COM",
        "Fono": " 9 3811 8656",
        "Id": 3211527,
        "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": "2026-01-11T00:00:00",
      "FechaEfectoAlta": "2025-01-11T00:00:00",
      "FechaEfectoBaja": null,
      "FechaOperacion": "2025-02-21T10:58:13",
      "ProductoModelo": " Perro/ Lukas",
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.00,
      "Deducible": 0.00,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154492,
      "FechaCreacion": "2025-05-08T15:23:55.287",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "BCI SEGUROS GENERALES",
      "Id": 1,
      "FechaCreacion": "2019-03-19T17:38:59.953",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "BCI"
    },
    "Modalidad": {
      "Descripcion": "MASCOTAS ECOSISTEMA RCCT",
      "Compania": {
        "Nombre": "BCI SEGUROS GENERALES",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:59.953",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "BCI"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 9630,
      "FechaCreacion": "2023-08-04T15:16:27.373",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RCCT"
    },
    "Garantia": {
      "Limite": "1 evento por año, hasta UF 1",
      "Glosa": "Asist veterinaria x enfermedad",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de enfermedad de la mascota (perro o gato), nuestra central de asistencia se encargará de la coordinación de la atención veterinaria de urgencia correspondiente. Si al momento de comunicarse con la Central de asistencias para solicitar la coordinación del servicio, no existiera un prestador en convenio en la comuna donde se encuentre el asegurado con su mascota, el beneficiario podrá reembolsar con previa autorización de la Compañía de Asistencias. Para solicitar el reembolso y enviar la documentación, el plazo máximo para rendir será de 30 días corridos. La documentación deberá estar firmada por un veterinario autorizado, indicando el diagnóstico y tratamiento específico realizado a la mascota del asegurado. Para todos los efectos, un evento de urgencia veterinaria por enfermedad cubierto incluye el costo de la consulta con un médico veterinario de urgencia, el procedimiento dentro de la urgencia y los medicamentos suministrados hasta un plazo de 30 días. No incluye exámenes, médico especialista ni sus derivaciones a otros profesionales. . Como referencia, entre las enfermedades asociables a una urgencia por enfermedad se encuentran, por ejemplo: - Vómitos o diarrea que persista por más de 24 horas. - Debilidad (decaimiento) o algún tipo de dolor (sensibilidad al tocar, malestar), que persista por más de 24 horas. - Pérdida involuntaria de movilidad en las extremidades - Dificultad respiratoria (respiración débil o áspera) - Dificultad para orinar - Obstrucción digestiva, dificultad para defecar. - Desorientación, falta de atención y coordinación de sus miembros, caminar en círculos. - Hinchazón en el abdomen, acompañado de irritabilidad, dolor y expulsión de abundante espuma blanca por la boca. - Convulsiones - Incapacidad para estar en pie - Bebe u orinar de forma inusual o excesiva . Límites: Máximo 1 evento por año, hasta UF 1  . Carencia: 60 días.",
      "Id": 28577,
      "FechaCreacion": "2022-12-19T13:38:10.357",
      "FechaModificacion": "2025-02-28T15:51:07.973",
      "Activo": true,
      "Codigo": "M59"
    },
    "MedioPreferente": {
      "Nombre": "Reembolso Gastos",
      "Coberturas": null,
      "RequiereDireccionDestino": false,
      "Ambitos": null,
      "Id": 155,
      "FechaCreacion": "2020-09-29T16:38:16.717",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M087"
    },
    "Vehiculo": null,
    "ContactoRut": 12541638,
    "ContactoNombre": "Mabel  Colin Ch",
    "ContactoApellidoPaterno": "Mabel  Colin Chiguay",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "MACOLIN72@HOTMAIL.COM",
    "ContactoFono": " 9 3811 8656",
    "FechaApertura": "2025-05-08T15:31:46",
    "FechaIncidente": null,
    "ObservacionIncidente": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
    "UsuarioApertura": {
      "NombreUsuario": "IVONNEN",
      "Clave": "04101970",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Ivonne ",
      "ApellidoPaterno": "Nuñez",
      "ApellidoMaterno": "Moreno",
      "Correo": "Ivonne.nunez@auxilia.cl",
      "Fono": null,
      "Id": 59372,
      "FechaCreacion": "2023-09-13T15:39:49.06",
      "FechaModificacion": "2023-09-13T15:39:49.077",
      "Activo": true,
      "Codigo": "IVONNEN"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "MASCOTAS",
        "Id": 121,
        "FechaCreacion": "2023-09-15T00:00:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "MCT"
      },
      "Descripcion": "ENFERMEDAD",
      "Urgente": false,
      "Critico": false,
      "Id": 417,
      "FechaCreacion": "2023-09-15T00:00:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "861"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": {
      "Id": 2,
      "Descripcion": "Ecosistema(LINK)",
      "Activo": true,
      "FechaCreacion": "2022-08-26T00:00:00",
      "FechaModificacion": null
    },
    "Servicios": null,
    "Id": 951588,
    "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960881"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21710,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 155,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T16:47:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "IVONNEN",
    "Clave": "04101970",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Ivonne ",
    "ApellidoPaterno": "Nuñez",
    "ApellidoMaterno": "Moreno",
    "Correo": "Ivonne.nunez@auxilia.cl",
    "Fono": null,
    "Id": 59372,
    "FechaCreacion": "2023-09-13T15:39:49.06",
    "FechaModificacion": "2023-09-13T15:39:49.077",
    "Activo": true,
    "Codigo": "IVONNEN"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -53.1633778,
    "Longitud": -70.907705,
    "Direccion": "Punta Arenas",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 338,
      "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": null,
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 28577,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 121,
      "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 417,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "DERMATITIS OTITIS/1ER EVENTO ENFERMEDAD",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 1,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T15:39:40.8764237-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T15:39:40.8608014-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 17:24:16 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 21:24:16 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 17:24:16 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"63226c58-f781-4c16-8f78-3b76e64b4c86","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 17:24:16 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": null,
          "AcReferencia": null,
          "Modalidad": {
            "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
            "Compania": {
              "Nombre": "ARVAL-RELSA",
              "Id": 34,
              "FechaCreacion": "2019-03-19T17:39:01.21",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "REL"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 218,
            "FechaCreacion": "2019-03-29T11:43:09.323",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RE01"
          },
          "Vehiculo": {
            "Patente": "VBTT20",
            "Color": "BLANCO",
            "Marca": "PEUGEOT",
            "Modelo": "PARTNER",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 2025,
            "Gama": null,
            "Tipo": {
              "Descripcion": "MECANICO/BENCINERO",
              "Categoria": null,
              "CodigoBCI": null,
              "Id": 0,
              "FechaCreacion": "2019-03-19T16:49:53.91",
              "FechaModificacion": "2020-09-22T23:56:36.203",
              "Activo": true,
              "Codigo": "0"
            },
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772876,
            "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": null,
          "Cliente": null,
          "FechaRenovacion": null,
          "FechaEfectoAlta": null,
          "FechaEfectoBaja": null,
          "FechaOperacion": null,
          "ProductoModelo": null,
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.0,
          "Deducible": 0.0,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154674,
          "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
          "FechaModificacion": null,
          "Activo": false,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 85208700,
      "Dv": "5",
      "Nombre": "RELSA",
      "ApellidoPaterno": "ARVAL",
      "ApellidoMaterno": null,
      "Correo": "EARAVENA@CIDINGENIERIA.COM",
      "Fono": "932306357",
      "Id": 22905,
      "FechaCreacion": "2019-08-19T08:21:06.33",
      "FechaModificacion": "2025-05-08T17:24:16.1822687-04:00",
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": null,
      "AcReferencia": null,
      "Modalidad": {
        "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
        "Compania": {
          "Nombre": "ARVAL-RELSA",
          "Id": 34,
          "FechaCreacion": "2019-03-19T17:39:01.21",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "REL"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 218,
        "FechaCreacion": "2019-03-29T11:43:09.323",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RE01"
      },
      "Vehiculo": {
        "Patente": "VBTT20",
        "Color": "BLANCO",
        "Marca": "PEUGEOT",
        "Modelo": "PARTNER",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 2025,
        "Gama": null,
        "Tipo": {
          "Descripcion": "MECANICO/BENCINERO",
          "Categoria": null,
          "CodigoBCI": null,
          "Id": 0,
          "FechaCreacion": "2019-03-19T16:49:53.91",
          "FechaModificacion": "2020-09-22T23:56:36.203",
          "Activo": true,
          "Codigo": "0"
        },
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772876,
        "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": null,
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 85208700,
        "Dv": "5",
        "Nombre": "RELSA",
        "ApellidoPaterno": "ARVAL",
        "ApellidoMaterno": null,
        "Correo": "EARAVENA@CIDINGENIERIA.COM",
        "Fono": "932306357",
        "Id": 22905,
        "FechaCreacion": "2019-08-19T08:21:06.33",
        "FechaModificacion": "2025-05-08T17:24:16.1822687-04:00",
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": null,
      "FechaEfectoAlta": null,
      "FechaEfectoBaja": null,
      "FechaOperacion": null,
      "ProductoModelo": null,
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.0,
      "Deducible": 0.0,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154674,
      "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
      "FechaModificacion": null,
      "Activo": false,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "ARVAL-RELSA",
      "Id": 34,
      "FechaCreacion": "2019-03-19T17:39:01.21",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "REL"
    },
    "Modalidad": {
      "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
      "Compania": {
        "Nombre": "ARVAL-RELSA",
        "Id": 34,
        "FechaCreacion": "2019-03-19T17:39:01.21",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "REL"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 218,
      "FechaCreacion": "2019-03-29T11:43:09.323",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RE01"
    },
    "Garantia": {
      "Limite": "Uf 10 x eve Max 2 eve x año",
      "Glosa": "Remolque/Traslado de Vehículo",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de avería o accidente del vehículo que cause su inmovilidad o en caso de robo del vehículo, y una vez cumplidos los trámites de denuncia a las Autoridades competentes AUXILIA sufragará los siguientes gastos:  a) La estancia en hotel, siempre que la reparación del vehículo no pueda ser efectuada en el mismo día de su inmovilización y requiera para ser hecha de un tiempo superior a 2 horas, según el criterio del responsable del taller elegido.  b) El desplazamiento para el traslado del cliente hasta su domicilio habitual, siempre que la reparación del vehículo no pueda ser efectuada en las 48 horas siguientes a la inmovilización y requiera para ser hecha de un tiempo superior a 6 horas, según el criterio del responsable del taller elegido.  Si el cliente opta por la continuación del viaje, AUXILIA sufragará los gastos de desplazamiento hasta el lugar de destino previsto, siempre que el costo no supere la prestación a que se refiere el párrafo anterior.  ",
      "Id": 199,
      "FechaCreacion": "2019-03-19T17:57:54.363",
      "FechaModificacion": "2025-04-10T13:46:19.527",
      "Activo": true,
      "Codigo": "V20"
    },
    "MedioPreferente": {
      "Nombre": "Grúa",
      "Coberturas": null,
      "RequiereDireccionDestino": true,
      "Ambitos": null,
      "Id": 1,
      "FechaCreacion": "2019-03-19T16:49:49.343",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M054"
    },
    "Vehiculo": null,
    "ContactoRut": 85208700,
    "ContactoNombre": "EVA  ",
    "ContactoApellidoPaterno": "ARAVENA ",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "EARAVENA@CIDINGENIERIA.COM",
    "ContactoFono": "932306357",
    "FechaApertura": "2025-05-08T17:17:19",
    "FechaIncidente": null,
    "ObservacionIncidente": "SINIESTRO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
    "UsuarioApertura": {
      "NombreUsuario": "CALCORTA",
      "Clave": "calcorta@auxilia",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Carlos",
      "ApellidoPaterno": "Alcorta",
      "ApellidoMaterno": "-",
      "Correo": "calcorta@auxilia.cl",
      "Fono": null,
      "Id": 58895,
      "FechaCreacion": "2021-08-19T09:53:46.607",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "CALCORTA"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "ACCIDENTE",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:20.623",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "ACC"
      },
      "Descripcion": "CHOQUE TRASERO RUEDAS TRABADAS",
      "Urgente": true,
      "Critico": true,
      "Id": 151,
      "FechaCreacion": "2019-03-19T17:38:25.84",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "A04"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951706,
    "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2960999"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21820,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T18:34:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CALCORTA",
    "Clave": "calcorta@auxilia",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Carlos",
    "ApellidoPaterno": "Alcorta",
    "ApellidoMaterno": "-",
    "Correo": "calcorta@auxilia.cl",
    "Fono": null,
    "Id": 58895,
    "FechaCreacion": "2021-08-19T09:53:46.607",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CALCORTA"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": "ES CASA ",
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": 40.3219048,
    "Longitud": -3.8677526,
    "Direccion": "CALLE MONTERO 502 ",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 167,
      "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 9,
      "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -35.4213153,
    "Longitud": -71.6555851,
    "Direccion": "5 Norte 1472, Talca",
    "Numeracion": "1472",
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 196,
      "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 199,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 151,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "SINIESTRO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 0,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:15.7292331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T17:24:15.7136109-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 17:24:22 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 21:24:21 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 17:24:22 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"63226c58-f781-4c16-8f78-3b76e64b4c86","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 17:24:22 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": null,
          "AcReferencia": null,
          "Modalidad": {
            "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
            "Compania": {
              "Nombre": "ARVAL-RELSA",
              "Id": 34,
              "FechaCreacion": "2019-03-19T17:39:01.21",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "REL"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 218,
            "FechaCreacion": "2019-03-29T11:43:09.323",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RE01"
          },
          "Vehiculo": {
            "Patente": "VBTT20",
            "Color": "BLANCO",
            "Marca": "PEUGEOT",
            "Modelo": "PARTNER",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 2025,
            "Gama": null,
            "Tipo": {
              "Descripcion": "MECANICO/BENCINERO",
              "Categoria": null,
              "CodigoBCI": null,
              "Id": 0,
              "FechaCreacion": "2019-03-19T16:49:53.91",
              "FechaModificacion": "2020-09-22T23:56:36.203",
              "Activo": true,
              "Codigo": "0"
            },
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772876,
            "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": null,
          "Cliente": null,
          "FechaRenovacion": null,
          "FechaEfectoAlta": null,
          "FechaEfectoBaja": null,
          "FechaOperacion": null,
          "ProductoModelo": null,
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.0,
          "Deducible": 0.0,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154675,
          "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
          "FechaModificacion": null,
          "Activo": false,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 85208700,
      "Dv": "5",
      "Nombre": "ARVAL ",
      "ApellidoPaterno": "ARVAL ",
      "ApellidoMaterno": null,
      "Correo": "EARAVENA@CIDINGENIERIA.COM",
      "Fono": "932306357",
      "Id": 3211699,
      "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": null,
      "AcReferencia": null,
      "Modalidad": {
        "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
        "Compania": {
          "Nombre": "ARVAL-RELSA",
          "Id": 34,
          "FechaCreacion": "2019-03-19T17:39:01.21",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "REL"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 218,
        "FechaCreacion": "2019-03-29T11:43:09.323",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RE01"
      },
      "Vehiculo": {
        "Patente": "VBTT20",
        "Color": "BLANCO",
        "Marca": "PEUGEOT",
        "Modelo": "PARTNER",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 2025,
        "Gama": null,
        "Tipo": {
          "Descripcion": "MECANICO/BENCINERO",
          "Categoria": null,
          "CodigoBCI": null,
          "Id": 0,
          "FechaCreacion": "2019-03-19T16:49:53.91",
          "FechaModificacion": "2020-09-22T23:56:36.203",
          "Activo": true,
          "Codigo": "0"
        },
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772876,
        "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": null,
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 85208700,
        "Dv": "5",
        "Nombre": "ARVAL ",
        "ApellidoPaterno": "ARVAL ",
        "ApellidoMaterno": null,
        "Correo": "EARAVENA@CIDINGENIERIA.COM",
        "Fono": "932306357",
        "Id": 3211699,
        "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": null,
      "FechaEfectoAlta": null,
      "FechaEfectoBaja": null,
      "FechaOperacion": null,
      "ProductoModelo": null,
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.0,
      "Deducible": 0.0,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154675,
      "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
      "FechaModificacion": null,
      "Activo": false,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "ARVAL-RELSA",
      "Id": 34,
      "FechaCreacion": "2019-03-19T17:39:01.21",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "REL"
    },
    "Modalidad": {
      "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
      "Compania": {
        "Nombre": "ARVAL-RELSA",
        "Id": 34,
        "FechaCreacion": "2019-03-19T17:39:01.21",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "REL"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 218,
      "FechaCreacion": "2019-03-29T11:43:09.323",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RE01"
    },
    "Garantia": {
      "Limite": "Uf 10 x eve Max 2 eve x año",
      "Glosa": "Remolque/Traslado de Vehículo",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de avería o accidente del vehículo que cause su inmovilidad o en caso de robo del vehículo, y una vez cumplidos los trámites de denuncia a las Autoridades competentes AUXILIA sufragará los siguientes gastos:  a) La estancia en hotel, siempre que la reparación del vehículo no pueda ser efectuada en el mismo día de su inmovilización y requiera para ser hecha de un tiempo superior a 2 horas, según el criterio del responsable del taller elegido.  b) El desplazamiento para el traslado del cliente hasta su domicilio habitual, siempre que la reparación del vehículo no pueda ser efectuada en las 48 horas siguientes a la inmovilización y requiera para ser hecha de un tiempo superior a 6 horas, según el criterio del responsable del taller elegido.  Si el cliente opta por la continuación del viaje, AUXILIA sufragará los gastos de desplazamiento hasta el lugar de destino previsto, siempre que el costo no supere la prestación a que se refiere el párrafo anterior.  ",
      "Id": 199,
      "FechaCreacion": "2019-03-19T17:57:54.363",
      "FechaModificacion": "2025-04-10T13:46:19.527",
      "Activo": true,
      "Codigo": "V20"
    },
    "MedioPreferente": {
      "Nombre": "Grúa",
      "Coberturas": null,
      "RequiereDireccionDestino": true,
      "Ambitos": null,
      "Id": 1,
      "FechaCreacion": "2019-03-19T16:49:49.343",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M054"
    },
    "Vehiculo": null,
    "ContactoRut": 85208700,
    "ContactoNombre": "EVA  ",
    "ContactoApellidoPaterno": "ARAVENA ",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "EARAVENA@CIDINGENIERIA.COM",
    "ContactoFono": "932306357",
    "FechaApertura": "2025-05-08T17:17:19",
    "FechaIncidente": null,
    "ObservacionIncidente": "SINIESTRO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
    "UsuarioApertura": {
      "NombreUsuario": "CALCORTA",
      "Clave": "calcorta@auxilia",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Carlos",
      "ApellidoPaterno": "Alcorta",
      "ApellidoMaterno": "-",
      "Correo": "calcorta@auxilia.cl",
      "Fono": null,
      "Id": 58895,
      "FechaCreacion": "2021-08-19T09:53:46.607",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "CALCORTA"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "ACCIDENTE",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:20.623",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "ACC"
      },
      "Descripcion": "CHOQUE TRASERO RUEDAS TRABADAS",
      "Urgente": true,
      "Critico": true,
      "Id": 151,
      "FechaCreacion": "2019-03-19T17:38:25.84",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "A04"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951707,
    "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2961000"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21820,
    "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T18:34:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CALCORTA",
    "Clave": "calcorta@auxilia",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Carlos",
    "ApellidoPaterno": "Alcorta",
    "ApellidoMaterno": "-",
    "Correo": "calcorta@auxilia.cl",
    "Fono": null,
    "Id": 58895,
    "FechaCreacion": "2021-08-19T09:53:46.607",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CALCORTA"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": "ES CASA ",
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": 40.3219048,
    "Longitud": -3.8677526,
    "Direccion": "CALLE MONTERO 502 ",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 167,
      "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 9,
      "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -35.4213153,
    "Longitud": -71.6555851,
    "Direccion": "5 Norte 1472, Talca",
    "Numeracion": "1472",
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 196,
      "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 199,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 151,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "SINIESTRO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 0,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:21.447256-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T17:24:21.4316339-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 17:24:57 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 21:24:56 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 17:24:57 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"63226c58-f781-4c16-8f78-3b76e64b4c86","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 17:24:57 - {
  "Expediente": {
    "Cliente": {
      "Polizas": [
        {
          "Numero": null,
          "AcReferencia": null,
          "Modalidad": {
            "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
            "Compania": {
              "Nombre": "ARVAL-RELSA",
              "Id": 34,
              "FechaCreacion": "2019-03-19T17:39:01.21",
              "FechaModificacion": null,
              "Activo": true,
              "Codigo": "REL"
            },
            "Garantias": null,
            "PermiteOtrosVehiculos": false,
            "Id": 218,
            "FechaCreacion": "2019-03-29T11:43:09.323",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": "RE01"
          },
          "Vehiculo": {
            "Patente": "VBTT20",
            "Color": "BLANCO",
            "Marca": "PEUGEOT",
            "Modelo": "PARTNER",
            "NroMotor": null,
            "NroChasis": null,
            "Anio": 2025,
            "Gama": null,
            "Tipo": {
              "Descripcion": "MECANICO/BENCINERO",
              "Categoria": null,
              "CodigoBCI": null,
              "Id": 0,
              "FechaCreacion": "2019-03-19T16:49:53.91",
              "FechaModificacion": "2020-09-22T23:56:36.203",
              "Activo": true,
              "Codigo": "0"
            },
            "Categoria": null,
            "ModeloVehiculo": null,
            "TipoTransmicion": null,
            "Cilindrada": null,
            "Id": 1772876,
            "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
            "FechaModificacion": null,
            "Activo": true,
            "Codigo": null
          },
          "Mascota": null,
          "Cliente": null,
          "FechaRenovacion": null,
          "FechaEfectoAlta": null,
          "FechaEfectoBaja": null,
          "FechaOperacion": null,
          "ProductoModelo": null,
          "NumeroDocto": 0,
          "Item": 0,
          "MontoAsegurado": 0.0,
          "Deducible": 0.0,
          "CodigoSucursal": null,
          "TipoDocto": null,
          "Ramo": null,
          "Cobertura": null,
          "Corredor": null,
          "Vigente": false,
          "Id": 3154683,
          "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
          "FechaModificacion": null,
          "Activo": false,
          "Codigo": null
        }
      ],
      "Direccion": null,
      "Tipo": null,
      "Rut": 85208700,
      "Dv": "5",
      "Nombre": "ARVAL ",
      "ApellidoPaterno": "ARVAL ",
      "ApellidoMaterno": null,
      "Correo": "EARAVENA@CIDINGENIERIA.COM",
      "Fono": "932306357",
      "Id": 3211706,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Poliza": {
      "Numero": null,
      "AcReferencia": null,
      "Modalidad": {
        "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
        "Compania": {
          "Nombre": "ARVAL-RELSA",
          "Id": 34,
          "FechaCreacion": "2019-03-19T17:39:01.21",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": "REL"
        },
        "Garantias": null,
        "PermiteOtrosVehiculos": false,
        "Id": 218,
        "FechaCreacion": "2019-03-29T11:43:09.323",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "RE01"
      },
      "Vehiculo": {
        "Patente": "VBTT20",
        "Color": "BLANCO",
        "Marca": "PEUGEOT",
        "Modelo": "PARTNER",
        "NroMotor": null,
        "NroChasis": null,
        "Anio": 2025,
        "Gama": null,
        "Tipo": {
          "Descripcion": "MECANICO/BENCINERO",
          "Categoria": null,
          "CodigoBCI": null,
          "Id": 0,
          "FechaCreacion": "2019-03-19T16:49:53.91",
          "FechaModificacion": "2020-09-22T23:56:36.203",
          "Activo": true,
          "Codigo": "0"
        },
        "Categoria": null,
        "ModeloVehiculo": null,
        "TipoTransmicion": null,
        "Cilindrada": null,
        "Id": 1772876,
        "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "Mascota": null,
      "Cliente": {
        "Polizas": [],
        "Direccion": null,
        "Tipo": null,
        "Rut": 85208700,
        "Dv": "5",
        "Nombre": "ARVAL ",
        "ApellidoPaterno": "ARVAL ",
        "ApellidoMaterno": null,
        "Correo": "EARAVENA@CIDINGENIERIA.COM",
        "Fono": "932306357",
        "Id": 3211706,
        "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": null
      },
      "FechaRenovacion": null,
      "FechaEfectoAlta": null,
      "FechaEfectoBaja": null,
      "FechaOperacion": null,
      "ProductoModelo": null,
      "NumeroDocto": 0,
      "Item": 0,
      "MontoAsegurado": 0.0,
      "Deducible": 0.0,
      "CodigoSucursal": null,
      "TipoDocto": null,
      "Ramo": null,
      "Cobertura": null,
      "Corredor": null,
      "Vigente": false,
      "Id": 3154683,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": false,
      "Codigo": null
    },
    "Compania": {
      "Nombre": "ARVAL-RELSA",
      "Id": 34,
      "FechaCreacion": "2019-03-19T17:39:01.21",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "REL"
    },
    "Modalidad": {
      "Descripcion": "ARVAL-RELSA ASIST VEH LIVIANO",
      "Compania": {
        "Nombre": "ARVAL-RELSA",
        "Id": 34,
        "FechaCreacion": "2019-03-19T17:39:01.21",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "REL"
      },
      "Garantias": null,
      "PermiteOtrosVehiculos": false,
      "Id": 218,
      "FechaCreacion": "2019-03-29T11:43:09.323",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "RE01"
    },
    "Garantia": {
      "Limite": "Uf 10 x eve Max 2 eve x año",
      "Glosa": "Remolque/Traslado de Vehículo",
      "Tipo": null,
      "MediosPreferentes": null,
      "Modalidades": null,
      "Detalle": "En caso de avería o accidente del vehículo que cause su inmovilidad o en caso de robo del vehículo, y una vez cumplidos los trámites de denuncia a las Autoridades competentes AUXILIA sufragará los siguientes gastos:  a) La estancia en hotel, siempre que la reparación del vehículo no pueda ser efectuada en el mismo día de su inmovilización y requiera para ser hecha de un tiempo superior a 2 horas, según el criterio del responsable del taller elegido.  b) El desplazamiento para el traslado del cliente hasta su domicilio habitual, siempre que la reparación del vehículo no pueda ser efectuada en las 48 horas siguientes a la inmovilización y requiera para ser hecha de un tiempo superior a 6 horas, según el criterio del responsable del taller elegido.  Si el cliente opta por la continuación del viaje, AUXILIA sufragará los gastos de desplazamiento hasta el lugar de destino previsto, siempre que el costo no supere la prestación a que se refiere el párrafo anterior.  ",
      "Id": 199,
      "FechaCreacion": "2019-03-19T17:57:54.363",
      "FechaModificacion": "2025-04-10T13:46:19.527",
      "Activo": true,
      "Codigo": "V20"
    },
    "MedioPreferente": {
      "Nombre": "Grúa",
      "Coberturas": null,
      "RequiereDireccionDestino": true,
      "Ambitos": null,
      "Id": 1,
      "FechaCreacion": "2019-03-19T16:49:49.343",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M054"
    },
    "Vehiculo": null,
    "ContactoRut": 85208700,
    "ContactoNombre": "EVA  ",
    "ContactoApellidoPaterno": "ARAVENA ",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "EARAVENA@CIDINGENIERIA.COM",
    "ContactoFono": "932306357",
    "FechaApertura": "2025-05-08T17:17:19",
    "FechaIncidente": null,
    "ObservacionIncidente": "SINIESTROLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
    "UsuarioApertura": {
      "NombreUsuario": "CALCORTA",
      "Clave": "calcorta@auxilia",
      "ClaveAutorizaCosto": null,
      "Rol": null,
      "Rut": 0,
      "Dv": null,
      "Nombre": "Carlos",
      "ApellidoPaterno": "Alcorta",
      "ApellidoMaterno": "-",
      "Correo": "calcorta@auxilia.cl",
      "Fono": null,
      "Id": 58895,
      "FechaCreacion": "2021-08-19T09:53:46.607",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "CALCORTA"
    },
    "Averia": {
      "Incidencia": {
        "Descripcion": "ACCIDENTE",
        "Id": 1,
        "FechaCreacion": "2019-03-19T17:38:20.623",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "ACC"
      },
      "Descripcion": "CHOQUE TRASERO RUEDAS TRABADAS",
      "Urgente": true,
      "Critico": true,
      "Id": 151,
      "FechaCreacion": "2019-03-19T17:38:25.84",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "A04"
    },
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951708,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2961001"
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21820,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T18:34:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CALCORTA",
    "Clave": "calcorta@auxilia",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Carlos",
    "ApellidoPaterno": "Alcorta",
    "ApellidoMaterno": "-",
    "Correo": "calcorta@auxilia.cl",
    "Fono": null,
    "Id": 58895,
    "FechaCreacion": "2021-08-19T09:53:46.607",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CALCORTA"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": "ES CASA ",
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": 40.3219048,
    "Longitud": -3.8677526,
    "Direccion": "CALLE MONTERO 502 ",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 167,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 9,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -35.4213153,
    "Longitud": -71.6555851,
    "Direccion": "5 Norte 1472, Talca",
    "Numeracion": "1472",
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 196,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 199,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 151,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "SINIESTROLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 0,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T17:24:56.3570624-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
08/05/2025 17:27:48 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 08 May 2025 21:27:48 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 5983
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
08/05/2025 17:27:48 - {"ClassName":"System.Data.Entity.Infrastructure.DbUpdateException","Message":"An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details.","Data":null,"InnerException":{"ClassName":"System.Data.Entity.Core.UpdateException","Message":"An error occurred while updating the entries. See the inner exception for details.","Data":null,"InnerException":{"Errors":[{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'CodigoReserva' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0},{"source":".Net SqlClient Data Provider","number":207,"state":1,"errorClass":16,"server":"dbaux.auxilia.cc","message":"El nombre de columna 'RegistroPrestacion_Id' no es válido.","procedure":"","lineNumber":1,"win32ErrorCode":0}],"ClientConnectionId":"63226c58-f781-4c16-8f78-3b76e64b4c86","ClassName":"System.Data.SqlClient.SqlException","Message":"El nombre de columna 'CodigoReserva' no es válido.\r\nEl nombre de columna 'RegistroPrestacion_Id' no es válido.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"14.00.3485","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"207","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"},"InnerException":null,"HelpURL":null,"StackTraceString":"   en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n   en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n   en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n   en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n   en System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n   en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n   en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n   en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n   en System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)\r\n   en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)\r\n   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nOnError\nSystem.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.SqlClient.SqlConnection\nVoid OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action])","HResult":-2146232060,"Source":".Net SqlClient Data Provider","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()\r\n   en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)\r\n   en System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)\r\n   en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)\r\n   en System.Data.Entity.Internal.InternalContext.SaveChanges()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nUpdate\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator\nInt32 Update()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   en System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n   en BackVial.API.Bl.ServiciosBl.<CrearAsync>d__2.MoveNext() en C:\\Desarrollo\\BackVial\\branches\\BackVial.Site\\BackVial.Api\\Bl\\ServiciosBl.cs:línea 265","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nSaveChanges\nEntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.Data.Entity.Internal.InternalContext\nInt32 SaveChanges()","HResult":-2146233087,"Source":"EntityFramework","WatsonBuckets":null,"InvolvesIndependentAssociations":true}
<br/><br/>
08/05/2025 17:27:48 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 0,
    "ContactoNombre": null,
    "ContactoApellidoPaterno": null,
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": null,
    "ContactoFono": null,
    "FechaApertura": "0001-01-01T00:00:00",
    "FechaIncidente": null,
    "ObservacionIncidente": null,
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 951709,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Secuencial": 0,
  "MedioEspecifico": {
    "MedioGenerico": null,
    "Nombre": null,
    "Unidades": null,
    "Id": 21820,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MedioPreferente": {
    "Nombre": null,
    "Coberturas": null,
    "RequiereDireccionDestino": false,
    "Ambitos": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": null,
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2025-05-08T18:42:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "CALCORTA",
    "Clave": "calcorta@auxilia",
    "ClaveAutorizaCosto": null,
    "Rol": {
      "Descripcion": "Usuario Front",
      "Modulos": null,
      "Id": 4,
      "FechaCreacion": "2020-03-03T00:00:00",
      "FechaModificacion": "2020-03-03T00:00:00",
      "Activo": true,
      "Codigo": null
    },
    "Rut": 0,
    "Dv": null,
    "Nombre": "Carlos",
    "ApellidoPaterno": "Alcorta",
    "ApellidoMaterno": "-",
    "Correo": "calcorta@auxilia.cl",
    "Fono": null,
    "Id": 58895,
    "FechaCreacion": "2021-08-19T09:53:46.607",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "CALCORTA"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": "ES CASA ",
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 4,
      "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": 40.3219048,
    "Longitud": -3.8677526,
    "Direccion": "CALLE  MONTERO 502",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 167,
      "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": {
    "Referencia": null,
    "TipoUbicacion": {
      "Descripcion": null,
      "Id": 9,
      "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Latitud": -35.4213153,
    "Longitud": -71.6555851,
    "Direccion": "5 Norte 1472, Talca",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": null,
      "Provincia": null,
      "CodigoBCI": null,
      "Id": 196,
      "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Costo": null,
  "Tipo": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "CheckContinuidadServicio": false,
  "Bitacoras": null,
  "PREV_CODIGO_UNIDAD_MEDIDA": "KMS",
  "PREV_DIVISA": "CLP",
  "ESTADO_FRA_CLIENTE": "PF",
  "ESTADO_COSTE": "VL",
  "PREV_CALCULADO_PTS": null,
  "CALCULO_IMPORTE_VENTA": 1,
  "PlazoDias": 0,
  "TelefonoAviso": null,
  "Garantia": {
    "Limite": null,
    "Glosa": null,
    "Tipo": null,
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": null,
    "Id": 199,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": null,
      "Id": 1,
      "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": null
    },
    "Descripcion": null,
    "Urgente": false,
    "Critico": false,
    "Id": 151,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "MotivoPlanificacion": {
    "Descripcion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "TipoSolicitud": {
    "Descripcion": null,
    "Id": 1,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "SINIESTROLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO\nLE CHOCARON EL VH/ DIRECCION TRABADA - RUEDA IZQUIERDA MAL ESTADO",
  "Urgente": false,
  "Critico": false,
  "AvisoCliente": false,
  "Ocupantes": 0,
  "FechaCargaSql": null,
  "SistemaOrigenCoordinacion": null,
  "NombreCentroCosto": null,
  "CodigoSiniestro": null,
  "NombreLiquidador": null,
  "NombreTaller": null,
  "FonoTaller": null,
  "IdAsistencia": 0,
  "IngresoSiniestro": false,
  "IngresoSiniestroCore": false,
  "IngresarDatosAccidente": false,
  "IngresarInformacionConductor": false,
  "IngresarInformacionAccidente": false,
  "IngresarInfDenunciante": false,
  "IngresoOrdenDePago": false,
  "ConfirmacionPagoBCI": false,
  "IdEncuesta": 0,
  "NumeroEvento": 0,
  "FechaAtencion": null,
  "Sintomas": null,
  "Clasificacion": {
    "Descripcion": null,
    "Valor": null,
    "Editable": false,
    "Tipo": null,
    "UsuarioCreacion": null,
    "UsuarioActualizacion": null,
    "Id": 0,
    "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "CodigoReserva": 0,
  "RegistroPrestacion": null,
  "Id": 0,
  "FechaCreacion": "2025-05-08T17:27:48.546331-04:00",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
