developer:soap-1.3:methods:searchtransactionscount

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:searchtransactionscount [2010/06/01 16:17]
hmcgowan created
developer:soap-1.3:methods:searchtransactionscount [2010/08/30 09:29]
irina
Line 154: Line 154:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 +Boolean matchAll;
 +            matchAll = true;
  
 +            string[] fields = new string[3];
 +            usaepay.SearchParam[] search = new usaepay.SearchParam[2];​
 +            search[0] = new usaepay.SearchParam();​
 +
 +            search[0].Field = "​Created";​
 +            search[0].Type = "​contains";​
 +            search[0].Value = "​2010-08-09";​
 +
 +            usaepay.TransactionSearchResult result = new usaepay.TransactionSearchResult();​
 +
 +            try
 +            {
 +                result = client.searchTransactionsCount(token,​ search, matchAll, "​0",​ "​10",​ "​created"​);​
 +
 +                MessageBox.Show(string.Concat(result.TransactionsMatched));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== Coldfusion ==== ==== Coldfusion ====
Line 176: Line 204:
 </​cfscript> ​ </​cfscript> ​
 </​code>​ </​code>​
- 
- 
 ==== XML ==== ==== XML ====
  
Line 189: Line 215:
 <​SOAP-ENV:​Body> ​ <​SOAP-ENV:​Body> ​
 <​ns1:​searchTransactionsCount> ​ <​ns1:​searchTransactionsCount> ​
-<Token xsi:​type="​ns1:​ueSecurityToken">​  +<Token xsi:​type="​ns1:​ueSecurityToken">​ 
-<​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​  +<​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​ 
-<PinHash xsi:​type="​ns1:​ueHash">​  +<PinHash xsi:​type="​ns1:​ueHash">​ 
-<​HashValue xsi:​type="​xsd:​string">​34108e1b91894ab1da5ecdc213341c6d757217c1</​HashValue>​  +<​HashValue xsi:​type="​xsd:​string">​11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</​HashValue>​ 
-<Seed xsi:​type="​xsd:​string">​11936961311067412713</​Seed>​  +<Seed xsi:​type="​xsd:​string">​12678150211876663375</​Seed>​ 
-<Type xsi:​type="​xsd:​string">​sha1</​Type>​  +<Type xsi:​type="​xsd:​string">​sha1</​Type>​ 
-</​PinHash>​  +</​PinHash>​ 
-<​SourceKey xsi:​type="​xsd:​string">​HB4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</​SourceKey>​  +<​SourceKey xsi:​type="​xsd:​string">​HB4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</​SourceKey>​ 
-</​Token> ​+</​Token>​
 <Search SOAP-ENC:​arrayType="​ns1:​SearchParam[1]"​ xsi:​type="​ns1:​SearchParamArray"> ​ <Search SOAP-ENC:​arrayType="​ns1:​SearchParam[1]"​ xsi:​type="​ns1:​SearchParamArray"> ​
 <item xsi:​type="​ns1:​SearchParam"> ​ <item xsi:​type="​ns1:​SearchParam"> ​
Line 211: Line 237:
 </​ns1:​searchTransactionsCount> ​ </​ns1:​searchTransactionsCount> ​
 </​SOAP-ENV:​Body> ​ </​SOAP-ENV:​Body> ​
-</​SOAP-ENV:​Envelope> ​+</​SOAP-ENV:​Envelope>​ 
 </​code>​ </​code>​
  
Line 220: Line 247:
 ^Version ^Change ^ ^Version ^Change ^
 |1.2 | Function added in 1.2 release | |1.2 | Function added in 1.2 release |
- 
developer/soap-1.3/methods/searchtransactionscount.txt · Last modified: 2010/08/30 09:29 by irina

Page Tools