<br/><br/>
22/08/2024 15:51:45 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 22 Aug 2024 19:51:44 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 790
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
22/08/2024 15:51:45 - {"ClassName":"System.NullReferenceException","Message":"Referencia a objeto no establecida como instancia de un objeto.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   en BackVial.API.Controllers.ExpedientesController.ActualizarDatosPrimerServicio(Servicio servicio) en C:\\Desarrollo\\Proyectos\\BackVial\\BackVial.Site\\BackVial.Api\\Controllers\\ExpedientesController.cs:línea 430","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nActualizarDatosPrimerServicio\nBackVial.API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nBackVial.API.Controllers.ExpedientesController\nSystem.Web.Http.IHttpActionResult ActualizarDatosPrimerServicio(BackVial.Models.Servicio)","HResult":-2147467261,"Source":"BackVial.API","WatsonBuckets":null}
<br/><br/>
22/08/2024 15:51:45 - {
  "Expediente": {
    "Cliente": null,
    "Poliza": null,
    "Compania": null,
    "Modalidad": null,
    "Garantia": null,
    "MedioPreferente": null,
    "Vehiculo": null,
    "ContactoRut": 76742430,
    "ContactoNombre": "JORGE",
    "ContactoApellidoPaterno": "LIADO",
    "ContactoApellidoMaterno": null,
    "ContactoCorreo": "dquezada@dlh.cl",
    "ContactoFono": "995889001",
    "FechaApertura": "2024-08-22T15:42:21",
    "FechaIncidente": null,
    "ObservacionIncidente": "SS GRUA // RUEDAS Y VOLANTE OK // POSIBLE PORLBMEA DE MOTOR",
    "UsuarioApertura": null,
    "Averia": null,
    "UbicacionIncidente": null,
    "TipoUbicacion": null,
    "UbicacionDestino": null,
    "Ocupantes": 0,
    "TelefonoAviso": null,
    "CanalVenta": null,
    "Servicios": null,
    "Id": 788007,
    "FechaCreacion": "2024-08-22T15:47:41.407",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "2798261"
  },
  "Secuencial": 1,
  "MedioEspecifico": {
    "MedioGenerico": {
      "Nombre": "Grúa",
      "Coberturas": null,
      "RequiereDireccionDestino": true,
      "Ambitos": [
        {
          "Id": 1,
          "Descripcion": "Vial",
          "MediosGenericos": []
        }
      ],
      "Id": 1,
      "FechaCreacion": "2019-03-19T16:49:49.343",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "M054"
    },
    "Nombre": "GRUAS PESADA",
    "Unidades": null,
    "Id": 46,
    "FechaCreacion": "2020-05-27T00:00:00",
    "FechaModificacion": "2021-07-08T16:25:48.887",
    "Activo": true,
    "Codigo": "GPE"
  },
  "MedioPreferente": {
    "Nombre": "Grúa",
    "Coberturas": null,
    "RequiereDireccionDestino": true,
    "Ambitos": [
      {
        "Id": 1,
        "Descripcion": "Vial",
        "MediosGenericos": []
      }
    ],
    "Id": 1,
    "FechaCreacion": "2019-03-19T16:49:49.343",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "M054"
  },
  "Unidad": null,
  "BaseProveedor": null,
  "Operador": null,
  "Estado": {
    "Descripcion": "Pendiente",
    "Id": 1,
    "FechaCreacion": "2019-03-19T16:49:54.503",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "PE"
  },
  "FechaSalidaCola": null,
  "FechaAsignacion": null,
  "FechaPreAsignacion": null,
  "FechaEstimadaLlegada": "2024-08-22T16:58:00",
  "FechaLlegada": null,
  "FechaEstimadaTermino": null,
  "FechaCierre": null,
  "FechaAnulacion": null,
  "EjecutivoPeticion": {
    "NombreUsuario": "LLAROSA@ASISTENCIA365.COM.PE",
    "Clave": "llarosa@asistencia365.com.pe",
    "ClaveAutorizaCosto": null,
    "Rol": null,
    "Rut": 0,
    "Dv": null,
    "Nombre": "Luis Enrique",
    "ApellidoPaterno": "La Rosa ",
    "ApellidoMaterno": "Rubín",
    "Correo": "llarosa@asistencia365.com.pe",
    "Fono": null,
    "Id": 64519,
    "FechaCreacion": "2024-06-25T10:55:54.353",
    "FechaModificacion": "2024-06-25T10:55:54.433",
    "Activo": true,
    "Codigo": "LLAROSA@ASISTENCIA365.COM.PE"
  },
  "EjecutivoPreasignacion": null,
  "EjecutivoAsignacion": null,
  "EjecutivoCierre": null,
  "EjecutivoAnulacion": null,
  "EjecutivoAutorizaCosto": null,
  "EjecutivoModificacion": null,
  "TiempoEstimadoLlegada": "00:00:00",
  "DistanciaTotalMts": 0,
  "LugarPercance": {
    "Referencia": "LAS VIOLETAS CON LOS PERALES, EN LA MISMA INTERSECCION",
    "TipoUbicacion": {
      "Descripcion": "VIA PÚBLICA",
      "Id": 1,
      "FechaCreacion": "2019-03-19T16:49:56.973",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "EXT2"
    },
    "Latitud": -37.0354938,
    "Longitud": -72.3960932,
    "Direccion": "Los Perales, Cabrero",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": "Cabrero",
      "Provincia": {
        "Nombre": "Bio Bío",
        "Region": {
          "Nombre": "Biobío",
          "Ordinal": "VIII",
          "CodigoBCI": 8,
          "Id": 10,
          "FechaCreacion": "2019-03-19T16:49:13.967",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        },
        "Id": 35,
        "FechaCreacion": "2019-03-19T16:49:15.113",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "30"
      },
      "CodigoBCI": "CAB",
      "Id": 206,
      "FechaCreacion": "2019-03-19T16:49:20.087",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "CL3002"
    },
    "Id": 1816720,
    "FechaCreacion": "2024-08-22T15:47:41.407",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "LugarDestino": {
    "Referencia": "PLANTA DE LA MISMA EMPRESA - EMPRESA KIMWOOD",
    "TipoUbicacion": {
      "Descripcion": "CARRETERA",
      "Id": 2,
      "FechaCreacion": "2019-03-19T16:49:57",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "EXT3"
    },
    "Latitud": -37.0274375,
    "Longitud": -72.3698125,
    "Direccion": "XJFJ+23 Cabrero",
    "Numeracion": null,
    "UltimaFuente": null,
    "Comuna": {
      "Nombre": "Cabrero",
      "Provincia": {
        "Nombre": "Bio Bío",
        "Region": {
          "Nombre": "Biobío",
          "Ordinal": "VIII",
          "CodigoBCI": 8,
          "Id": 10,
          "FechaCreacion": "2019-03-19T16:49:13.967",
          "FechaModificacion": null,
          "Activo": true,
          "Codigo": null
        },
        "Id": 35,
        "FechaCreacion": "2019-03-19T16:49:15.113",
        "FechaModificacion": null,
        "Activo": true,
        "Codigo": "30"
      },
      "CodigoBCI": "CAB",
      "Id": 206,
      "FechaCreacion": "2019-03-19T16:49:20.087",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "CL3002"
    },
    "Id": 1816719,
    "FechaCreacion": "2024-08-22T15:47:41.407",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Costo": null,
  "Tipo": {
    "Descripcion": "Inmediato",
    "Id": 1,
    "FechaCreacion": "2019-03-19T16:49:54.173",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "P"
  },
  "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": "UF 12 x evento",
    "Glosa": "Remolque/Traslado de Vehículo",
    "Tipo": {
      "Descripcion": "VEHICULAR",
      "Id": 2,
      "FechaCreacion": "2019-03-19T16:49:57.477",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "3"
    },
    "MediosPreferentes": null,
    "Modalidades": null,
    "Detalle": "En caso de que el vehículo asegurado no pudiera circular por avería o accidente, AUXILIA ASISTENCIAS se hará cargo del remolque o transporte hasta el taller que elija el Beneficiario.",
    "Id": 199,
    "FechaCreacion": "2019-03-19T17:57:54.363",
    "FechaModificacion": "2024-07-29T10:19:02.54",
    "Activo": true,
    "Codigo": "V20"
  },
  "Averia": {
    "Incidencia": {
      "Descripcion": "MOTOR",
      "Id": 12,
      "FechaCreacion": "2019-03-19T17:38:21.307",
      "FechaModificacion": null,
      "Activo": true,
      "Codigo": "MOT"
    },
    "Descripcion": "MOTOR CLAVADO",
    "Urgente": false,
    "Critico": false,
    "Id": 29,
    "FechaCreacion": "2019-03-19T17:38:25.84",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": "163"
  },
  "MotivoPlanificacion": null,
  "TipoSolicitud": {
    "Descripcion": "Nueva Solicitud",
    "Id": 1,
    "FechaCreacion": "2020-09-22T19:38:23.657",
    "FechaModificacion": null,
    "Activo": true,
    "Codigo": null
  },
  "Observaciones": "SS GRUA // RUEDAS Y VOLANTE OK // POSIBLE PORLBMEA DE MOTOR",
  "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": null,
  "EstadoServicioUnidad": null,
  "ComunicacionesAsignacion": null,
  "ComunicacionesCierre": null,
  "TipoCliente": null,
  "Id": 1040592,
  "FechaCreacion": "2024-08-22T15:47:41.407",
  "FechaModificacion": null,
  "Activo": true,
  "Codigo": null
}
<br/><br/>
22/08/2024 15:51:45 - ServicioId 1040592
<br/><br/>
22/08/2024 15:51:45 - System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en BackVial.Site.Controllers.FrontController._ActualizarServicio(Servicio servicio) en C:\Desarrollo\Proyectos\BackVial\BackVial.Site\BackVial.Site\Controllers\FrontController.cs:línea 1090
<br/><br/>
22/08/2024 15:55:03 - ServicioId 1040599
<br/><br/>
22/08/2024 15:55:03 - System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
   en BackVial.Site.Controllers.FrontController._ActualizarServicio(Servicio servicio) en C:\Desarrollo\Proyectos\BackVial\BackVial.Site\BackVial.Site\Controllers\FrontController.cs:línea 1090
