ylbtech-Jasper-Api:接口测试 |
1. EditTerminal返回顶部 |
1、
/// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://api.jasperwireless.com/ws/service/terminal/EditTerminal", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("EditTerminalResponse", Namespace="http://api.jasperwireless.com/ws/schema")] public EditTerminalResponse EditTerminal([System.Xml.Serialization.XmlElementAttribute(Namespace="http://api.jasperwireless.com/ws/schema")] EditTerminalRequest EditTerminalRequest) { object[] results = this.Invoke("EditTerminal", new object[] { EditTerminalRequest}); return ((EditTerminalResponse)(results[0])); } /// <remarks/> public void EditTerminalAsync(EditTerminalRequest EditTerminalRequest) { this.EditTerminalAsync(EditTerminalRequest, null); } /// <remarks/> public void EditTerminalAsync(EditTerminalRequest EditTerminalRequest, object userState) { if ((this.EditTerminalOperationCompleted == null)) { this.EditTerminalOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEditTerminalOperationCompleted); } this.InvokeAsync("EditTerminal", new object[] { EditTerminalRequest}, this.EditTerminalOperationCompleted, userState); } private void OnEditTerminalOperationCompleted(object arg) { if ((this.EditTerminalCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EditTerminalCompleted(this, new EditTerminalCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://api.jasperwireless.com/ws/service/terminal/EditTerminalRating", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)] [return: System.Xml.Serialization.XmlElementAttribute("EditTerminalRatingResponse", Namespace="http://api.jasperwireless.com/ws/schema")] public EditTerminalRatingResponse EditTerminalRating([System.Xml.Serialization.XmlElementAttribute(Namespace="http://api.jasperwireless.com/ws/schema")] EditTerminalRatingRequest EditTerminalRatingRequest) { object[] results = this.Invoke("EditTerminalRating", new object[] { EditTerminalRatingRequest}); return ((EditTerminalRatingResponse)(results[0])); } /// <remarks/> public void EditTerminalRatingAsync(EditTerminalRatingRequest EditTerminalRatingRequest) { this.EditTerminalRatingAsync(EditTerminalRatingRequest, null); } /// <remarks/> public void EditTerminalRatingAsync(EditTerminalRatingRequest EditTerminalRatingRequest, object userState) { if ((this.EditTerminalRatingOperationCompleted == null)) { this.EditTerminalRatingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEditTerminalRatingOperationCompleted); } this.InvokeAsync("EditTerminalRating", new object[] { EditTerminalRatingRequest}, this.EditTerminalRatingOperationCompleted, userState); } private void OnEditTerminalRatingOperationCompleted(object arg) { if ((this.EditTerminalRatingCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EditTerminalRatingCompleted(this, new EditTerminalRatingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } }
2、
2. TerminalType返回顶部 |
1、
/// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://api.jasperwireless.com/ws/schema")] public partial class TerminalType { private string iccidField; private string terminalIdField; private string modemIdField; private string customerField; private string endConsumerIdField; private string suspendedField; private string ratePlanField; private string statusField; private decimal monthToDateUsageField; private bool overageLimitReachedField; private string overageLimitOverrideField; private System.DateTime dateActivatedField; private bool dateActivatedFieldSpecified; private System.DateTime dateAddedField; private System.DateTime dateModifiedField; private System.DateTime dateShippedField; private bool dateShippedFieldSpecified; private decimal monthToDateDataUsageField; private decimal monthToDateSMSUsageField; private decimal monthToDateVoiceUsageField; private string secureSimIdField; private string custom1Field; private string custom2Field; private string custom3Field; private TerminalTypeRating ratingField; private string secureSimUsernameCopyRuleField; private string secureSimPasswordCopyRuleField; private long accountIdField; private string fixedIpAddressField; private System.Nullable<long> ctdSessionCountField; private string customerCustom1Field; private string customerCustom2Field; private string customerCustom3Field; private string customerCustom4Field; private string customerCustom5Field; private string operatorCustom1Field; private string operatorCustom2Field; private string operatorCustom3Field; private string operatorCustom4Field; private string operatorCustom5Field; private string imsiField; private string primaryICCIDField; private string imeiField; private string globalSimTypeField; private string simNotesField; private int versionField; private string custom4Field; private string custom5Field; private string custom6Field; private string custom7Field; private string custom8Field; private string custom9Field; private string custom10Field; private System.Xml.XmlElement[] anyField; private string msisdnField; private System.Xml.XmlAttribute[] anyAttrField; /// <remarks/> public string iccid { get { return this.iccidField; } set { this.iccidField = value; } } /// <remarks/> public string terminalId { get { return this.terminalIdField; } set { this.terminalIdField = value; } } /// <remarks/> public string modemId { get { return this.modemIdField; } set { this.modemIdField = value; } } /// <remarks/> public string customer { get { return this.customerField; } set { this.customerField = value; } } /// <remarks/> public string endConsumerId { get { return this.endConsumerIdField; } set { this.endConsumerIdField = value; } } /// <remarks/> public string suspended { get { return this.suspendedField; } set { this.suspendedField = value; } } /// <remarks/> public string ratePlan { get { return this.ratePlanField; } set { this.ratePlanField = value; } } /// <remarks/> public string status { get { return this.statusField; } set { this.statusField = value; } } /// <remarks/> public decimal monthToDateUsage { get { return this.monthToDateUsageField; } set { this.monthToDateUsageField = value; } } /// <remarks/> public bool overageLimitReached { get { return this.overageLimitReachedField; } set { this.overageLimitReachedField = value; } } /// <remarks/> public string overageLimitOverride { get { return this.overageLimitOverrideField; } set { this.overageLimitOverrideField = value; } } /// <remarks/> public System.DateTime dateActivated { get { return this.dateActivatedField; } set { this.dateActivatedField = value; } } /// <remarks/> [System.Xml.Serialization.XmlIgnoreAttribute()] public bool dateActivatedSpecified { get { return this.dateActivatedFieldSpecified; } set { this.dateActivatedFieldSpecified = value; } } /// <remarks/> public System.DateTime dateAdded { get { return this.dateAddedField; } set { this.dateAddedField = value; } } /// <remarks/> public System.DateTime dateModified { get { return this.dateModifiedField; } set { this.dateModifiedField = value; } } /// <remarks/> public System.DateTime dateShipped { get { return this.dateShippedField; } set { this.dateShippedField = value; } } /// <remarks/> [System.Xml.Serialization.XmlIgnoreAttribute()] public bool dateShippedSpecified { get { return this.dateShippedFieldSpecified; } set { this.dateShippedFieldSpecified = value; } } /// <remarks/> public decimal monthToDateDataUsage { get { return this.monthToDateDataUsageField; } set { this.monthToDateDataUsageField = value; } } /// <remarks/> public decimal monthToDateSMSUsage { get { return this.monthToDateSMSUsageField; } set { this.monthToDateSMSUsageField = value; } } /// <remarks/> public decimal monthToDateVoiceUsage { get { return this.monthToDateVoiceUsageField; } set { this.monthToDateVoiceUsageField = value; } } /// <remarks/> public string secureSimId { get { return this.secureSimIdField; } set { this.secureSimIdField = value; } } /// <remarks/> public string custom1 { get { return this.custom1Field; } set { this.custom1Field = value; } } /// <remarks/> public string custom2 { get { return this.custom2Field; } set { this.custom2Field = value; } } /// <remarks/> public string custom3 { get { return this.custom3Field; } set { this.custom3Field = value; } } /// <remarks/> public TerminalTypeRating rating { get { return this.ratingField; } set { this.ratingField = value; } } /// <remarks/> public string secureSimUsernameCopyRule { get { return this.secureSimUsernameCopyRuleField; } set { this.secureSimUsernameCopyRuleField = value; } } /// <remarks/> public string secureSimPasswordCopyRule { get { return this.secureSimPasswordCopyRuleField; } set { this.secureSimPasswordCopyRuleField = value; } } /// <remarks/> public long accountId { get { return this.accountIdField; } set { this.accountIdField = value; } } /// <remarks/> [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public string fixedIpAddress { get { return this.fixedIpAddressField; } set { this.fixedIpAddressField = value; } } /// <remarks/> [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] public System.Nullable<long> ctdSessionCount { get { return this.ctdSessionCountField; } set { this.ctdSessionCountField = value; } } /// <remarks/> public string customerCustom1 { get { return this.customerCustom1Field; } set { this.customerCustom1Field = value; } } /// <remarks/> public string customerCustom2 { get { return this.customerCustom2Field; } set { this.customerCustom2Field = value; } } /// <remarks/> public string customerCustom3 { get { return this.customerCustom3Field; } set { this.customerCustom3Field = value; } } /// <remarks/> public string customerCustom4 { get { return this.customerCustom4Field; } set { this.customerCustom4Field = value; } } /// <remarks/> public string customerCustom5 { get { return this.customerCustom5Field; } set { this.customerCustom5Field = value; } } /// <remarks/> public string operatorCustom1 { get { return this.operatorCustom1Field; } set { this.operatorCustom1Field = value; } } /// <remarks/> public string operatorCustom2 { get { return this.operatorCustom2Field; } set { this.operatorCustom2Field = value; } } /// <remarks/> public string operatorCustom3 { get { return this.operatorCustom3Field; } set { this.operatorCustom3Field = value; } } /// <remarks/> public string operatorCustom4 { get { return this.operatorCustom4Field; } set { this.operatorCustom4Field = value; } } /// <remarks/> public string operatorCustom5 { get { return this.operatorCustom5Field; } set { this.operatorCustom5Field = value; } } /// <remarks/> public string imsi { get { return this.imsiField; } set { this.imsiField = value; } } /// <remarks/> public string primaryICCID { get { return this.primaryICCIDField; } set { this.primaryICCIDField = value; } } /// <remarks/> public string imei { get { return this.imeiField; } set { this.imeiField = value; } } /// <remarks/> public string globalSimType { get { return this.globalSimTypeField; } set { this.globalSimTypeField = value; } } /// <remarks/> public string simNotes { get { return this.simNotesField; } set { this.simNotesField = value; } } /// <remarks/> public int version { get { return this.versionField; } set { this.versionField = value; } } /// <remarks/> public string custom4 { get { return this.custom4Field; } set { this.custom4Field = value; } } /// <remarks/> public string custom5 { get { return this.custom5Field; } set { this.custom5Field = value; } } /// <remarks/> public string custom6 { get { return this.custom6Field; } set { this.custom6Field = value; } } /// <remarks/> public string custom7 { get { return this.custom7Field; } set { this.custom7Field = value; } } /// <remarks/> public string custom8 { get { return this.custom8Field; } set { this.custom8Field = value; } } /// <remarks/> public string custom9 { get { return this.custom9Field; } set { this.custom9Field = value; } } /// <remarks/> public string custom10 { get { return this.custom10Field; } set { this.custom10Field = value; } } /// <remarks/> [System.Xml.Serialization.XmlAnyElementAttribute()] public System.Xml.XmlElement[] Any { get { return this.anyField; } set { this.anyField = value; } } /// <remarks/> [System.Xml.Serialization.XmlAttributeAttribute()] public string msisdn { get { return this.msisdnField; } set { this.msisdnField = value; } } /// <remarks/> [System.Xml.Serialization.XmlAnyAttributeAttribute()] public System.Xml.XmlAttribute[] AnyAttr { get { return this.anyAttrField; } set { this.anyAttrField = value; } } }
2、
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |