public static ApiResponse.DatosChip GetDataChip(string ROM) { PropiedadesExtendidas LogPropiedades = new PropiedadesExtendidas(); CategoriasLog LogCategorias = new CategoriasLog(); try { ApiResponse.DatosChip response = null; LogCategorias.Clear(); LogCategorias.Agregar("SICOM"); LogPropiedades.Clear(); LogPropiedades.Agregar("Mensaje", "Antes de enviar la consulta"); LogPropiedades.Agregar("ROM ENVIADO", ROM); LogPropiedades.Agregar("Fecha", DateTime.Now.ToString()); POSstation.Fabrica.LogIt.Loguear("Envio de consulta de chip sicom", LogPropiedades, LogCategorias); string json = ApiSICOM.ExecuteApiCommand("ConsultarChip", "", ROM); LogCategorias.Clear(); LogCategorias.Agregar("SICOM"); LogPropiedades.Clear(); LogPropiedades.Agregar("Mensaje", "Despues de enviar la consulta"); LogPropiedades.Agregar("JSON RECIBIDO", json); LogPropiedades.Agregar("Fecha", DateTime.Now.ToString()); POSstation.Fabrica.LogIt.Loguear("Respuesta de consulta de chip sicom", LogPropiedades, LogCategorias); response = JSON.Deserialize <ApiResponse.DatosChip>(json); ApiSICOM.ThrowExceptionApi(response); return(response); } catch { throw; } }