location attribute value

44 views
Skip to first unread message

Vartika Srivastava

unread,
Apr 28, 2021, 2:29:35 PM4/28/21
to apidev
Hello! 

I am building an application to search for pets for adoption in my area.
I am using the api ->
url: 
or
body:
{"data":{"filterRadius":{"miles":100,"lat":43.5914694,"lon":-79.6313364}}}

I see the all results have the same location id although the orgs are different and at different locations (they have different zip codes and longitudes and latitudes)

What should the location variable contain?

I am also attaching the response that I am receiving.

Thanks!
Vartika
sample_response.txt

Richard Saffell

unread,
May 1, 2021, 7:36:48 PM5/1/21
to apidev, s.va...@appworldonline.com
Vartika,

Thanks for letting us know about this issue.  We see the source of the problem, and we'll be working over the next few of days to get it resolved.

The locations.id variable should contain a unique ID for that location.  Each locations.id should have only one address, city, state, etc.  Although the same address, city, state, etc could have multiple locations.id.  Hope that makes sense.  What you were seeing was definitely not correct.

Richard
Reply all
Reply to author
Forward
0 new messages