developer:soap-1.6:methods:searchbatches

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.6:methods:searchbatches [2012/08/04 10:24]
tem created
developer:soap-1.6:methods:searchbatches [2016/01/26 12:14]
yaya [XML]
Line 160: Line 160:
  
 ==== XML ==== ==== XML ====
 +Request:
  
 <code xml> <code xml>
-<?xml version="​1.0"​ encoding="​UTF-8"?>​ +<?xml version="​1.0"​ encoding="​UTF-8"?>​  
-<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​  +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​ 
-xmlns:​ns1="​urn:​usaepay"​ xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​  +xmlns:​ns1="​urn:​usaepay"​ 
-xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​  +xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​ 
-xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/" ​+xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ 
 +xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​
 SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​ SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 <​SOAP-ENV:​Body>​ <​SOAP-ENV:​Body>​
 <​ns1:​searchBatches>​ <​ns1:​searchBatches>​
 <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">​123.123.123.123</​ClientIP>​
 <PinHash xsi:​type="​ns1:​ueHash">​ <PinHash xsi:​type="​ns1:​ueHash">​
-<​HashValue xsi:​type="​xsd:​string">​11ac55b0a0b59f8f028dbf85bc32266fa973dd0e</​HashValue>​ +<​HashValue xsi:​type="​xsd:​string">​e64020497009e46cec2da75a7b92d749df748521</​HashValue>​ 
-<Seed xsi:​type="​xsd:​string">​12678150211876663375</​Seed>​+<Seed xsi:​type="​xsd:​string">​1278362198-test</​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">​_B4P7C4K2w2ZCQQQXRqrxDj6agrS2NIT</​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">​
-<Field xsi:​type="​xsd:​string">​closed</​Field>​ +<Field xsi:​type="​xsd:​string">​BatchRefNum</​Field>​ 
-<Type xsi:​type="​xsd:​string">​gt</​Type>​ +<Type xsi:​type="​xsd:​string">​eq</​Type>​ 
-<Value xsi:​type="​xsd:​string">​2007-04-01</​Value>​+<Value xsi:​type="​xsd:​string">​198907</​Value>​
 </​item>​ </​item>​
 </​Search>​ </​Search>​
 <​MatchAll xsi:​type="​xsd:​boolean">​true</​MatchAll>​ <​MatchAll xsi:​type="​xsd:​boolean">​true</​MatchAll>​
 <Start xsi:​type="​xsd:​integer">​0</​Start>​ <Start xsi:​type="​xsd:​integer">​0</​Start>​
-<Limit xsi:​type="​xsd:​integer">​5</​Limit>​+<Limit xsi:​type="​xsd:​integer">​100</​Limit>​
 <Sort xsi:​type="​xsd:​string">​closed</​Sort>​ <Sort xsi:​type="​xsd:​string">​closed</​Sort>​
 </​ns1:​searchBatches>​ </​ns1:​searchBatches>​
Line 195: Line 197:
 </​code>​ </​code>​
  
 +Response:
 +<code xml>
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/"​
 +xmlns:​ns1="​urn:​usaepay"​
 +xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​
 +xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema"​
 +xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​
 +SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 +<​SOAP-ENV:​Body>​
 +<​ns1:​searchBatchesResponse>​
 +<​searchBatchesReturn xsi:​type="​ns1:​BatchSearchResult">​
 +<Batches SOAP-ENC:​arrayType="​ns1:​BatchStatus[1]"​ xsi:​type="​ns1:​BatchStatusArray">​
 +<item xsi:​type="​ns1:​BatchStatus">​
 +<​BatchRefNum xsi:​type="​xsd:​integer">​198907</​BatchRefNum>​
 +<Closed xsi:​type="​xsd:​string">​01/​26/​2016T11:​45:​33</​Closed>​
 +<​CreditsAmount xsi:​type="​xsd:​double">​3</​CreditsAmount>​
 +<​CreditsCount xsi:​type="​xsd:​integer">​1</​CreditsCount>​
 +<​NetAmount xsi:​type="​xsd:​double">​4766.17</​NetAmount>​
 +<Opened xsi:​type="​xsd:​string">​12/​02/​2015T11:​48:​43</​Opened>​
 +<​SalesAmount xsi:​type="​xsd:​double">​4769.17</​SalesAmount>​
 +<​SalesCount xsi:​type="​xsd:​integer">​87</​SalesCount>​
 +<​Scheduled xsi:​type="​xsd:​string"></​Scheduled>​
 +<​Sequence xsi:​type="​xsd:​integer">​2611</​Sequence>​
 +<Status xsi:​type="​xsd:​string">​Closed</​Status>​
 +<​TransactionCount xsi:​type="​xsd:​integer">​88</​TransactionCount>​
 +<​VoidsAmount xsi:​type="​xsd:​double">​0</​VoidsAmount>​
 +<​VoidsCount xsi:​type="​xsd:​integer">​0</​VoidsCount>​
 +</​item>​
 +</​Batches>​
 +<​BatchesMatched xsi:​type="​xsd:​integer">​1</​BatchesMatched>​
 +<​BatchesReturned xsi:​type="​xsd:​integer">​1</​BatchesReturned>​
 +<Limit xsi:​type="​xsd:​integer">​100</​Limit>​
 +<​StartIndex xsi:​type="​xsd:​integer">​0</​StartIndex>​
 +</​searchBatchesReturn>​
 +</​ns1:​searchBatchesResponse>​
 +</​SOAP-ENV:​Body>​
 +</​SOAP-ENV:​Envelope>​
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.6/methods/searchbatches.txt · Last modified: 2016/01/26 12:14 by yaya

Page Tools