Beispiel #1
0
        //XploraMaps - Lima
        public Representatividad_And_Cluster_Response Obtener_Cluster_Representatividad(string codZona, string codDistrito, string idPlanning, string reportsPlanning)
        {
            MapService.Ges_MapsServiceClient mapServices = new MapService.Ges_MapsServiceClient("BasicHttpBinding_IGes_MapsService");

            Representatividad_And_Cluster_Request oRequest = new Representatividad_And_Cluster_Request();

            oRequest.codZona         = codZona;
            oRequest.codDistrito     = codDistrito;
            oRequest.idPlanning      = idPlanning;
            oRequest.reportsPlanning = reportsPlanning;

            string request;
            string dataJson;

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

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

            return(response);
        }