You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to retrieve all open tickets, this statement:
$api->tickets->all(['query'=>'status:2']);
Results in a validation exception. The URL it seems to be attempting to send is made up of these:
[path:GuzzleHttp\Psr7\Uri:private] => /api/v2/tickets
[query:GuzzleHttp\Psr7\Uri:private] => query=status%3A2
So it appears that the colon is encoded by 'Freshdesk-laravel' but the colon does not appear encoded in the FreshDesk documentation example:
So it looks to me as if the utility is encoding colons when FD does not need it to.
However I can't see an example use of this 'query' parameter in the docs to be able to check whether I am using the syntax that this utility is expecting.
The text was updated successfully, but these errors were encountered:
When trying to retrieve all open tickets, this statement:
$api->tickets->all(['query'=>'status:2']);
Results in a validation exception. The URL it seems to be attempting to send is made up of these:
[path:GuzzleHttp\Psr7\Uri:private] => /api/v2/tickets
[query:GuzzleHttp\Psr7\Uri:private] => query=status%3A2
So it appears that the colon is encoded by 'Freshdesk-laravel' but the colon does not appear encoded in the FreshDesk documentation example:
'https://domain.freshdesk.com/api/v2/search/tickets?query="status:3%20OR%20status:4"&page=2'
So it looks to me as if the utility is encoding colons when FD does not need it to.
However I can't see an example use of this 'query' parameter in the docs to be able to check whether I am using the syntax that this utility is expecting.
The text was updated successfully, but these errors were encountered: