コード例 #1
0
        public string TplReportListString(string token, string tplid, string patientid)
        {
            try
            {
                string ApiResponse             = string.Empty;
                TplReportListResponse response = new TplReportListResponse();

                Dictionary <string, string> sPara = new Dictionary <string, string>();

                sPara.Add("tplid", tplid);
                sPara.Add("patientid", patientid);

                ApiResponse = F8YLSubmit.BuildGetRequest(sPara, "tpl/report/list?token=" + token);

                return(ApiResponse);
            }
            catch
            {
                throw;
            }
        }
コード例 #2
0
        /// <summary>
        /// 20、	模板报告-列表
        /// </summary>
        /// <param name="token"></param>
        /// <param name="tplid">模板id</param>
        /// <param name="page">分页id</param>
        /// <returns></returns>
        /// Jack Ding
        public TplReportListResponse TplReportList(string token, string tplid, string patientid)
        {
            try
            {
                string ApiResponse             = string.Empty;
                TplReportListResponse response = new TplReportListResponse();

                Dictionary <string, string> sPara = new Dictionary <string, string>();

                sPara.Add("tplid", tplid);
                sPara.Add("patientid", patientid);

                ApiResponse = F8YLSubmit.BuildGetRequest(sPara, "tpl/report/list?token=" + token);
                response    = JsonHelper.DeserializeJsonToObject <TplReportListResponse>(ApiResponse);

                return(response);
            }
            catch
            {
                throw;
            }
        }