uncategorized
aprokaev at April 22nd, 2016 08:39 — #1
Hello
notes.json?sort_by=date&order=asc&per_page=100
calls.json?sort_by=call_time_int&order=desc&per_page=100
return nothing
cillian at April 22nd, 2016 10:20 — #2
Hello,
Thanks for getting in contact with your query.
This was due to a bug in the way were interpreting the query parameters - specifically sort_by. A fix has now been pushed for this!
Thanks again.
All the best,
Cillian
aprokaev at April 22nd, 2016 11:38 — #3
ok, I got now "error_message": "One or more of your sort fields/orders are not valid.",
how can I sort calls & notes in reverse order ( as it shown in user interface) ?
cillian at April 25th, 2016 04:42 — #4
Hi again,
Ah yes apologies - I should have spotted that!
We do not support sorting by all fields; we can only sort by fields which we pro-actively index on our end.
For future reference, we index the created_at & modified_at fields - these will always work! As for as the rest of the fields are concerned, they are more than likely not indexed - but you might get lucky, I would recommend giving them a go.
I will update our docs to reflect this.
All the best,
Cillian
aprokaev at April 25th, 2016 05:37 — #5
Powered by Discourse, best viewed with JavaScript enabled