QueryOpePending

From NETIM
(Difference between revisions)
Jump to: navigation, search
m (Text replace - "API Version 2 (Coming soon)" to "API Version 2 (Recommended)")
m (Text replace - "API Version 1 (Recommended)" to "API Version 1 (Deprecated)")
 
Line 69: Line 69:
  
 
</tab>
 
</tab>
<tab name="API Version 1 (Recommended)">
+
<tab name="API Version 1 (Deprecated)">
  
 
{| class="wikitable" style="width: 200px;"
 
{| class="wikitable" style="width: 200px;"

Latest revision as of 15:59, 2 August 2017


Release
API >= 2.0


Description

Returns the list of pending operations processing

StructQueryOpePending[] queryOpePending(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return


An array of objects of type StructQueryOpePending


Notes

None


[edit] Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl"); 
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $res= $clientSOAP->queryOpePending($idSession); 
 
      print_r($res); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if (isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>


Release Runtime
API >= 1.5 Synchrone


Description

Returns the list of pending operations processing

StructQueryOpePending[] queryOpePending(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return


An array of objects of type StructQueryOpePending


Notes

None


[edit] Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl"); 
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $res= $clientSOAP->queryOpePending($idSession); 
 
      print_r($res); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if (isset($idSession)) 
{ 
      $clientSOAP->logout($idSession); 
} 
?>


JAVA

DRSServiceLocator service = new DRSServiceLocator(); 
String idSession; 
StructQueryOpePending[] arrayStructQueryOpePending; 
 
try 
{ 
      DRSPortType port = service.getDRSPort(); 
      idSession = port.login("XXXX", "XXXX", "EN"); 
 
      arrayStructQueryOpePending = port.queryOpePending(idSession); 
 
      for (int i=0; i < arrayStructQueryOpePending.length; i++) 
            System.out.println(arrayStructQueryOpePending[i].GetID()+" "+arrayStructQueryOpePending[i].GetType()+" "+arrayStructQueryOpePending[i].GetDate()+" "+arrayStructQueryOpePending[i].GetData()); 
 
      port.logout(idSession); 
} 
catch (RemoteException re) 
{ 
      System.out.println(re.getMessage()); 
} 
catch (ServiceException se) 
{ 
      se.printStackTrace(); 
}


Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Shared Hosting
Old Hosting offers
SSL Certificates
Resellers
Affiliates
Contact Us
Miscellaneous