Exemplo n.º 1
0
        public static void getFCCampaignId()
        {
            FCServiceClient service = new FCServiceClient();

            AuthHeader authHeader = new AuthHeader();

            HeaderUtil.loadHeader(authHeader);

            long[] fcCampaignIds = null;

            ResHeader resHeader = service.getFCCampaignId(authHeader, out fcCampaignIds);

            Console.WriteLine("FCService.getFCCampaignId(): ");
            ObjectDumper.WriteResponse(resHeader, fcCampaignIds);
        }
Exemplo n.º 2
0
        public static void getFCUnitByFCUnitId()
        {
            FCServiceClient service = new FCServiceClient();

            AuthHeader authHeader = new AuthHeader();

            HeaderUtil.loadHeader(authHeader);

            long[]       fcUnitIds = new long[] { 54572791L };
            FCUnitType[] fcUnits   = null;

            ResHeader resHeader = service.getFCUnitByFCUnitId(authHeader, fcUnitIds, out fcUnits);

            Console.WriteLine("FCService.getFCUnitByFCUnitId(): ");
            ObjectDumper.WriteResponse(resHeader, fcUnits);
        }