示例#1
0
        private void btn_editConf_Click(object sender, EventArgs e)
        {
            try
            {
                EditConfInfo _confInfo = new EditConfInfo();
                _confInfo.userId      = this.txt_AccountId.Text.Trim();
                _confInfo.gwIp        = this.txt_gwIp.Text.Trim();
                _confInfo.subPbx      = this.txt_PBXid.Text.Trim();
                _confInfo.confId      = this.txt_confId.Text.Trim();
                _confInfo.guestPwd    = this.txt_guestPw5.Text.Trim();
                _confInfo.chairmanPwd = this.txt_masterPw5.Text.Trim();
                _confInfo.amount      = this.txt_confNumber.Text.Trim();
                _confInfo.recordFlag  = this.cbx_isRecord.Text.Trim();
                _confInfo.srtpMode    = this.cbx_isEncrype.Text.Trim();
                _confInfo.startTime   = this.txt_confStartTime.Text.Trim();
                _confInfo.endTime     = this.txt_confEndTime.Text.Trim();
                _confInfo.confMode    = this.cbx_confType.Text.Trim();
                _confInfo.confName    = this.txt_confTitle.Text.Trim();
                _confInfo.leavePrompt = this.cbx_leavePrompt.Text.Trim();
                _confInfo.enterPrompt = this.cbx_enterPrompt.Text.Trim();

                CommentResponse result = ecBusiness.EditConf(_confInfo);
                if (result != null)
                {
                    this.txt_ResultCode.Text = result.resultCode;
                    this.txt_Content.Text    = result.resultContext;
                    this.txt_ResultInfo.Text = eSDKServiceHelper.GetJsonString(result);
                    if (result.resultCode == "0")
                    {
                        this.WriteLog("call edit conference success.");
                    }
                    else
                    {
                        this.WriteLog("call edit conference failed," + result.resultContext);
                    }
                }
                else
                {
                    this.WriteLog("call edit conference failed,response is null.");
                }
            }
            catch (Exception ex)
            {
                this.WriteLog("call edit conference failed," + ex.Message);
            }
        }
示例#2
0
        public static CommentResponse editConf(EditConfInfo info)
        {
            CommentResponse result = eSDKServiceHelper.CallService <CommentResponse>(EcConstUri.ctc_uri, HttpMethod.PUT, info);

            return(result);
        }
示例#3
0
        /// <summary>
        /// 修改会议
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        public CommentResponse EditConf(EditConfInfo info)
        {
            CommentResponse result = eSDKServiceHelper.editConf(info);

            return(result);
        }