提供 Web Service、Http 两种接入模式
WEB Service 路径 http://mb345.com/WS/linkWS.asmx
注册接口 Reg
输入参数:CorpID-帐号,Pwd-密码,CorpName-企业名称、LinkMan-联系人、Tel-联系电话、Mobile-联系人手机、Email-邮件、Memo-其他备注
输出参数:整数,0:注册成功;-1、帐号已经注册;-2、其他错误;-3、帐号密码不匹配
public int Reg(string CorpID,string Pwd,string CorpName,string LinkMan,string Tel,string Mobile,string Email,string Memo)
{}
http://mb345.com/WS/Reg.aspx?CorpID=*&Pwd=*&CorpName=*&LinkMan=*&Tel=*&Mobile=*&Email=*&Memo=*
更改密码 UpdPwd
输入参数:CorpID-帐号,Pwd-密码,NewPwd-新密码
输出参数:整数,0:密码修改成功;-1、帐号未注册;-2、其他错误;-3、密码错误
public int UpdPwd(string CorpID,string Pwd,string NewPwd)
{}
http://mb345.com/WS/UpdPwd.aspx?CorpID=*&Pwd=*&NewPwd=*
修改注册信息 UpdReg
输入参数:CorpID-帐号,Pwd-密码,CorpName-企业名称、LinkMan-联系人、Tel-联系电话、Mobile-联系人手机、Email-邮件、Memo-其他备注
输出参数:整数,0:修改成功;-1、帐号未注册;-2、其他错误;-3、密码错误
public int UpdReg(string CorpID,string Pwd,string CorpName,string LinkMan,string Tel,string Mobile,string Email,string Memo)
{}
http://mb345.com/WS/UpdReg.aspx?CorpID=*&Pwd=*&CorpName=*&LinkMan=*&Tel=*&Mobile=*&Email=*&Memo=*
查询余额SelSum
输入参数:CorpID-帐号,Pwd-密码
输出参数:整数,>=0,剩余条数;-1、帐号未注册;-2、其他错误;-3、密码错误
public int SelSum(string CorpID,string Pwd)
{}
http://mb345.com/WS/SelSum.aspx?CorpID=*&Pwd=*
发送短信 Send
输入参数:CorpID-帐号,Pwd-密码,Mobile-发送手机号,Content-发送内容,Cell-子号(可为空),SendTime-定时发送时间(固定14位长度字符串,比如:20060912152435代表2006年9月12日15时24分35秒,可为空)
输出参数:整数,0,发送成功;-1、帐号未注册;-2、其他错误;-3、密码错误;-4、手机号格式不对;-5、余额不足;-6、定时发送时间不是有效的时间格式;-7、禁止10小时以内向同一手机号发送相同短信;
public int Send(string CorpID,string Pwd,string Moblie,string Content,string Cell,string SendTime)
{}
http://mb345.com/WS/Send.aspx?CorpID=*&Pwd=*&Mobile=*&Content=*&Cell=*&SendTime=*
接收短信 Get
输入参数:CorpID-帐号,Pwd-密码
输出参数:字串,具体字串;-1、帐号未注册;-2、其他错误;-3、密码错误
返回格式:||手机号#上行内容#发送时间#子号||手机号#上行内容#发送时间#子号……
public string Get(string CorpID,string Pwd)
{}
http://mb345.com/WS/Get.aspx?CorpID=*&Pwd=*
帐号充值 ChargeUp
输入参数:CorpID-帐号,Pwd-密码,CardNo-充值卡卡号,CardPwd-充值卡密码
输出参数:整数,0,充值成功;-1、帐号未注册;-2、其他错误;-3、密码错误;-7、充值失败(可能原因:充值卡号密码不匹配或者卡已经被使用)
public int ChargeUp(string CorpID,string Pwd,string CardNo,string CardPwd)
{}
http://mb345.com/WS/ChargeUp.aspx?CorpID=*&Pwd=*&CardNo=*&CardPwd=*
注销 UnReg
输入参数:CorpID-帐号,Pwd-密码
输出参数:整数,0,注销成功;-1、帐号未注册;-2、其他错误;-3、密码错误
public int UnReg(string CorpID,string Pwd)
{}
http://mb345.com/WS/UnReg.aspx?CorpID=*&Pwd=* |