Hi,
I'm trying find a name etc via API with where array request like that
to Contact endpoint with params like that
and API returns me full list of contacts, not just a requested one.
And in the same time, with GET request /api/v1/Contact?select=id,firstName,phoneNumber&maxSize=20 &offset=0&orderBy=name&order=asc&where[0][type]=equals&where[0][attribute]=phoneNumber&where[0][value]=XXXXXXXXX returns me exactly what I need
could you please helps me to find why API request did'nt works properly
I'm trying find a name etc via API with where array request like that
Code:
[ 'type' => 'equals', 'attribute' => 'phoneNumber', 'value'=> 'XXXXXXXXX' ];
Code:
[ 'select' => 'id,firstName,phoneNumber', 'primaryFilter' => $primaryFilter, 'boolFilterList' => $boolFilterList, 'orderBy' => 'name', 'maxSize' => 20, 'offset'=> 0, 'where' => $where, ];
And in the same time, with GET request /api/v1/Contact?select=id,firstName,phoneNumber&maxSize=20 &offset=0&orderBy=name&order=asc&where[0][type]=equals&where[0][attribute]=phoneNumber&where[0][value]=XXXXXXXXX returns me exactly what I need
could you please helps me to find why API request did'nt works properly
Comment