public AcceptQueueRs acceptQueue(AcceptQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userAcceptQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <AcceptQueueRs>());
        }
示例#2
0
        public BranchReserveQueueRs reserveQueue(BranchReserveQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.branchReserveQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <BranchReserveQueueRs>());
        }
示例#3
0
        public GetCodeDescriptionRs CallGetCodeDescription(GetCodeDescriptionRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getCodeDescriptionUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetCodeDescriptionRs>());
        }
示例#4
0
        public OpenServiceRs openService(OpenServiceRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userOpenServiceUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <OpenServiceRs>());
        }
示例#5
0
        public BranchGetServicesRs getBranchServices(BranchGetServicesRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.branchGetServiceUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <BranchGetServicesRs>());
        }
        public RatingRs rating(RatingRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.ratingUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <RatingRs>());
        }
示例#7
0
        public GetServiceRs getServices(GetServiceRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userGetServiceUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetServiceRs>());
        }
        public SkipQueueRs skipQueue(SkipQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userSkipQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <SkipQueueRs>());
        }
        public CancelQueueRs cancelQueue(CancelQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.cancelQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <CancelQueueRs>());
        }
示例#10
0
        public LogoutRs callLogout(LogoutRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.logoutUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <LogoutRs>());
        }
        public FinishQueueRs finishQueue(FinishQueueRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.userFinishQueueUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <FinishQueueRs>());
        }
示例#12
0
        public ForgetPasswordRs CallForgetPassword(ForgetPasswordRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.forgetPasswordUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <ForgetPasswordRs>());
        }
示例#13
0
        public BranchLoginRs CallLogin(BranchLoginRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.branchLoginUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <BranchLoginRs>());
        }
示例#14
0
        public GetHistoryRs CallGetHistory(GetHistoryRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getHistoryUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <GetHistoryRs>());
        }
示例#15
0
        public EditProfileRs CallEditProfile(EditProfileRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.editProfileUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <EditProfileRs>());
        }
示例#16
0
        public RegisterRs CallRegister(RegisterRq request)
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.registerUrl;
            String resJSON    = CallServices.callPost(serviceUrl, request);

            return(JObject.Parse(resJSON).ToObject <RegisterRs>());
        }
示例#17
0
        public GetAppVersionRs CallGetAppVersion()
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getAppVersionUrl;

            GetAppVersionRq postData = new GetAppVersionRq();

            String resJSON = CallServices.callPost(serviceUrl, postData);

            return(JObject.Parse(resJSON).ToObject <GetAppVersionRs>());
        }
示例#18
0
        public GetBranchServicesRs CallGetBranchServices()
        {
            string serviceUrl = ServiceURL.ipServer + ServiceURL.getBranchServicesUrl;

            GetBranchServicesRq postData = new GetBranchServicesRq();

            postData.branchID = "";

            String resJSON = CallServices.callPost(serviceUrl, postData);

            return(JObject.Parse(resJSON).ToObject <GetBranchServicesRs>());
        }