/// <summary> /// 14、 指标详细设置与获取 /// </summary> /// <param name="token">token</param> /// <param name="id">指标id</param> /// <returns></returns> /// Jerry Shi public TermDetailResponse TermDetail(string token, string id) { try { string ApiResponse = string.Empty; TermDetailResponse termDetailResponse = new TermDetailResponse(); Dictionary <string, string> sPara = new Dictionary <string, string>(); sPara.Add("id", id); ApiResponse = F8YLSubmit.BuildGetRequest(sPara, "term/detail?token=" + token); termDetailResponse = JsonHelper.DeserializeJsonToObject <TermDetailResponse>(ApiResponse); return(termDetailResponse); } catch (Exception) { throw; } }
/// <summary> /// 12、 指标列表 /// </summary> /// <param name="hospitalid">医院id</param> /// <param name="page">分页id</param> /// <param name="name">指标名称(糊糊)</param> /// <param name="token"></param> /// <returns></returns> /// Jack Ding public TermListResponse List(int hospitalid, int page, string name, string token) { string strResponse = string.Empty; TermListResponse response = new TermListResponse(); try { Dictionary <string, string> sPara = new Dictionary <string, string>(); sPara.Add("hospitalid", hospitalid.ToString()); sPara.Add("page", page.ToString()); sPara.Add("name", name); strResponse = F8YLSubmit.BuildGetRequest(sPara, "term/list?token=" + token); response = JsonHelper.DeserializeJsonToObject <TermListResponse>(strResponse); return(response); } catch { throw; } }