If it is the following command 400 Bad Request error will be issued.
curl -i -u username:passward "https://gateway.watsonplatform.net/conversation/api/v1/workspaces/workspace_id/logs?version=2018-02-16&filter=(response_timestamp<2018-11-01T04:00:00.000Z)"
Where is wrong?
Answer by @chughts (12979) | Jun 12, 2018 at 03:52 AM
As per the documentation - https://console.bluemix.net/docs/services/conversation/filter-reference.html#examples
You need to encode the <
, so
&filter=(response_timestamp<2018-11-01T04:00:00.000Z)
becomes
&filter=(response_timestamp%3C2018-11-01T04:00:00.000Z)
although I think
&response_timestamp%3C2018-11-01T04:00:00.000Z
will also work.