PageRenderTime 57ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/ClassLibrary1/Connected Services/VelocifyWebService/Reference.cs

https://bitbucket.org/develocity/velocifyws
C# | 764 lines | 592 code | 156 blank | 16 comment | 8 complexity | 2c680da318b71fa9c6098fefc2aa5507 MD5 | raw file
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace VelocifyWebService
  10. {
  11. [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.0")]
  12. [System.ServiceModel.ServiceContractAttribute(Namespace="https://service.leads360.com", ConfigurationName="VelocifyWebService.ClientServiceSoap")]
  13. public interface ClientServiceSoap
  14. {
  15. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddAgent", ReplyAction="*")]
  16. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  17. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentAsync(string username, string password, System.Xml.Linq.XElement agentData);
  18. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddAgentToGroup", ReplyAction="*")]
  19. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  20. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentToGroupAsync(string username, string password, System.Xml.Linq.XElement groupData);
  21. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddAgentRole", ReplyAction="*")]
  22. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  23. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentRoleAsync(string username, string password, System.Xml.Linq.XElement agentData);
  24. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddOptOut", ReplyAction="*")]
  25. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  26. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddOptOutAsync(string username, string password, string email, int leadId);
  27. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddCampaign", ReplyAction="*")]
  28. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  29. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddCampaignAsync(string username, string password, string title, string altTitle, int campaignTypeId, string note, decimal costPerLead, bool active, int providerId);
  30. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddField", ReplyAction="*")]
  31. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  32. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddFieldAsync(string username, string password, string title, int fieldTypeId, string toolTip, bool required, int visibilityTypeId, int groupId);
  33. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddFieldGroup", ReplyAction="*")]
  34. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  35. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddFieldGroupAsync(string username, string password, string title);
  36. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddLeadAction", ReplyAction="*")]
  37. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  38. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadActionAsync(string username, string password, int leadId, int actionTypeId, string actionNote);
  39. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddLeads", ReplyAction="*")]
  40. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  41. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadsAsync(string username, string password, System.Xml.Linq.XElement leads);
  42. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddLeadsEx", ReplyAction="*")]
  43. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  44. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadsExAsync(string username, string password, System.Xml.Linq.XElement leads);
  45. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AddDirectMailLeads", ReplyAction="*")]
  46. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  47. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddDirectMailLeadsAsync(string username, string password, System.Xml.Linq.XElement leads);
  48. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/DeactivateAgent", ReplyAction="*")]
  49. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  50. System.Threading.Tasks.Task<System.Xml.Linq.XElement> DeactivateAgentAsync(string username, string password, string email);
  51. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/DisableReceiveLeads", ReplyAction="*")]
  52. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  53. System.Threading.Tasks.Task<System.Xml.Linq.XElement> DisableReceiveLeadsAsync(string username, string password, string email);
  54. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetActionTypes", ReplyAction="*")]
  55. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  56. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetActionTypesAsync(string username, string password);
  57. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetAgent", ReplyAction="*")]
  58. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  59. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentAsync(string username, string password, int agentId);
  60. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetAgents", ReplyAction="*")]
  61. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  62. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsAsync(string username, string password);
  63. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetAgentsInGroup", ReplyAction="*")]
  64. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  65. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsInGroupAsync(string username, string password, int groupId);
  66. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetAgentsQualified", ReplyAction="*")]
  67. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  68. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsQualifiedAsync(string username, string password, int programId, int leadId);
  69. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetQualifiedAgents", ReplyAction="*")]
  70. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  71. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetQualifiedAgentsAsync(string username, string password, int programId, int leadId);
  72. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetCallHistoryReport", ReplyAction="*")]
  73. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  74. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCallHistoryReportAsync(string username, string password, string startDate, string endDate);
  75. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetCampaigns", ReplyAction="*")]
  76. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  77. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignsAsync(string username, string password);
  78. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetCampaignGroups", ReplyAction="*")]
  79. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  80. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignGroupsAsync(string username, string password);
  81. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetCampaignTypes", ReplyAction="*")]
  82. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  83. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignTypesAsync(string username, string password);
  84. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFieldGroups", ReplyAction="*")]
  85. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  86. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldGroupsAsync(string username, string password);
  87. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFields", ReplyAction="*")]
  88. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  89. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldsAsync(string username, string password);
  90. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFieldTypes", ReplyAction="*")]
  91. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  92. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldTypesAsync(string username, string password);
  93. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetGroups", ReplyAction="*")]
  94. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  95. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetGroupsAsync(string username, string password);
  96. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLastCreatedLead", ReplyAction="*")]
  97. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  98. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLastCreatedLeadAsync(string username, string password);
  99. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLastModifiedLead", ReplyAction="*")]
  100. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  101. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLastModifiedLeadAsync(string username, string password);
  102. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLead", ReplyAction="*")]
  103. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  104. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAsync(string username, string password, int leadId);
  105. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadFormTypes", ReplyAction="*")]
  106. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  107. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadFormTypesAsync(string username, string password);
  108. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadIds", ReplyAction="*")]
  109. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  110. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsAsync(string username, string password, System.DateTime from, System.DateTime to);
  111. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadIdsEx", ReplyAction="*")]
  112. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  113. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsExAsync(string username, string password, System.DateTime from, System.DateTime to, int scope);
  114. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadIdsSpan", ReplyAction="*")]
  115. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  116. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsSpanAsync(string username, string password, int fromNowMinutes);
  117. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeads", ReplyAction="*")]
  118. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  119. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsAsync(string username, string password, System.DateTime from, System.DateTime to);
  120. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadsByPhone", ReplyAction="*")]
  121. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  122. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsByPhoneAsync(string username, string password, string phone);
  123. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadsByEmail", ReplyAction="*")]
  124. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  125. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsByEmailAsync(string username, string password, string email);
  126. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadsSpan", ReplyAction="*")]
  127. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  128. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsSpanAsync(string username, string password, int fromNowMinutes);
  129. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetMilestones", ReplyAction="*")]
  130. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  131. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetMilestonesAsync(string username, string password);
  132. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetPrograms", ReplyAction="*")]
  133. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  134. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetProgramsAsync(string username, string password);
  135. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetProviders", ReplyAction="*")]
  136. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  137. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetProvidersAsync(string username, string password);
  138. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetReportResults", ReplyAction="*")]
  139. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  140. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportResultsAsync(string username, string password, int reportId, System.Xml.Linq.XElement templateValues);
  141. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetReportResultsWithoutFilters", ReplyAction="*")]
  142. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  143. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportResultsWithoutFiltersAsync(string username, string password, int reportId);
  144. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetReports", ReplyAction="*")]
  145. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  146. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportsAsync(string username, string password);
  147. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetServerTime", ReplyAction="*")]
  148. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  149. System.Threading.Tasks.Task<System.DateTime> GetServerTimeAsync();
  150. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetStatuses", ReplyAction="*")]
  151. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  152. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetStatusesAsync(string username, string password);
  153. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetVisibilityTypes", ReplyAction="*")]
  154. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  155. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetVisibilityTypesAsync(string username, string password);
  156. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyAgent", ReplyAction="*")]
  157. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  158. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyAgentAsync(string username, string password, System.Xml.Linq.XElement agentData);
  159. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyAgentPassword", ReplyAction="*")]
  160. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  161. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyAgentPasswordAsync(string username, string password, string email, string agentPassword);
  162. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyLeadAgent", ReplyAction="*")]
  163. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  164. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadAgentAsync(string username, string password, int leadId, int agentId);
  165. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyLeadCampaign", ReplyAction="*")]
  166. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  167. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadCampaignAsync(string username, string password, int leadId, int campaignId);
  168. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyLeadField", ReplyAction="*")]
  169. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  170. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadFieldAsync(string username, string password, int leadId, int fieldId, string newValue);
  171. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyLeads", ReplyAction="*")]
  172. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  173. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadsAsync(string username, string password, System.Xml.Linq.XElement leads);
  174. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifyLeadStatus", ReplyAction="*")]
  175. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  176. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadStatusAsync(string username, string password, int leadId, int statusId);
  177. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/RemoveCampaign", ReplyAction="*")]
  178. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  179. System.Threading.Tasks.Task<System.Xml.Linq.XElement> RemoveCampaignAsync(string username, string password, int campaignId);
  180. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/RemoveLead", ReplyAction="*")]
  181. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  182. System.Threading.Tasks.Task<System.Xml.Linq.XElement> RemoveLeadAsync(string username, string password, int leadId);
  183. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/CopyLead", ReplyAction="*")]
  184. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  185. System.Threading.Tasks.Task<System.Xml.Linq.XElement> CopyLeadAsync(string username, string password, int LeadId);
  186. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/AssignViaDistribution", ReplyAction="*")]
  187. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  188. System.Threading.Tasks.Task<System.Xml.Linq.XElement> AssignViaDistributionAsync(string username, string password, int leadId, int programId, int agentId);
  189. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadAndQualifiedAgentsByPhone", ReplyAction="*")]
  190. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  191. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAndQualifiedAgentsByPhoneAsync(string username, string password, string phone, int programId, int campaignId, int firstFieldId, string firstFieldValue, int secondFieldId, string secondFieldValue);
  192. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetLeadAndQualifiedAgentsByPhoneWithLead", ReplyAction="*")]
  193. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  194. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAndQualifiedAgentsByPhoneWithLeadAsync(string username, string password, string phone, int programId, int campaignId, VelocifyWebService.FieldValue[] fields);
  195. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFieldsSalesforce", ReplyAction="*")]
  196. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  197. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldsSalesforceAsync(string username, string sessionId, string url);
  198. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFieldTypesSalesforce", ReplyAction="*")]
  199. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  200. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldTypesSalesforceAsync(string username, string sessionId, string url);
  201. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetFieldGroupsSalesforce", ReplyAction="*")]
  202. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  203. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldGroupsSalesforceAsync(string username, string sessionId, string url);
  204. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetSalesforceMappings", ReplyAction="*")]
  205. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  206. System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetSalesforceMappingsAsync(string username, string sessionId, string url);
  207. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifySalesforceMappings", ReplyAction="*")]
  208. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  209. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifySalesforceMappingsAsync(string username, string sessionId, string url, string xmlText);
  210. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/ModifySalesforceUsername", ReplyAction="*")]
  211. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  212. System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifySalesforceUsernameAsync(string username, string password, string salesforceUsername);
  213. [System.ServiceModel.OperationContractAttribute(Action="https://service.leads360.com/GetVersion", ReplyAction="*")]
  214. [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
  215. System.Threading.Tasks.Task<string> GetVersionAsync();
  216. }
  217. /// <remarks/>
  218. [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.0")]
  219. [System.Diagnostics.DebuggerStepThroughAttribute()]
  220. [System.Xml.Serialization.XmlTypeAttribute(Namespace="https://service.leads360.com")]
  221. public partial class FieldValue
  222. {
  223. private int fieldIdField;
  224. private string valueField;
  225. /// <remarks/>
  226. [System.Xml.Serialization.XmlElementAttribute(Order=0)]
  227. public int FieldId
  228. {
  229. get
  230. {
  231. return this.fieldIdField;
  232. }
  233. set
  234. {
  235. this.fieldIdField = value;
  236. }
  237. }
  238. /// <remarks/>
  239. [System.Xml.Serialization.XmlElementAttribute(Order=1)]
  240. public string Value
  241. {
  242. get
  243. {
  244. return this.valueField;
  245. }
  246. set
  247. {
  248. this.valueField = value;
  249. }
  250. }
  251. }
  252. [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.0")]
  253. public interface ClientServiceSoapChannel : VelocifyWebService.ClientServiceSoap, System.ServiceModel.IClientChannel
  254. {
  255. }
  256. [System.Diagnostics.DebuggerStepThroughAttribute()]
  257. [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.0.0")]
  258. public partial class ClientServiceSoapClient : System.ServiceModel.ClientBase<VelocifyWebService.ClientServiceSoap>, VelocifyWebService.ClientServiceSoap
  259. {
  260. /// <summary>
  261. /// Implement this partial method to configure the service endpoint.
  262. /// </summary>
  263. /// <param name="serviceEndpoint">The endpoint to configure</param>
  264. /// <param name="clientCredentials">The client credentials</param>
  265. static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
  266. public ClientServiceSoapClient(EndpointConfiguration endpointConfiguration) :
  267. base(ClientServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), ClientServiceSoapClient.GetEndpointAddress(endpointConfiguration))
  268. {
  269. this.Endpoint.Name = endpointConfiguration.ToString();
  270. ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
  271. }
  272. public ClientServiceSoapClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
  273. base(ClientServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
  274. {
  275. this.Endpoint.Name = endpointConfiguration.ToString();
  276. ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
  277. }
  278. public ClientServiceSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
  279. base(ClientServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
  280. {
  281. this.Endpoint.Name = endpointConfiguration.ToString();
  282. ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
  283. }
  284. public ClientServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  285. base(binding, remoteAddress)
  286. {
  287. }
  288. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentAsync(string username, string password, System.Xml.Linq.XElement agentData)
  289. {
  290. return base.Channel.AddAgentAsync(username, password, agentData);
  291. }
  292. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentToGroupAsync(string username, string password, System.Xml.Linq.XElement groupData)
  293. {
  294. return base.Channel.AddAgentToGroupAsync(username, password, groupData);
  295. }
  296. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddAgentRoleAsync(string username, string password, System.Xml.Linq.XElement agentData)
  297. {
  298. return base.Channel.AddAgentRoleAsync(username, password, agentData);
  299. }
  300. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddOptOutAsync(string username, string password, string email, int leadId)
  301. {
  302. return base.Channel.AddOptOutAsync(username, password, email, leadId);
  303. }
  304. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddCampaignAsync(string username, string password, string title, string altTitle, int campaignTypeId, string note, decimal costPerLead, bool active, int providerId)
  305. {
  306. return base.Channel.AddCampaignAsync(username, password, title, altTitle, campaignTypeId, note, costPerLead, active, providerId);
  307. }
  308. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddFieldAsync(string username, string password, string title, int fieldTypeId, string toolTip, bool required, int visibilityTypeId, int groupId)
  309. {
  310. return base.Channel.AddFieldAsync(username, password, title, fieldTypeId, toolTip, required, visibilityTypeId, groupId);
  311. }
  312. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddFieldGroupAsync(string username, string password, string title)
  313. {
  314. return base.Channel.AddFieldGroupAsync(username, password, title);
  315. }
  316. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadActionAsync(string username, string password, int leadId, int actionTypeId, string actionNote)
  317. {
  318. return base.Channel.AddLeadActionAsync(username, password, leadId, actionTypeId, actionNote);
  319. }
  320. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadsAsync(string username, string password, System.Xml.Linq.XElement leads)
  321. {
  322. return base.Channel.AddLeadsAsync(username, password, leads);
  323. }
  324. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddLeadsExAsync(string username, string password, System.Xml.Linq.XElement leads)
  325. {
  326. return base.Channel.AddLeadsExAsync(username, password, leads);
  327. }
  328. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AddDirectMailLeadsAsync(string username, string password, System.Xml.Linq.XElement leads)
  329. {
  330. return base.Channel.AddDirectMailLeadsAsync(username, password, leads);
  331. }
  332. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> DeactivateAgentAsync(string username, string password, string email)
  333. {
  334. return base.Channel.DeactivateAgentAsync(username, password, email);
  335. }
  336. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> DisableReceiveLeadsAsync(string username, string password, string email)
  337. {
  338. return base.Channel.DisableReceiveLeadsAsync(username, password, email);
  339. }
  340. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetActionTypesAsync(string username, string password)
  341. {
  342. return base.Channel.GetActionTypesAsync(username, password);
  343. }
  344. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentAsync(string username, string password, int agentId)
  345. {
  346. return base.Channel.GetAgentAsync(username, password, agentId);
  347. }
  348. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsAsync(string username, string password)
  349. {
  350. return base.Channel.GetAgentsAsync(username, password);
  351. }
  352. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsInGroupAsync(string username, string password, int groupId)
  353. {
  354. return base.Channel.GetAgentsInGroupAsync(username, password, groupId);
  355. }
  356. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetAgentsQualifiedAsync(string username, string password, int programId, int leadId)
  357. {
  358. return base.Channel.GetAgentsQualifiedAsync(username, password, programId, leadId);
  359. }
  360. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetQualifiedAgentsAsync(string username, string password, int programId, int leadId)
  361. {
  362. return base.Channel.GetQualifiedAgentsAsync(username, password, programId, leadId);
  363. }
  364. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCallHistoryReportAsync(string username, string password, string startDate, string endDate)
  365. {
  366. return base.Channel.GetCallHistoryReportAsync(username, password, startDate, endDate);
  367. }
  368. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignsAsync(string username, string password)
  369. {
  370. return base.Channel.GetCampaignsAsync(username, password);
  371. }
  372. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignGroupsAsync(string username, string password)
  373. {
  374. return base.Channel.GetCampaignGroupsAsync(username, password);
  375. }
  376. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetCampaignTypesAsync(string username, string password)
  377. {
  378. return base.Channel.GetCampaignTypesAsync(username, password);
  379. }
  380. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldGroupsAsync(string username, string password)
  381. {
  382. return base.Channel.GetFieldGroupsAsync(username, password);
  383. }
  384. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldsAsync(string username, string password)
  385. {
  386. return base.Channel.GetFieldsAsync(username, password);
  387. }
  388. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldTypesAsync(string username, string password)
  389. {
  390. return base.Channel.GetFieldTypesAsync(username, password);
  391. }
  392. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetGroupsAsync(string username, string password)
  393. {
  394. return base.Channel.GetGroupsAsync(username, password);
  395. }
  396. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLastCreatedLeadAsync(string username, string password)
  397. {
  398. return base.Channel.GetLastCreatedLeadAsync(username, password);
  399. }
  400. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLastModifiedLeadAsync(string username, string password)
  401. {
  402. return base.Channel.GetLastModifiedLeadAsync(username, password);
  403. }
  404. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAsync(string username, string password, int leadId)
  405. {
  406. return base.Channel.GetLeadAsync(username, password, leadId);
  407. }
  408. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadFormTypesAsync(string username, string password)
  409. {
  410. return base.Channel.GetLeadFormTypesAsync(username, password);
  411. }
  412. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsAsync(string username, string password, System.DateTime from, System.DateTime to)
  413. {
  414. return base.Channel.GetLeadIdsAsync(username, password, from, to);
  415. }
  416. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsExAsync(string username, string password, System.DateTime from, System.DateTime to, int scope)
  417. {
  418. return base.Channel.GetLeadIdsExAsync(username, password, from, to, scope);
  419. }
  420. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadIdsSpanAsync(string username, string password, int fromNowMinutes)
  421. {
  422. return base.Channel.GetLeadIdsSpanAsync(username, password, fromNowMinutes);
  423. }
  424. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsAsync(string username, string password, System.DateTime from, System.DateTime to)
  425. {
  426. return base.Channel.GetLeadsAsync(username, password, from, to);
  427. }
  428. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsByPhoneAsync(string username, string password, string phone)
  429. {
  430. return base.Channel.GetLeadsByPhoneAsync(username, password, phone);
  431. }
  432. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsByEmailAsync(string username, string password, string email)
  433. {
  434. return base.Channel.GetLeadsByEmailAsync(username, password, email);
  435. }
  436. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadsSpanAsync(string username, string password, int fromNowMinutes)
  437. {
  438. return base.Channel.GetLeadsSpanAsync(username, password, fromNowMinutes);
  439. }
  440. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetMilestonesAsync(string username, string password)
  441. {
  442. return base.Channel.GetMilestonesAsync(username, password);
  443. }
  444. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetProgramsAsync(string username, string password)
  445. {
  446. return base.Channel.GetProgramsAsync(username, password);
  447. }
  448. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetProvidersAsync(string username, string password)
  449. {
  450. return base.Channel.GetProvidersAsync(username, password);
  451. }
  452. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportResultsAsync(string username, string password, int reportId, System.Xml.Linq.XElement templateValues)
  453. {
  454. return base.Channel.GetReportResultsAsync(username, password, reportId, templateValues);
  455. }
  456. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportResultsWithoutFiltersAsync(string username, string password, int reportId)
  457. {
  458. return base.Channel.GetReportResultsWithoutFiltersAsync(username, password, reportId);
  459. }
  460. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetReportsAsync(string username, string password)
  461. {
  462. return base.Channel.GetReportsAsync(username, password);
  463. }
  464. public System.Threading.Tasks.Task<System.DateTime> GetServerTimeAsync()
  465. {
  466. return base.Channel.GetServerTimeAsync();
  467. }
  468. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetStatusesAsync(string username, string password)
  469. {
  470. return base.Channel.GetStatusesAsync(username, password);
  471. }
  472. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetVisibilityTypesAsync(string username, string password)
  473. {
  474. return base.Channel.GetVisibilityTypesAsync(username, password);
  475. }
  476. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyAgentAsync(string username, string password, System.Xml.Linq.XElement agentData)
  477. {
  478. return base.Channel.ModifyAgentAsync(username, password, agentData);
  479. }
  480. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyAgentPasswordAsync(string username, string password, string email, string agentPassword)
  481. {
  482. return base.Channel.ModifyAgentPasswordAsync(username, password, email, agentPassword);
  483. }
  484. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadAgentAsync(string username, string password, int leadId, int agentId)
  485. {
  486. return base.Channel.ModifyLeadAgentAsync(username, password, leadId, agentId);
  487. }
  488. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadCampaignAsync(string username, string password, int leadId, int campaignId)
  489. {
  490. return base.Channel.ModifyLeadCampaignAsync(username, password, leadId, campaignId);
  491. }
  492. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadFieldAsync(string username, string password, int leadId, int fieldId, string newValue)
  493. {
  494. return base.Channel.ModifyLeadFieldAsync(username, password, leadId, fieldId, newValue);
  495. }
  496. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadsAsync(string username, string password, System.Xml.Linq.XElement leads)
  497. {
  498. return base.Channel.ModifyLeadsAsync(username, password, leads);
  499. }
  500. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifyLeadStatusAsync(string username, string password, int leadId, int statusId)
  501. {
  502. return base.Channel.ModifyLeadStatusAsync(username, password, leadId, statusId);
  503. }
  504. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> RemoveCampaignAsync(string username, string password, int campaignId)
  505. {
  506. return base.Channel.RemoveCampaignAsync(username, password, campaignId);
  507. }
  508. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> RemoveLeadAsync(string username, string password, int leadId)
  509. {
  510. return base.Channel.RemoveLeadAsync(username, password, leadId);
  511. }
  512. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> CopyLeadAsync(string username, string password, int LeadId)
  513. {
  514. return base.Channel.CopyLeadAsync(username, password, LeadId);
  515. }
  516. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> AssignViaDistributionAsync(string username, string password, int leadId, int programId, int agentId)
  517. {
  518. return base.Channel.AssignViaDistributionAsync(username, password, leadId, programId, agentId);
  519. }
  520. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAndQualifiedAgentsByPhoneAsync(string username, string password, string phone, int programId, int campaignId, int firstFieldId, string firstFieldValue, int secondFieldId, string secondFieldValue)
  521. {
  522. return base.Channel.GetLeadAndQualifiedAgentsByPhoneAsync(username, password, phone, programId, campaignId, firstFieldId, firstFieldValue, secondFieldId, secondFieldValue);
  523. }
  524. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetLeadAndQualifiedAgentsByPhoneWithLeadAsync(string username, string password, string phone, int programId, int campaignId, VelocifyWebService.FieldValue[] fields)
  525. {
  526. return base.Channel.GetLeadAndQualifiedAgentsByPhoneWithLeadAsync(username, password, phone, programId, campaignId, fields);
  527. }
  528. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldsSalesforceAsync(string username, string sessionId, string url)
  529. {
  530. return base.Channel.GetFieldsSalesforceAsync(username, sessionId, url);
  531. }
  532. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldTypesSalesforceAsync(string username, string sessionId, string url)
  533. {
  534. return base.Channel.GetFieldTypesSalesforceAsync(username, sessionId, url);
  535. }
  536. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetFieldGroupsSalesforceAsync(string username, string sessionId, string url)
  537. {
  538. return base.Channel.GetFieldGroupsSalesforceAsync(username, sessionId, url);
  539. }
  540. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> GetSalesforceMappingsAsync(string username, string sessionId, string url)
  541. {
  542. return base.Channel.GetSalesforceMappingsAsync(username, sessionId, url);
  543. }
  544. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifySalesforceMappingsAsync(string username, string sessionId, string url, string xmlText)
  545. {
  546. return base.Channel.ModifySalesforceMappingsAsync(username, sessionId, url, xmlText);
  547. }
  548. public System.Threading.Tasks.Task<System.Xml.Linq.XElement> ModifySalesforceUsernameAsync(string username, string password, string salesforceUsername)
  549. {
  550. return base.Channel.ModifySalesforceUsernameAsync(username, password, salesforceUsername);
  551. }
  552. public System.Threading.Tasks.Task<string> GetVersionAsync()
  553. {
  554. return base.Channel.GetVersionAsync();
  555. }
  556. public virtual System.Threading.Tasks.Task OpenAsync()
  557. {
  558. return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
  559. }
  560. public virtual System.Threading.Tasks.Task CloseAsync()
  561. {
  562. return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
  563. }
  564. private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
  565. {
  566. if ((endpointConfiguration == EndpointConfiguration.ClientServiceSoap))
  567. {
  568. System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
  569. result.MaxBufferSize = int.MaxValue;
  570. result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
  571. result.MaxReceivedMessageSize = int.MaxValue;
  572. result.AllowCookies = true;
  573. return result;
  574. }
  575. if ((endpointConfiguration == EndpointConfiguration.ClientServiceSoap12))
  576. {
  577. System.ServiceModel.Channels.CustomBinding result = new System.ServiceModel.Channels.CustomBinding();
  578. System.ServiceModel.Channels.TextMessageEncodingBindingElement textBindingElement = new System.ServiceModel.Channels.TextMessageEncodingBindingElement();
  579. textBindingElement.MessageVersion = System.ServiceModel.Channels.MessageVersion.CreateVersion(System.ServiceModel.EnvelopeVersion.Soap12, System.ServiceModel.Channels.AddressingVersion.None);
  580. result.Elements.Add(textBindingElement);
  581. System.ServiceModel.Channels.HttpTransportBindingElement httpBindingElement = new System.ServiceModel.Channels.HttpTransportBindingElement();
  582. httpBindingElement.AllowCookies = true;
  583. httpBindingElement.MaxBufferSize = int.MaxValue;
  584. httpBindingElement.MaxReceivedMessageSize = int.MaxValue;
  585. result.Elements.Add(httpBindingElement);
  586. return result;
  587. }
  588. throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
  589. }
  590. private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
  591. {
  592. if ((endpointConfiguration == EndpointConfiguration.ClientServiceSoap))
  593. {
  594. return new System.ServiceModel.EndpointAddress("http://service.velocify.com/ClientService.asmx");
  595. }
  596. if ((endpointConfiguration == EndpointConfiguration.ClientServiceSoap12))
  597. {
  598. return new System.ServiceModel.EndpointAddress("http://service.velocify.com/ClientService.asmx");
  599. }
  600. throw new System.InvalidOperationException(string.Format("Could not find endpoint with name \'{0}\'.", endpointConfiguration));
  601. }
  602. public enum EndpointConfiguration
  603. {
  604. ClientServiceSoap,
  605. ClientServiceSoap12,
  606. }
  607. }
  608. }