xlcus
31-08-07, 20:05
I'm having a problem with the AW (as opposed to PS) API.
If I call getTransactionList with certain dates, the call seems to work. But with other dates it seems to fail. For example...
$params = array( 'dStartDate' => '2007-08-30T12:00:00',
'dEndDate' => '2007-08-31T14:00:00',
'sTransactionStatus' => $type,
'sDateType' => $datetype );
$response = $oClient->call('getTransactionList', $params);
...works fine. But if I change the "14" in the end date to a "15", I get the following error...
soaperror Object
(
[sCode] => ns1:Client.PARAM
[sString] => Incorrect dEndDate
[sDetails] => getTransactionList:
Passed value "2007-08-31T15:00:00" is invalid
)
Anyone know why?
If I call getTransactionList with certain dates, the call seems to work. But with other dates it seems to fail. For example...
$params = array( 'dStartDate' => '2007-08-30T12:00:00',
'dEndDate' => '2007-08-31T14:00:00',
'sTransactionStatus' => $type,
'sDateType' => $datetype );
$response = $oClient->call('getTransactionList', $params);
...works fine. But if I change the "14" in the end date to a "15", I get the following error...
soaperror Object
(
[sCode] => ns1:Client.PARAM
[sString] => Incorrect dEndDate
[sDetails] => getTransactionList:
Passed value "2007-08-31T15:00:00" is invalid
)
Anyone know why?