Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

[BUG] #154

Open
gareth-ib opened this issue Jan 7, 2020 · 0 comments
Open

[BUG] #154

gareth-ib opened this issue Jan 7, 2020 · 0 comments
Labels

Comments

@gareth-ib
Copy link

gareth-ib commented Jan 7, 2020

All the date calls in the samples need both end less than and greater than values or they will break.
The server side doesn't properly handle when a lessThan does not exist.
They need updating to be along the lines of this.

        $getSentEvent->filter = [
            'LeftOperand'       => [
                'Property'          => 'EventDate',
                'SimpleOperator'    => 'greaterThan',
                'DateValue'         => "2020-01-01T00:00:00.000"
            ],
            'LogicalOperator'   => 'AND',
            'RightOperand'      => [
                'Property'          => 'EventDate',
                'SimpleOperator'    => 'lessThan',
                'DateValue'         => "2020-01-02T00:00:00.000"
            ]
        ];
@gareth-ib gareth-ib added the bug label Jan 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant