Hej.
Od dawna borykam sie z problemem, ktorego sam nie potrafie rozwiązać i skończyły mi sie wszystkie pomysły ;(
Otóz jakkolwiek bym nie próbował to w zapytaniu nie wysyła 'filterOptions'.
tutaj fragment kodu który odpowiada za zapytanie
$filter['filterId']="userId";
$filter['filterValueId']='33239260';
$itemList = $soapClient->call(
'doGetItemsList',
'webapiKey' => WEBAPI_KEY,
'countryId' => 1,
'filterOptions' => $filter,
'resultSize' => 100,
'resultOffset' => 1,
'resultScope' => 1
)
)
);
a to mój request
?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns6625="http://tempuri.org">
<SOAP-ENV:Body>
<DoGetItemsListRequest xmlns="https://webapi.allegro.pl/service.php">
<webapiKey>********</webapiKey>
<countryId>1</countryId>
<filterOptions></filterOptions>
<resultSize>100</resultSize>
<resultOffset>0</resultOffset>
<resultScope>0</resultScope>
</DoGetItemsListRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
Dziękuje za pomoc (IMG:
style_emoticons/default/smile.gif)