API3
tijs at June 4th, 2014 08:15 — #1
Hi,
I am trying to do a contacts listing call where I want to sort the response ascending by the modified_at
value.
Right now I'm using:
sort_by: 'modified_at',
order: 'asc'
I get the following response:
{
"status":400,
"error_message":"One or more of your sort fields/orders are not valid. For a list of valid fields make a get request to the following url, 'https://app.onepagecrm.com/api/v3/currencies.json'"
}
The currencies url is definitely wrong.
So my question, can I find the right input somewhere?
Or is this still work in progress?
Thanks in advance!
pete_onepagecrm at June 6th, 2014 04:09 — #2
Hi @tijs, sorry for the delay in replying.
You've come across a few bugs that I've been working on this week.
We have a push planned for next Tuesday which should sort this out.
The problem you're coming across here is related to modified_at
- the bug is that the parameter the api is expecting is called updated_at
. This obviously needs to be changed to match the rest of the api where modified_at
is used.
I'll update you here when we have made these fixes.
tijs at June 6th, 2014 05:24 — #3
Great, thanks for the update!
dan at June 10th, 2014 09:26 — #4
Hey again @tijs.
That modified_at parameter has now been fixed.
Let us know how you get on
tijs at June 12th, 2014 07:46 — #5
Hi Dan,
Works great now.
I've maybe found another bug somewhere else however, I'll start a separate thread for that.
Thanks!
Powered by Discourse, best viewed with JavaScript enabled