Esempio n. 1
0
        private void btn_addConfNumber_Click(object sender, EventArgs e)
        {
            try
            {
                AddConfMemberInfo _addConfMemberInfo = new AddConfMemberInfo();
                _addConfMemberInfo.userId    = this.txt_AccountId.Text.Trim();
                _addConfMemberInfo.gwIp      = this.txt_gwIp.Text.Trim();
                _addConfMemberInfo.confId    = this.txt_confId.Text.Trim();
                _addConfMemberInfo.subPbx    = this.txt_PBXid.Text.Trim();
                _addConfMemberInfo.account   = "1205007";
                _addConfMemberInfo.attNumber = "1205007";
                _addConfMemberInfo.attType   = "0";
                _addConfMemberInfo.email     = "";

                CommentResponse result = ecBusiness.AddConfMember(_addConfMemberInfo);
                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 schedule conference success.");
                    }
                    else
                    {
                        this.WriteLog("call schedule conference failed," + result.resultContext);
                    }
                }
                else
                {
                    this.WriteLog("call schedule conference failed,response is null.");
                }
            }
            catch (Exception ex)
            {
                this.WriteLog("call schedule conference failed," + ex.Message);
            }
        }
Esempio n. 2
0
        public static CommentResponse addConfMember(AddConfMemberInfo info)
        {
            CommentResponse result = eSDKServiceHelper.CallService <CommentResponse>(EcConstUri.attendee_uri, HttpMethod.POST, info);

            return(result);
        }
Esempio n. 3
0
        /// <summary>
        /// 添加会议成员
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        public CommentResponse AddConfMember(AddConfMemberInfo info)
        {
            CommentResponse result = eSDKServiceHelper.addConfMember(info);

            return(result);
        }