question

ep-7508 avatar image
0 Votes"
ep-7508 asked rbrundritt answered

how to find the link to the website of hotels with bing maps api

thanks to POI, I manage to find the hotels with a request in a bbox with the related information, but among them there is no link to the website as on the bingmaps maps.
do you know how i can find this information to add it to the others ?
my request

http://spatial.virtualearth.net/REST/v1/data/Microsoft/PointsOfInterest?spatialFilter=bbox(43.83751196606502,4.356314681591553,43.83996124084109,4.365326903881592)&$filter=EntityTypeID%20eq%20'7011'&$format=json&key=apiKey

azure-maps
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ep-7508 Welcome to Microsoft Q&A Platform and thanks for your query. Community SME's on this topic or our team will review your scenario and circle back at the possible earliest time.

0 Votes 0 ·

@ep-7508 Just checking in to see if the below answer(s) helped.
If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

0 Votes 0 ·
StephenDubienAVANADEINC-6715 avatar image
0 Votes"
StephenDubienAVANADEINC-6715 answered ep-7508 commented

@ep-7508 Thank you for your question.

The Bing Maps Enterprise Point of Interest data source is documented here:
https://docs.microsoft.com/en-us/bingmaps/spatial-data-services/public-data-sources/pointsofinterest

Currently, Website is not one of the properties in "POI Entity Properties" for the locations in the data source.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thankss, but I already knew that otherwise I wouldn't have asked this question.
the question is how to get these websites with the bingmaps API ?

0 Votes 0 ·

If you are looking for Web attributes then you are not looking for a Maps API but rather a Search API. I suspect you actually want Bing Search as documented here: https://docs.microsoft.com/en-us/azure/cognitive-services/bing-entities-search/concepts/search-for-entities#find-places

0 Votes 0 ·
rbrundritt avatar image
0 Votes"
rbrundritt answered

You may also want to take a look at the Bing Maps Local Search API: https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/local-search It does return a URL if available.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.