developer:soap-1.3:methods:searchtransactionscustom

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:searchtransactionscustom [2010/06/01 16:18]
hmcgowan created
developer:soap-1.3:methods:searchtransactionscustom [2010/08/30 09:30]
irina
Line 237: Line 237:
         binaryData = Convert.FromBase64String(SearchResults)         binaryData = Convert.FromBase64String(SearchResults)
         MsgBox(Encoding.UTF8.GetString(binaryData))         MsgBox(Encoding.UTF8.GetString(binaryData))
 +</​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";​
 +
 +            string[] FieldList = new string[3];
 +            FieldList[0] = "​Response.RefNum";​
 +            FieldList[1] = "​Response.ResultCode";​
 +            FieldList[2] = "​CustomerID";​
 +
 +            string result;
 +
 +            try
 +            {
 +                result = client.searchTransactionsCustom(token,​ search, matchAll, "​0",​ "​10",​ FieldList,"​csv",​ "​invoice"​);​
 +                Byte[] binaryData = new Byte[3];
 +                binaryData = Convert.FromBase64String(result);​
 +
 +                MessageBox.Show(Encoding.UTF8.GetString(binaryData));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +
 +
 </​code>​ </​code>​
  
Line 250: Line 290:
 <​SOAP-ENV:​Body> ​ <​SOAP-ENV:​Body> ​
 <​ns1:​searchTransactionsCustom> ​ <​ns1:​searchTransactionsCustom> ​
-<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">​c5948b425ee3593afc689aa4129b580e64d28fa3</​HashValue>​  +<​HashValue xsi:​type="​xsd:​string">​11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</​HashValue>​ 
-<Seed xsi:​type="​xsd:​string">​11936964681053228515</​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 280: Line 320:
 </​ns1:​searchTransactionsCustom> ​ </​ns1:​searchTransactionsCustom> ​
 </​SOAP-ENV:​Body> ​ </​SOAP-ENV:​Body> ​
-</​SOAP-ENV:​Envelope> ​+</​SOAP-ENV:​Envelope>​
 </​code>​ </​code>​
  
Line 289: Line 329:
 |1.2 | Added Sort Parameter | |1.2 | Added Sort Parameter |
 |[[developer:​soap-1.1:​methods:​searchtransactionscustom|1.1]] | Soap 1.1 Release | |[[developer:​soap-1.1:​methods:​searchtransactionscustom|1.1]] | Soap 1.1 Release |
- 
developer/soap-1.3/methods/searchtransactionscustom.txt · Last modified: 2010/08/30 09:30 by irina

Page Tools