Example #1
0
        public void TestGetForms()
        {
            // new TestMemberLogin().TestSetSignIn();
            var RP      = new GetFormsRP();
            var request = new APIRequest <GetFormsRP>();

            request.Parameters = RP;
            request.CustomerID = customerId;
            var rsp = APIClientProxy.CallAPI <GetFormsRP, JIT.CPOS.DTO.Module.VIP.MobileModule.Response.GetFormsRD>(DTO.ValueObject.APITypes.Product, "VIP.MobileModule.GetForms", request);

            Console.WriteLine(rsp.ToJSON());
        }
        public void TestGetForms()
        {
            //new TestMemberLogin().TestSetSignIn();
            var RP = new GetFormsRP();

            RP.Type = 1;
            var request = new APIRequest <GetFormsRP>();

            request.Parameters = RP;
            //request.CustomerID = customerId;
            var rsp = APIClientProxy.CallAPI <GetFormsRP, GetFormsRD>(APITypes.Product, "VIP.MobileModule.GetForms", request);

            Console.WriteLine(rsp.ToJSON());
        }