developer:soap:methods:getbatchuploadstatus

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
Last revision Both sides next revision
developer:soap:methods:getbatchuploadstatus [2008/03/13 12:01]
vladg
developer:soap:methods:getbatchuploadstatus [2009/07/03 15:15]
epouchak
Line 1: Line 1:
-====== getBatchUploadStatus ======+<embed ..:​contents/>​====== getBatchUploadStatus ======
  
 Retrieve the status of a currently running batch. Retrieve the status of a currently running batch.
Line 16: Line 16:
 ===== Syntax =====  ===== Syntax ===== 
  
-BatchUploadStatus **getBatchUploadStatus** ( [[developer:​soap:​objects:​ueSecurityToken]] Token, integer BatchNum ) +BatchUploadStatus **getBatchUploadStatus** ( [[..:​objects:​ueSecurityToken]] Token, integer BatchNum ) 
  
  
Line 23: Line 23:
  
 ^Type   ​^Name ​  ​^Description ​  ^ ^Type   ​^Name ​  ​^Description ​  ^
-|[[developer:​soap:​objects:​ueSecurityToken]] |Token |Merchant security token: used to identify merchant and validate transaction.|+|[[..:​objects:​ueSecurityToken]] |Token |Merchant security token: used to identify merchant and validate transaction.|
 |integer |BatchNum |A unique batch reference number assigned by the gateway.| |integer |BatchNum |A unique batch reference number assigned by the gateway.|
  
Line 29: Line 29:
 ===== Return Value ===== ===== Return Value =====
  
-|[[developer:​soap:​objects:​BatchUploadStatus]] |Returns the status of the currently running batch. Possible results include: open, closing, closed. |+|[[..:​objects:​BatchUploadStatus]] |Returns the status of the currently running batch. Possible results include: open, closing, closed. |
  
 ===== Examples ===== ===== Examples =====
Line 35: Line 35:
  
 ==== PHP ==== ==== PHP ====
 +
 +For directions on how to set up the WSDL link, create "​$token"​ and "​$client",​ go to [[..:​howto:​php|PHP Soap How-to]].
  
 <code php> <code php>
 <?​php ​ <?​php ​
- 
-// for directions on how to set up the  ​ 
-// WSDL link and create "​$token"​ and "​$client," ​ 
-// see: http://​wiki.usaepay.com/​developer/​soap/​howto/​php ​ 
  
 try {  try { 
  
-    ​$batchnum='​127';​  +  ​$batchnum='​127';​  
-    print_r($tran->​getBatchUploadStatus($sourcekey,​$batchnum)); ​+  print_r($tran->​getBatchUploadStatus($sourcekey,​$batchnum)); ​ 
 + 
 +  } 
  
-catch(SoapFault $e) { +catch(SoapFault $e) { 
            
-    ​echo $e->​getMessage();​  +  ​echo $e->​getMessage();​  
-    echo "​\n\nRequest:​ " . $tran->​__getLastRequest();​  +  echo "​\n\nRequest:​ " . $tran->​__getLastRequest();​  
-    echo "​\n\nResponse:​ " . $tran->​__getLastResponse(); ​+  echo "​\n\nResponse:​ " . $tran->​__getLastResponse(); ​
        
  
developer/soap/methods/getbatchuploadstatus.txt · Last modified: 2009/07/24 17:26 by tem

Page Tools