developer:soap-1.3:methods:searchbatches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap-1.3:methods:searchbatches [2010/08/06 17:58]
epouchak
developer:soap-1.3:methods:searchbatches [2010/10/05 14:48]
irina
Line 102: Line 102:
 } }
 </​code>​ </​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim matchAll As Boolean
 +        matchAll = True
 +        Dim start As String
 +        Dim limit As String
 +        Dim sort As String
 +        start = "​0"​
 +        limit = "​10"​
 +        sort = "​closed"​
 + 
 +        Dim search(0 To 1) As usaepay.SearchParam
 +        search(0) = New usaepay.SearchParam
 +        search(0).Field = "​closed"​
 +        search(0).Type = "​gt"​
 +        search(0).Value = "​2010-08-05"​
 + 
 +        Dim result As usaepay.BatchSearchResult = New usaepay.BatchSearchResult
 +        result = client.searchBatches(token,​ search, matchAll, start, limit, sort)
 +        MsgBox(result.BatchesMatched)
 +
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +Boolean matchAll;
 +            matchAll = true;
 +            string start = "​0";​
 +            string limit = "​10";​
 +            string sort = "​closed";​
 +            ​
 +            string[] fields = new string[3];
 +            usaepay.SearchParam[] search = new usaepay.SearchParam[2];​
 +            search[0] = new usaepay.SearchParam();​
 +
 +            search[0].Field = "​Closed";​
 +            search[0].Type = "​gt";​
 +            search[0].Value = "​2010-08-05";​
 +
 +            usaepay.BatchSearchResult result = new usaepay.BatchSearchResult();​
 +
 +            try
 +            {
 +                result = client.searchBatches(token,​ search, matchAll, start, limit, sort);
 +
 +                MessageBox.Show(string.Concat(result.BatchesMatched));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
 +
 ==== XML ==== ==== XML ====
  
developer/soap-1.3/methods/searchbatches.txt ยท Last modified: 2010/10/05 14:48 by irina

Page Tools