Example #1
0
        public List <E_Ventas_NN_Mod> Obtener_Ventas_SubCategoria(string ubigeo, string idReportPlanning, string otrosparametros)
        {
            MapService.Ges_MapsServiceClient mapServices = new MapService.Ges_MapsServiceClient("BasicHttpBinding_IGes_MapsService");

            Obtener_Ventas_NN_Mod_Request oRequest = new Obtener_Ventas_NN_Mod_Request();

            oRequest.ubigeo            = ubigeo;
            oRequest.idReportsPlanning = idReportPlanning;
            oRequest.otrosParametros   = otrosparametros;

            string request = Lucky.CFG.JavaMovil.HelperJson.Serialize <Obtener_Ventas_NN_Mod_Request>(oRequest);
            string data    = mapServices.Obtener_Presencia_EleVisibilidad_NN_V1_Rev02(request);

            Obtener_Ventas_NN_Mod_Response response = Lucky.CFG.JavaMovil.HelperJson.Deserialize <Obtener_Ventas_NN_Mod_Response>(data);

            return(response.listaVentas_NN);
        }
Example #2
0
        /*
         * public class Obtener_Presencia_ElemeVisibilidad_NN_Request
         * {
         * [JsonProperty(""a"")]
         * public int servicio { get; set; }
         *
         * [JsonProperty(""b"")]
         * public string canal { get; set; }
         *
         * [JsonProperty(""c"")]
         * public int codCliente { get; set; }
         *
         * [JsonProperty(""d"")]
         * public string ubigeo { get; set; }
         *
         * [JsonProperty(""e"")]
         * public int reportsPlanning { get; set; }
         *
         * [JsonProperty(""f"")] //Add 28-05-2013 - Psa
         * public string otrosParametros { get; set; }
         * }
         * public class Obtener_Presencia_ElemeVisibilidad_NN_Response : BaseResponse
         * {
         * [JsonProperty(""a"")]
         * public List<E_PresenciaNN> listaPresencia { get; set; }
         *
         * [JsonProperty(""b"")]
         * public List<E_ElemVisibilidad> listaElementosVisibilidad { get; set; }
         *
         *
         * }
         */


        public Obtener_Presencia_ElemeVisibilidad_NN_Response Obtener_Elementos_Visibilidad(String servicio, String canal, String codCliente, String ubigeo, String idReportsPlanning, String otrosParametros)
        {
            MapService.Ges_MapsServiceClient mapServices = new MapService.Ges_MapsServiceClient("BasicHttpBinding_IGes_MapsService");

            Obtener_Presencia_ElemeVisibilidad_NN_Request oRequest = new Obtener_Presencia_ElemeVisibilidad_NN_Request();

            oRequest.servicio        = servicio;
            oRequest.codCliente      = codCliente;
            oRequest.canal           = canal;
            oRequest.ubigeo          = ubigeo;
            oRequest.reportsPlanning = idReportsPlanning;
            oRequest.otrosParametros = otrosParametros;

            String request = Lucky.CFG.JavaMovil.HelperJson.Serialize <Obtener_Presencia_ElemeVisibilidad_NN_Request>(oRequest);
            String data    = mapServices.Obtener_Presencia_EleVisibilidad_NN_V1_Rev02(request);


            Obtener_Presencia_ElemeVisibilidad_NN_Response response = Lucky.CFG.JavaMovil.HelperJson.Deserialize <Obtener_Presencia_ElemeVisibilidad_NN_Response>(data);

            return(response);
        }