22
33class MplusQAPIclient
44{
5- const CLIENT_VERSION = '1.34.4 ' ;
5+ const CLIENT_VERSION = '1.34.5 ' ;
66 const WSDL_TTL = 300 ;
77
88 var $ MIN_API_VERSION_MAJOR = 0 ;
@@ -1673,10 +1673,10 @@ public function updateProduct($product)
16731673
16741674 //----------------------------------------------------------------------------
16751675
1676- public function getArticleGroups ($ groupNumbers =array (), $ syncMarker =null , $ syncMarkerLimit =null , $ attempts =0 )
1676+ public function getArticleGroups ($ groupNumbers =array (), $ syncMarker =null , $ syncMarkerLimit =null , $ retrieveArticleNumbers = null , $ attempts =0 )
16771677 {
16781678 try {
1679- $ result = $ this ->client ->getArticleGroups ($ this ->parser ->convertGetArticleGroupsRequest ($ groupNumbers , $ syncMarker , $ syncMarkerLimit ));
1679+ $ result = $ this ->client ->getArticleGroups ($ this ->parser ->convertGetArticleGroupsRequest ($ groupNumbers , $ syncMarker , $ syncMarkerLimit, $ retrieveArticleNumbers ));
16801680 if ($ this ->returnRawResult ) {
16811681 return $ result ;
16821682 }
@@ -1685,7 +1685,7 @@ public function getArticleGroups($groupNumbers=array(), $syncMarker=null, $syncM
16851685 $ msg = $ e ->getMessage ();
16861686 if (false !== stripos ($ msg , 'Could not connect to host ' ) and $ attempts < 3 ) {
16871687 sleep (1 );
1688- return $ this ->getArticleGroups ($ groupNumbers , $ syncMarker , $ syncMarkerLimit , $ attempts +1 );
1688+ return $ this ->getArticleGroups ($ groupNumbers , $ syncMarker , $ syncMarkerLimit , $ retrieveArticleNumbers , $ attempts +1 );
16891689 } else {
16901690 throw new MplusQAPIException ('SoapFault occurred: ' .$ msg , 0 , $ e );
16911691 }
@@ -8364,7 +8364,7 @@ public function convertBarcodes($barcodes)
83648364
83658365 //----------------------------------------------------------------------------
83668366
8367- public function convertGetArticleGroupsRequest ($ groupNumbers , $ syncMarker , $ syncMarkerLimit )
8367+ public function convertGetArticleGroupsRequest ($ groupNumbers , $ syncMarker , $ syncMarkerLimit, $ retrieveArticleNumbers )
83688368 {
83698369 $ request = array ();
83708370 if ( ! is_array ($ groupNumbers )) {
@@ -8377,6 +8377,9 @@ public function convertGetArticleGroupsRequest($groupNumbers, $syncMarker, $sync
83778377 if ( ! is_null ($ syncMarkerLimit )) {
83788378 $ request ['syncMarkerLimit ' ] = $ syncMarkerLimit ;
83798379 }
8380+ if ( ! is_null ($ retrieveArticleNumbers )) {
8381+ $ request ['retrieveArticleNumbers ' ] = $ retrieveArticleNumbers ;
8382+ }
83808383 $ object = arrayToObject (array ('request ' =>$ request ));
83818384 return $ object ;
83828385 } // END convertGetArticleGroupsRequest()
0 commit comments