What format is the "date" used in searches on the updated_since field in the people search endpont?
What is the granularity of the comparison, is it just a comparison of the date or is it really a combarison with the updated_at field of the record, which appears to have a resolution of 1s?
An example of using this api call might be useful.
Submitted
Official response from Farz SokhansanjThe format can be either:
yyyy-mm-dd
Thour:minute:second-
GMT timezone (Ex: 2017-02-01T04:24:21-08:00)
or
mm/dd/yyyy
Thour:minute:second-
GMT timezone (Ex: 02/01/2017T04:24:21-08:00)
An example request using curl would look like this:
curl GET —header “content-type: application/json” 'https://{slug}.nationbuilder.com/api/v1/people/search?limit=1&updated_since=02/01/2017T04:24:21-08:00&access_token={token}'
Share this post
Showing 1 reaction
Sign in with