none
queryKey vs. Access ID RRS feed

  • Question

  • Hi all, I'm new to the QueryAPI (attempting to query by Property), and I need some help distinguishing between the queryKey and the Access ID.  It's unclear to me which is supposed to represent our personalized API Key, as well as what needs to be submitted for the other.

    Each request I submit through a URL bar seems to result in the same error message:

    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code/>
    <message xml:lang="en-US">The requested resource was not found.</message>

    </error>

    My query, sans Keys:

    http://spatial.virtualearth.net/REST/v1/data/(Access ID)/SwedishBakery/SwedishBakery?spatialFilter=nearby(41.97900,-87.66828,2)&$filter=StoreType%20Eq%20'Coffee Shop'&key=(queryKey)

    Thanks, any help is greatly appreciated!

    Wednesday, October 3, 2012 8:52 PM

Answers

  • The AccessID is a unique string that is used to identify a data source. Here is an easy tool for finding out the access ID for your data source: http://bingmapslocators.cloudapp.net/DataUploader Simple pass in your Bing Maps key into the Data Source Info tab and it will retrieve a list of all your data sources tied to that key. Your query key is a Bing Maps key which you identified to be your query key when uploading your data source to Bing Maps.

    http://rbrundritt.wordpress.com

    Thursday, October 4, 2012 9:39 AM