Page 1 of 1

lastupdt : invalid date format

Posted: Tue Nov 30, 2021 5:17 pm
by stout990
Hi All,

Great project! I'm trying to use the API to query Bluetooth search results; I've had no problems thus far until I reached 'lastupdt'. The Swagger docs show that the date format should be yyyyMMdd[hhmm[ss]]. When I do so, I receive:

Code: Select all

{"success":false,"message":"invalid lastupdt format."}
I've also tried encoding the value (as the Swagger test harness does so) and I see the same result.

An example date I am using is as follows: 20210601[1200[00]]

Any suggestions would be appreciated. Thanks.

Re: lastupdt : invalid date format

Posted: Wed Dec 01, 2021 5:43 pm
by arkasha
ah, sorry - probably a bad mix of documentation conventions - the square brackets indicate optional elements, not required formatting.
so value values are:

Code: Select all

20210601

Code: Select all

202106011200

Code: Select all

20210601120000

Re: lastupdt : invalid date format

Posted: Mon Dec 06, 2021 4:29 pm
by stout990
Thank you for the reply! Query is working now; appreciate it.

Re: lastupdt : invalid date format

Posted: Mon Dec 06, 2021 7:15 pm
by stout990
However, I've yet to actually return any results when applying a 'lastupdt' parameter, even going so far back as 2010. I was hoping to return back more recent results than going back to 2001 and I figured 'lastupdt' was that parameter. Should I instead use 'endTransId'?

Re: lastupdt : invalid date format

Posted: Mon Dec 06, 2021 8:09 pm
by arkasha
Depending on your other query parameters and intended use, it varies!
You can see which networks were seen more and less recently using the sliders on the webmaps.

using startTransID and endTransIDs are a very reliable way of bounding on upload time if you want to date-limit your query - give those a try, and feel free to reach out in DM if you're not comfortable sharing your query publicly!

-ark