Share via

REST api question

Balasaheb Molawade 141 Reputation points
2023-06-26T08:57:27.1566667+00:00

Hi Team,

We are using https://dev.virtualearth.net/REST/V1/Routes/truck? API to get the route, travel distance, and travel time for cars and trucks. We wanted to confirm if can we use truck mode in this API to get the truck route and if is this included in “Light Known users” Bing map license key. How is the transaction count?

 Here is API that we used.

 https://dev.virtualearth.net/REST/V1/Routes/truck?wp.0=135%20Woodvale%20Ave,%20Princes%20Bay,%20Richmond%20County%20New%20York%2010309%20&wp.1=4020%20at%20AMBOY%20RD%20Staten%20Island%20NY%2010310%20USA%20&distanceUnit=mile&key={Bing map key}

 Please check and let us know your response for the same. 

Waiting for your reply.

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.


1 answer

Sort by: Most helpful
  1. rbrundritt 21,706 Reputation points Volunteer Moderator
    2023-06-26T09:28:58.1466667+00:00

    According to the Bing maps terms of use here: https://www.microsoft.com/en-us/maps/product Truck routing is considered a premium service and the premium services are not included with the known user licenses (regular or lite). So you would need to license additional transactions to cover that usage. I recommend reaching out to the Bing Maps licensing team to verify this and to move things forward. If based in North America contact maplic@microsoft.com, if outside of North America contact mapemea@microsoft.com

    As for transactions, truck routing generates 3 transactions per request. This is documented here: https://learn.microsoft.com/en-us/bingmaps/getting-started/bing-maps-dev-center-help/understanding-bing-maps-transactions

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.