Example #1
0
        public IList <E_Ventas_NN_Mod> Obtener_Ventas_Rev02(string ubigeo, string idReportsPlanning, 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 = idReportsPlanning;
            oRequest.otrosParametros   = otrosParametros;

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

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

            return(response.listaVentas_NN);
        }
Example #2
0
        public Obtener_Ventas_NN_Mod_Response obtener_Ventas_NN(string ubigeo, string idReportsPlanning)
        {
            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 = idReportsPlanning;

            string request;
            string dataJson;

            request  = Lucky.CFG.JavaMovil.HelperJson.Serialize <Obtener_Ventas_NN_Mod_Request>(oRequest);
            dataJson = mapServices.Obtener_Ventas_NN(request);

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

            return(response);
        }