<br/><br/>
22/08/2024 17:21:43 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 22 Aug 2024 21:21:43 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 3061
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
22/08/2024 17:21:43 - {"Message":"An error has occurred.","ExceptionMessage":"El proceso no puede obtener acceso al archivo 'C:\\Aplicaciones\\LogsLogs\\Inbox\\SigmaVial_API\\20240822.log' porque está siendo utilizado en otro proceso.","ExceptionType":"System.IO.IOException","StackTrace":"   en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   en System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n   en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n   en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)\r\n   en System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)\r\n   en BackVial.Utils.Logger.Log(String texto, Exception ex) en C:\\Desarrollo\\Proyectos\\BackVial\\BackVial.Site\\BackVial.Utils\\Logger.cs:línea 140\r\n   en BackVial.API.Controllers.IntegracionBCIController.<ObtenerPolizas>d__2.MoveNext() en C:\\Desarrollo\\Proyectos\\BackVial\\BackVial.Site\\BackVial.Api\\Controllers\\IntegracionBCIController.cs:línea 122\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}
<br/><br/>
22/08/2024 17:21:43 - {
  "NroMotor": null,
  "VIN": null,
  "Rut": 11183958,
  "Nombre": null,
  "ApellidoPaterno": null,
  "ApellidoMaterno": null,
  "ContactoNombre": null,
  "ContactoApellidoPaterno": null,
  "ContactoApellidoMaterno": null,
  "Patente": null,
  "Telefono": null,
  "Referencia": null,
  "CompaniaId": 1,
  "ModalidadId": null,
  "NumeroPoliza": null,
  "CodSucursal": null,
  "Ramo": null,
  "TipoDocumento": null,
  "NumDocumento": 0,
  "FechaSiniestro": "0001-01-01T00:00:00",
  "Item": 0
}
<br/><br/>
22/08/2024 17:21:43 - StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
  Pragma: no-cache
  Cache-Control: no-cache
  Date: Thu, 22 Aug 2024 21:21:43 GMT
  Server: Microsoft-IIS/10.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Content-Length: 3061
  Content-Type: application/json; charset=utf-8
  Expires: -1
}
<br/><br/>
22/08/2024 17:21:43 - {"Message":"An error has occurred.","ExceptionMessage":"El proceso no puede obtener acceso al archivo 'C:\\Aplicaciones\\LogsLogs\\Inbox\\SigmaVial_API\\20240822.log' porque está siendo utilizado en otro proceso.","ExceptionType":"System.IO.IOException","StackTrace":"   en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n   en System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)\r\n   en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)\r\n   en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)\r\n   en System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)\r\n   en BackVial.Utils.Logger.Log(String texto, Exception ex) en C:\\Desarrollo\\Proyectos\\BackVial\\BackVial.Site\\BackVial.Utils\\Logger.cs:línea 140\r\n   en BackVial.API.Controllers.IntegracionBCIController.<ObtenerPolizas>d__2.MoveNext() en C:\\Desarrollo\\Proyectos\\BackVial\\BackVial.Site\\BackVial.Api\\Controllers\\IntegracionBCIController.cs:línea 122\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---\r\n   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   en System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}
<br/><br/>
22/08/2024 17:21:43 - {
  "NroMotor": null,
  "VIN": null,
  "Rut": 11183958,
  "Nombre": null,
  "ApellidoPaterno": null,
  "ApellidoMaterno": null,
  "ContactoNombre": null,
  "ContactoApellidoPaterno": null,
  "ContactoApellidoMaterno": null,
  "Patente": null,
  "Telefono": null,
  "Referencia": null,
  "CompaniaId": 58,
  "ModalidadId": null,
  "NumeroPoliza": null,
  "CodSucursal": null,
  "Ramo": null,
  "TipoDocumento": null,
  "NumDocumento": 0,
  "FechaSiniestro": "0001-01-01T00:00:00",
  "Item": 0
}
