Compartir a través de


Driving Route with Route Path Example

Note

Bing Maps Calculate a Route API retirement

Bing Maps Calculate a Route API is deprecated and will be retired. Free (Basic) account customers can continue to use Bing Maps Calculate a Route API until June 30th, 2025. Enterprise account customers can continue to use Bing Maps Calculate a Route API until June 30th, 2028. To avoid service disruptions, all implementations using Bing Maps Calculate a Route API will need to be updated to use Azure Maps Route Directions API by the retirement date that applies to your Bing Maps for Enterprise account type. For detailed migration guidance, see Migrate Bing Maps Calculate a Route API.

Azure Maps is Microsoft's next-generation maps and geospatial services for developers. Azure Maps has many of the same features as Bing Maps for Enterprise, and more. To get started with Azure Maps, create a free Azure subscription and an Azure Maps account. For more information about azure Maps, see Azure Maps Documentation. For migration guidance, see Bing Maps Migration Overview.

This example returns a driving route from Minneapolis, Minnesota to St. Paul, Minnesota. The route is optimized for distance and requests point values for the route’s path. Results are shown for both JSON and XML response formats.

http://dev.virtualearth.net/REST/V1/Routes/Driving?wp.0=Minneapolis,MN&wp.1=St%20Paul,MN&optmz=distance&routeAttributes=routePath&key={BingMapsKey}  

JSON Response

{  
   "authenticationResultCode":"ValidCredentials",  
   "brandLogoUri":"http:\/\/dev.virtualearth.net\/Branding\/logo_powered_by.png",  
   "copyright":"Copyright © 2014 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.",  
   "resourceSets":[  
      {  
         "estimatedTotal":1,  
         "resources":[  
            {  
               "__type":"Route:http:\/\/schemas.microsoft.com\/search\/local\/ws\/rest\/v1",  
               "bbox":[  
                  44.943738,  
                  -93.264908,  
                  44.979942,  
                  -93.093325  
               ],  
               "id":"v65,h97351,i0,a0,cen-US,dAAAAAAAAAAA1,y0,s1,m1,o2,t4,w2YX_A2a0tfc1~AnVFsCIhs40JAADgAQAAAAAA0~TWlubmVhcG9saXMsIE1O0~~~,wvLj-Axacufc1~AnVFsCJhepwJAADgAdQZAT8A0~U3QgUGF1bCwgTU41~~~,k1",  
               "distanceUnit":"Kilometer",  
               "durationUnit":"Second",  
               "routeLegs":[  
                  {  
                     "actualEnd":{  
                        "type":"Point",  
                        "coordinates":[  
                           44.943829,  
                           -93.093325  
                        ]  
                     },  
                     "actualStart":{  
                        "type":"Point",  
                        "coordinates":[  
                           44.979063,  
                           -93.264908  
                        ]  
                     },  
                     "alternateVias":[  
  
                     ],  
                     "cost":0,  
                     "description":"S Washington Ave,I-94 E",  
                     "endLocation":{  
                        "bbox":[  
                           44.607269,  
                           -93.884979,  
                           45.300034,  
                           -92.301086  
                        ],  
                        "name":"St Paul, MN",  
                        "point":{  
                           "type":"Point",  
                           "coordinates":[  
                              44.943821,  
                              -93.093323  
                           ]  
                        },  
                        "address":{  
                           "adminDistrict":"MN",  
                           "adminDistrict2":"Ramsey Co.",  
                           "countryRegion":"United States",  
                           "formattedAddress":"St Paul, MN",  
                           "locality":"St Paul"  
                        },  
                        "confidence":"High",  
                        "entityType":"PopulatedPlace",  
                        "geocodePoints":[  
                           {  
                              "type":"Point",  
                              "coordinates":[  
                                 44.943821,  
                                 -93.093323  
                              ],  
                              "calculationMethod":"Rooftop",  
                              "usageTypes":[  
                                 "Display"  
                              ]  
                           }  
                        ],  
                        "matchCodes":[  
                           "Good"  
                        ]  
                     },  
                     "itineraryItems":[  
                        {  
                           "compassDirection":"northeast",  
                           "details":[  
                              {  
                                 "compassDegrees":41,  
                                 "endPathIndices":[  
                                    2  
                                 ],  
                                 "locationCodes":[  
                                    "118+05098",  
                                    "118P05098"  
                                 ],  
                                 "maneuverType":"DepartStart",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "S 3rd Ave"  
                                 ],  
                                 "roadType":"MajorRoad",  
                                 "startPathIndices":[  
                                    0  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"DepartStart",  
                              "text":"Depart S 3rd Ave toward S Washington Ave \/ CR-152 S"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.979063,  
                                 -93.264908  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "towardsRoadName":"S Washington Ave \/ CR-152 S",  
                           "transitTerminus":"",  
                           "travelDistance":0.118,  
                           "travelDuration":10,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"southeast",  
                           "details":[  
                              {  
                                 "compassDegrees":113,  
                                 "endPathIndices":[  
                                    6  
                                 ],  
                                 "locationCodes":[  
                                    "118-06272"  
                                 ],  
                                 "maneuverType":"TurnRight",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "S Washington Ave"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    2  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"TurnRight",  
                              "text":"Turn right onto S Washington Ave \/ CR-152 S"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.979942,  
                                 -93.264141  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":1.256,  
                           "travelDuration":139,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"southeast",  
                           "details":[  
                              {  
                                 "compassDegrees":112,  
                                 "endPathIndices":[  
                                    11  
                                 ],  
                                 "locationCodes":[  
                                    "118N06272",  
                                    "118-05155",  
                                    "118-05154",  
                                    "118N05154",  
                                    "118-05153"  
                                 ],  
                                 "maneuverType":"KeepStraight",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "S Washington Ave"  
                                 ],  
                                 "roadType":"MajorRoad",  
                                 "startPathIndices":[  
                                    6  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"KeepStraight",  
                              "text":"Keep straight onto S Washington Ave \/ CR-152"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.97424,  
                                 -93.25044  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":0.586,  
                           "travelDuration":120,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"east",  
                           "details":[  
                              {  
                                 "compassDegrees":112,  
                                 "endPathIndices":[  
                                    13  
                                 ],  
                                 "locationCodes":[  
                                    "118N15600",  
                                    "118-15599"  
                                 ],  
                                 "maneuverType":"TurnLeft",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "Riverside Ave"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    11  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"TurnLeft",  
                              "text":"Turn left onto Riverside Ave \/ CR-48"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.970222,  
                                 -93.24727  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":1.031,  
                           "travelDuration":160,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"southeast",  
                           "details":[  
                              {  
                                 "compassDegrees":114,  
                                 "endPathIndices":[  
                                    15  
                                 ],  
                                 "maneuverType":"KeepStraight",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "Riverside Ave"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    13  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"KeepStraight",  
                              "text":"Keep straight onto Riverside Ave"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.965491,  
                                 -93.23616  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":0.326,  
                           "travelDuration":43,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"east",  
                           "details":[  
                              {  
                                 "compassDegrees":86,  
                                 "endPathIndices":[  
                                    19  
                                 ],  
                                 "maneuverType":"TakeRampLeft",  
                                 "mode":"Driving",  
                                 "roadType":"Ramp",  
                                 "startPathIndices":[  
                                    15  
                                 ]  
                              },  
                              {  
                                 "compassDegrees":68,  
                                 "endPathIndices":[  
                                    48  
                                 ],  
                                 "locationCodes":[  
                                    "118-04195",  
                                    "118N04195",  
                                    "118-04194",  
                                    "118N04194",  
                                    "118-04193",  
                                    "118N04193",  
                                    "118-04192",  
                                    "118N04192",  
                                    "118-04191",  
                                    "118N04191",  
                                    "118-04190",  
                                    "118N04190",  
                                    "118-04189",  
                                    "118N04189",  
                                    "118-04188",  
                                    "118N04188"  
                                 ],  
                                 "maneuverType":"Merge",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "I-94 East"  
                                 ],  
                                 "roadShieldRequestParameters":{  
                                    "bucket":51095,  
                                    "shields":[  
                                       {  
                                          "labels":[  
                                             "94"  
                                          ],  
                                          "roadShieldType":1  
                                       }  
                                    ]  
                                 },  
                                 "roadType":"LimitedAccessHighway",  
                                 "startPathIndices":[  
                                    19  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"RampThenHighwayLeft",  
                              "text":"Take ramp left and follow signs for I-94 East"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.964021,  
                                 -93.232668  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "signs":[  
                              "I-94 East"  
                           ],  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":9.94,  
                           "travelDuration":393,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"southeast",  
                           "details":[  
                              {  
                                 "compassDegrees":105,  
                                 "endPathIndices":[  
                                    55  
                                 ],  
                                 "locationCodes":[  
                                    "118P15998",  
                                    "118+15999"  
                                 ],  
                                 "maneuverType":"TakeRampRight",  
                                 "mode":"Driving",  
                                 "roadType":"Ramp",  
                                 "startPathIndices":[  
                                    48  
                                 ]  
                              },  
                              {  
                                 "compassDegrees":125,  
                                 "endPathIndices":[  
                                    60  
                                 ],  
                                 "locationCodes":[  
                                    "118+15999",  
                                    "118P15999",  
                                    "118+16000"  
                                 ],  
                                 "maneuverType":"Merge",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "5th St W"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    55  
                                 ]  
                              }  
                           ],  
                           "exit":"241B",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"RampThenHighwayRight",  
                              "text":"At exit 241B, take ramp right and follow signs for 5th St"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.950942,  
                                 -93.11435  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "signs":[  
                              "5th St"  
                           ],  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":1.694,  
                           "travelDuration":173,  
                           "travelMode":"Driving",  
                           "warnings":[  
                              {  
                                 "origin":"44.945687,-93.101269",  
                                 "severity":"Minor",  
                                 "text":"Construction: between MN-5\/7TH ST W and MN-3\/ROBERT ST - Roadwork.",  
                                 "to":"44.94743,-93.09085",  
                                 "warningType":"ScheduledConstruction"  
                              }  
                           ]  
                        },  
                        {  
                           "compassDirection":"southeast",  
                           "details":[  
                              {  
                                 "compassDegrees":135,  
                                 "endPathIndices":[  
                                    63  
                                 ],  
                                 "locationCodes":[  
                                    "118-16685",  
                                    "118N16685"  
                                 ],  
                                 "maneuverType":"BearRight",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "St Peter St"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    60  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"BearRight",  
                              "text":"Bear right onto St Peter St"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.945133,  
                                 -93.095639  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":0.191,  
                           "travelDuration":25,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"east",  
                           "details":[  
                              {  
                                 "compassDegrees":87,  
                                 "endPathIndices":[  
                                    66  
                                 ],  
                                 "locationCodes":[  
                                    "118+16420"  
                                 ],  
                                 "maneuverType":"BearLeft",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "Kellogg Blvd W"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    63  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"BearLeft",  
                              "text":"Bear left onto Kellogg Blvd W"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.943738,  
                                 -93.09425  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":0.075,  
                           "travelDuration":27,  
                           "travelMode":"Driving"  
                        },  
                        {  
                           "compassDirection":"east",  
                           "details":[  
                              {  
                                 "compassDegrees":80,  
                                 "endPathIndices":[  
                                    66  
                                 ],  
                                 "locationCodes":[  
                                    "118+16420"  
                                 ],  
                                 "maneuverType":"ArriveFinish",  
                                 "mode":"Driving",  
                                 "names":[  
                                    "Kellogg Blvd W"  
                                 ],  
                                 "roadType":"Arterial",  
                                 "startPathIndices":[  
                                    66  
                                 ]  
                              }  
                           ],  
                           "exit":"",  
                           "hints":[  
                              {  
                                 "hintType":null,  
                                 "text":"The last intersection is St Peter St"  
                              },  
                              {  
                                 "hintType":null,  
                                 "text":"If you reach Wabasha St N, you've gone too far"  
                              }  
                           ],  
                           "iconType":"Auto",  
                           "instruction":{  
                              "formattedText":null,  
                              "maneuverType":"ArriveFinish",  
                              "text":"Arrive at St Paul, MN"  
                           },  
                           "maneuverPoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.943829,  
                                 -93.093325  
                              ]  
                           },  
                           "sideOfStreet":"Unknown",  
                           "tollZone":"",  
                           "transitTerminus":"",  
                           "travelDistance":0,  
                           "travelDuration":0,  
                           "travelMode":"Driving"  
                        }  
                     ],  
                     "routeRegion":"NAv2",  
                     "routeSubLegs":[  
                        {  
                           "endWaypoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.943821,  
                                 -93.093323  
                              ],  
                              "description":"St Paul, MN",  
                              "isVia":false,  
                              "locationIdentifier":"2|117|69|176|34|97|122|156|9|0|0|224|1|212|25|1|63|0|44.943829,-93.093325",  
                              "routePathIndex":66  
                           },  
                           "startWaypoint":{  
                              "type":"Point",  
                              "coordinates":[  
                                 44.979031,  
                                 -93.264931  
                              ],  
                              "description":"Minneapolis, MN",  
                              "isVia":false,  
                              "locationIdentifier":"2|117|69|176|34|33|179|141|9|0|0|224|1|0|0|0|0|0|44.979063,-93.264908",  
                              "routePathIndex":0  
                           },  
                           "travelDistance":15.217,  
                           "travelDuration":1094  
                        }  
                     ],  
                     "startLocation":{  
                        "bbox":[  
                           44.629509,  
                           -94.065819,  
                           45.322273,  
                           -92.481316  
                        ],  
                        "name":"Minneapolis, MN",  
                        "point":{  
                           "type":"Point",  
                           "coordinates":[  
                              44.979031,  
                              -93.264931  
                           ]  
                        },  
                        "address":{  
                           "adminDistrict":"MN",  
                           "adminDistrict2":"Hennepin Co.",  
                           "countryRegion":"United States",  
                           "formattedAddress":"Minneapolis, MN",  
                           "locality":"Minneapolis"  
                        },  
                        "confidence":"High",  
                        "entityType":"PopulatedPlace",  
                        "geocodePoints":[  
                           {  
                              "type":"Point",  
                              "coordinates":[  
                                 44.979031,  
                                 -93.264931  
                              ],  
                              "calculationMethod":"Rooftop",  
                              "usageTypes":[  
                                 "Display"  
                              ]  
                           }  
                        ],  
                        "matchCodes":[  
                           "Good"  
                        ]  
                     },  
                     "travelDistance":15.217,  
                     "travelDuration":1094  
                  }  
               ],  
               "routePath":{  
                  "generalizations":[  
  
                  ],  
                  "line":{  
                     "type":"LineString",  
                     "coordinates":[  
                        [  
                           44.979062,  
                           -93.264908  
                        ],  
                        [  
                           44.979668,  
                           -93.264377  
                        ],  
                        [  
                           44.979942,  
                           -93.264141  
                        ],  
                        [  
                           44.97969,  
                           -93.26355  
                        ],  
                        [  
                           44.977678,  
                           -93.258621  
                        ],  
                        [  
                           44.974341,  
                           -93.250869  
                        ],  
                        [  
                           44.97424,  
                           -93.25044  
                        ],  
                        [  
                           44.973912,  
                           -93.249667  
                        ],  
                        [  
                           44.973081,  
                           -93.247699  
                        ],  
                        [  
                           44.972807,  
                           -93.24728  
                        ],  
                        [  
                           44.972512,  
                           -93.24721  
                        ],  
                        [  
                           44.970222,  
                           -93.247269  
                        ],  
                        [  
                           44.970012,  
                           -93.246787  
                        ],  
                        [  
                           44.96549,  
                           -93.23616  
                        ],  
                        [  
                           44.965281,  
                           -93.235698  
                        ],  
                        [  
                           44.96402,  
                           -93.232668  
                        ],  
                        [  
                           44.964069,  
                           -93.231868  
                        ],  
                        [  
                           44.964138,  
                           -93.230688  
                        ],  
                        [  
                           44.964321,  
                           -93.229728  
                        ],  
                        [  
                           44.964841,  
                           -93.228521  
                        ],  
                        [  
                           44.964938,  
                           -93.228279  
                        ],  
                        [  
                           44.966611,  
                           -93.22468  
                        ],  
                        [  
                           44.966912,  
                           -93.22372  
                        ],  
                        [  
                           44.967067,  
                           -93.22277  
                        ],  
                        [  
                           44.9671,  
                           -93.221687  
                        ],  
                        [  
                           44.966788,  
                           -93.219729  
                        ],  
                        [  
                           44.966091,  
                           -93.218007  
                        ],  
                        [  
                           44.965378,  
                           -93.216971  
                        ],  
                        [  
                           44.962041,  
                           -93.21268  
                        ],  
                        [  
                           44.960651,  
                           -93.210518  
                        ],  
                        [  
                           44.960002,  
                           -93.209289  
                        ],  
                        [  
                           44.959707,  
                           -93.208227  
                        ],  
                        [  
                           44.959589,  
                           -93.207149  
                        ],  
                        [  
                           44.959718,  
                           -93.202407  
                        ],  
                        [  
                           44.959638,  
                           -93.20157  
                        ],  
                        [  
                           44.95945,  
                           -93.20076  
                        ],  
                        [  
                           44.959198,  
                           -93.200111  
                        ],  
                        [  
                           44.958087,  
                           -93.198169  
                        ],  
                        [  
                           44.957379,  
                           -93.196361  
                        ],  
                        [  
                           44.954289,  
                           -93.187381  
                        ],  
                        [  
                           44.95327,  
                           -93.1842  
                        ],  
                        [  
                           44.95217,  
                           -93.180638  
                        ],  
                        [  
                           44.951881,  
                           -93.178997  
                        ],  
                        [  
                           44.951591,  
                           -93.167238  
                        ],  
                        [  
                           44.951682,  
                           -93.154079  
                        ],  
                        [  
                           44.951612,  
                           -93.148178  
                        ],  
                        [  
                           44.951661,  
                           -93.121747  
                        ],  
                        [  
                           44.951521,  
                           -93.119371  
                        ],  
                        [  
                           44.950942,  
                           -93.11435  
                        ],  
                        [  
                           44.950781,  
                           -93.11376  
                        ],  
                        [  
                           44.950631,  
                           -93.112451  
                        ],  
                        [  
                           44.950529,  
                           -93.109887  
                        ],  
                        [  
                           44.95032,  
                           -93.108782  
                        ],  
                        [  
                           44.949799,  
                           -93.10772  
                        ],  
                        [  
                           44.948979,  
                           -93.106437  
                        ],  
                        [  
                           44.94782,  
                           -93.104361  
                        ],  
                        [  
                           44.94746,  
                           -93.103857  
                        ],  
                        [  
                           44.945889,  
                           -93.101647  
                        ],  
                        [  
                           44.945508,  
                           -93.100708  
                        ],  
                        [  
                           44.945138,  
                           -93.097549  
                        ],  
                        [  
                           44.945132,  
                           -93.095639  
                        ],  
                        [  
                           44.944311,  
                           -93.094829  
                        ],  
                        [  
                           44.94407,  
                           -93.094587  
                        ],  
                        [  
                           44.943737,  
                           -93.094249  
                        ],  
                        [  
                           44.943759,  
                           -93.093842  
                        ],  
                        [  
                           44.943791,  
                           -93.093541  
                        ],  
                        [  
                           44.943828,  
                           -93.093324  
                        ]  
                     ]  
                  }  
               },  
               "travelDistance":15.217,  
               "travelDuration":1094,  
               "travelDurationTraffic":1341  
            }  
         ]  
      }  
   ],  
   "statusCode":200,  
   "statusDescription":"OK",  
   "traceId":"0433643b3ec742cd8b3b94c0b7a18f04"  
}  

XML Response

Set output=xml in the URL request to get an XML response.

<?xml version="1.0" encoding="utf-8"?>  
<Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/search/local/ws/rest/v1">  
  <Copyright>Copyright © 2014 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.</Copyright>  
  <BrandLogoUri>http://dev.virtualearth.net/Branding/logo_powered_by.png</BrandLogoUri>  
  <StatusCode>200</StatusCode>  
  <StatusDescription>OK</StatusDescription>  
  <AuthenticationResultCode>ValidCredentials</AuthenticationResultCode>  
  <TraceId>808541c11f4d4226946b70031700e060</TraceId>  
  <ResourceSets>  
    <ResourceSet>  
      <EstimatedTotal>1</EstimatedTotal>  
      <Resources>  
        <Route>  
          <Id>v65,h97351,i0,a0,cen-US,dAAAAAAAAAAA1,y0,s1,m1,o2,t4,w2YX_A2a0tfc1~AnVFsCIhs40JAADgAQAAAAAA0~TWlubmVhcG9saXMsIE1O0~~~,wvLj-Axacufc1~AnVFsCJhepwJAADgAdQZAT8A0~U3QgUGF1bCwgTU41~~~,k1</Id>  
          <BoundingBox>  
            <SouthLatitude>44.943738</SouthLatitude>  
            <WestLongitude>-93.264908</WestLongitude>  
            <NorthLatitude>44.979942</NorthLatitude>  
            <EastLongitude>-93.093325</EastLongitude>  
          </BoundingBox>  
          <DistanceUnit>Kilometer</DistanceUnit>  
          <DurationUnit>Second</DurationUnit>  
          <TravelDistance>15.217</TravelDistance>  
          <TravelDuration>1094</TravelDuration>  
          <TravelDurationTraffic>1341</TravelDurationTraffic>  
          <RouteLeg>  
            <TravelDistance>15.217</TravelDistance>  
            <TravelDuration>1094</TravelDuration>  
            <Cost>0</Cost>  
            <ActualStart>  
              <Latitude>44.979063</Latitude>  
              <Longitude>-93.264908</Longitude>  
            </ActualStart>  
            <ActualEnd>  
              <Latitude>44.943829</Latitude>  
              <Longitude>-93.093325</Longitude>  
            </ActualEnd>  
            <StartLocation>  
              <Name>Minneapolis, MN</Name>  
              <Point>  
                <Latitude>44.979031</Latitude>  
                <Longitude>-93.264931</Longitude>  
              </Point>  
              <BoundingBox>  
                <SouthLatitude>44.629509</SouthLatitude>  
                <WestLongitude>-94.065819</WestLongitude>  
                <NorthLatitude>45.322273</NorthLatitude>  
                <EastLongitude>-92.481316</EastLongitude>  
              </BoundingBox>  
              <EntityType>PopulatedPlace</EntityType>  
              <Address>  
                <AdminDistrict>MN</AdminDistrict>  
                <AdminDistrict2>Hennepin Co.</AdminDistrict2>  
                <CountryRegion>United States</CountryRegion>  
                <FormattedAddress>Minneapolis, MN</FormattedAddress>  
                <Locality>Minneapolis</Locality>  
              </Address>  
              <Confidence>High</Confidence>  
              <MatchCode>Good</MatchCode>  
              <GeocodePoint>  
                <Latitude>44.979031</Latitude>  
                <Longitude>-93.264931</Longitude>  
                <CalculationMethod>Rooftop</CalculationMethod>  
                <UsageType>Display</UsageType>  
              </GeocodePoint>  
            </StartLocation>  
            <EndLocation>  
              <Name>St Paul, MN</Name>  
              <Point>  
                <Latitude>44.943821</Latitude>  
                <Longitude>-93.093323</Longitude>  
              </Point>  
              <BoundingBox>  
                <SouthLatitude>44.607269</SouthLatitude>  
                <WestLongitude>-93.884979</WestLongitude>  
                <NorthLatitude>45.300034</NorthLatitude>  
                <EastLongitude>-92.301086</EastLongitude>  
              </BoundingBox>  
              <EntityType>PopulatedPlace</EntityType>  
              <Address>  
                <AdminDistrict>MN</AdminDistrict>  
                <AdminDistrict2>Ramsey Co.</AdminDistrict2>  
                <CountryRegion>United States</CountryRegion>  
                <FormattedAddress>St Paul, MN</FormattedAddress>  
                <Locality>St Paul</Locality>  
              </Address>  
              <Confidence>High</Confidence>  
              <MatchCode>Good</MatchCode>  
              <GeocodePoint>  
                <Latitude>44.943821</Latitude>  
                <Longitude>-93.093323</Longitude>  
                <CalculationMethod>Rooftop</CalculationMethod>  
                <UsageType>Display</UsageType>  
              </GeocodePoint>  
            </EndLocation>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0.118</TravelDistance>  
              <TravelDuration>10</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.979063</Latitude>  
                <Longitude>-93.264908</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="DepartStart">Depart S 3rd Ave toward S Washington Ave / CR-152 S</Instruction>  
              <CompassDirection>northeast</CompassDirection>  
              <Detail>  
                <ManeuverType>DepartStart</ManeuverType>  
                <StartPathIndex>0</StartPathIndex>  
                <EndPathIndex>2</EndPathIndex>  
                <Name>S 3rd Ave</Name>  
                <CompassDegrees>41</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>MajorRoad</RoadType>  
                <LocationCode>118+05098</LocationCode>  
                <LocationCode>118P05098</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <TowardsRoadName>S Washington Ave / CR-152 S</TowardsRoadName>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>1.256</TravelDistance>  
              <TravelDuration>139</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.979942</Latitude>  
                <Longitude>-93.264141</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="TurnRight">Turn right onto S Washington Ave / CR-152 S</Instruction>  
              <CompassDirection>southeast</CompassDirection>  
              <Detail>  
                <ManeuverType>TurnRight</ManeuverType>  
                <StartPathIndex>2</StartPathIndex>  
                <EndPathIndex>6</EndPathIndex>  
                <Name>S Washington Ave</Name>  
                <CompassDegrees>113</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118-06272</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0.586</TravelDistance>  
              <TravelDuration>120</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.97424</Latitude>  
                <Longitude>-93.25044</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="KeepStraight">Keep straight onto S Washington Ave / CR-152</Instruction>  
              <CompassDirection>southeast</CompassDirection>  
              <Detail>  
                <ManeuverType>KeepStraight</ManeuverType>  
                <StartPathIndex>6</StartPathIndex>  
                <EndPathIndex>11</EndPathIndex>  
                <Name>S Washington Ave</Name>  
                <CompassDegrees>112</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>MajorRoad</RoadType>  
                <LocationCode>118N06272</LocationCode>  
                <LocationCode>118-05155</LocationCode>  
                <LocationCode>118-05154</LocationCode>  
                <LocationCode>118N05154</LocationCode>  
                <LocationCode>118-05153</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>1.031</TravelDistance>  
              <TravelDuration>160</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.970222</Latitude>  
                <Longitude>-93.24727</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="TurnLeft">Turn left onto Riverside Ave / CR-48</Instruction>  
              <CompassDirection>east</CompassDirection>  
              <Detail>  
                <ManeuverType>TurnLeft</ManeuverType>  
                <StartPathIndex>11</StartPathIndex>  
                <EndPathIndex>13</EndPathIndex>  
                <Name>Riverside Ave</Name>  
                <CompassDegrees>112</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118N15600</LocationCode>  
                <LocationCode>118-15599</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0.326</TravelDistance>  
              <TravelDuration>43</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.965491</Latitude>  
                <Longitude>-93.23616</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="KeepStraight">Keep straight onto Riverside Ave</Instruction>  
              <CompassDirection>southeast</CompassDirection>  
              <Detail>  
                <ManeuverType>KeepStraight</ManeuverType>  
                <StartPathIndex>13</StartPathIndex>  
                <EndPathIndex>15</EndPathIndex>  
                <Name>Riverside Ave</Name>  
                <CompassDegrees>114</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>9.94</TravelDistance>  
              <TravelDuration>393</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.964021</Latitude>  
                <Longitude>-93.232668</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="RampThenHighwayLeft">Take ramp left and follow signs for I-94 East</Instruction>  
              <CompassDirection>east</CompassDirection>  
              <Detail>  
                <ManeuverType>TakeRampLeft</ManeuverType>  
                <StartPathIndex>15</StartPathIndex>  
                <EndPathIndex>19</EndPathIndex>  
                <CompassDegrees>86</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Ramp</RoadType>  
              </Detail>  
              <Detail>  
                <ManeuverType>Merge</ManeuverType>  
                <StartPathIndex>19</StartPathIndex>  
                <EndPathIndex>48</EndPathIndex>  
                <Name>I-94 East</Name>  
                <CompassDegrees>68</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>LimitedAccessHighway</RoadType>  
                <RoadShieldRequestParameters>  
                  <Bucket>51095</Bucket>  
                  <Shield>  
                    <RoadShieldType>1</RoadShieldType>  
                    <Label>94</Label>  
                  </Shield>  
                </RoadShieldRequestParameters>  
                <LocationCode>118-04195</LocationCode>  
                <LocationCode>118N04195</LocationCode>  
                <LocationCode>118-04194</LocationCode>  
                <LocationCode>118N04194</LocationCode>  
                <LocationCode>118-04193</LocationCode>  
                <LocationCode>118N04193</LocationCode>  
                <LocationCode>118-04192</LocationCode>  
                <LocationCode>118N04192</LocationCode>  
                <LocationCode>118-04191</LocationCode>  
                <LocationCode>118N04191</LocationCode>  
                <LocationCode>118-04190</LocationCode>  
                <LocationCode>118N04190</LocationCode>  
                <LocationCode>118-04189</LocationCode>  
                <LocationCode>118N04189</LocationCode>  
                <LocationCode>118-04188</LocationCode>  
                <LocationCode>118N04188</LocationCode>  
              </Detail>  
              <Sign>I-94 East</Sign>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>1.694</TravelDistance>  
              <TravelDuration>173</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.950942</Latitude>  
                <Longitude>-93.11435</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="RampThenHighwayRight">At exit 241B, take ramp right and follow signs for 5th St</Instruction>  
              <CompassDirection>southeast</CompassDirection>  
              <Warning warningType="ScheduledConstruction" severity="Minor" origin="44.945687,-93.101269" to="44.94743,-93.09085">Construction: between MN-5/7TH ST W and MN-3/ROBERT ST - Roadwork.</Warning>  
              <Detail>  
                <ManeuverType>TakeRampRight</ManeuverType>  
                <StartPathIndex>48</StartPathIndex>  
                <EndPathIndex>55</EndPathIndex>  
                <CompassDegrees>105</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Ramp</RoadType>  
                <LocationCode>118P15998</LocationCode>  
                <LocationCode>118+15999</LocationCode>  
              </Detail>  
              <Detail>  
                <ManeuverType>Merge</ManeuverType>  
                <StartPathIndex>55</StartPathIndex>  
                <EndPathIndex>60</EndPathIndex>  
                <Name>5th St W</Name>  
                <CompassDegrees>125</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118+15999</LocationCode>  
                <LocationCode>118P15999</LocationCode>  
                <LocationCode>118+16000</LocationCode>  
              </Detail>  
              <Sign>5th St</Sign>  
              <Exit>241B</Exit>  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0.191</TravelDistance>  
              <TravelDuration>25</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.945133</Latitude>  
                <Longitude>-93.095639</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="BearRight">Bear right onto St Peter St</Instruction>  
              <CompassDirection>southeast</CompassDirection>  
              <Detail>  
                <ManeuverType>BearRight</ManeuverType>  
                <StartPathIndex>60</StartPathIndex>  
                <EndPathIndex>63</EndPathIndex>  
                <Name>St Peter St</Name>  
                <CompassDegrees>135</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118-16685</LocationCode>  
                <LocationCode>118N16685</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0.075</TravelDistance>  
              <TravelDuration>27</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.943738</Latitude>  
                <Longitude>-93.09425</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="BearLeft">Bear left onto Kellogg Blvd W</Instruction>  
              <CompassDirection>east</CompassDirection>  
              <Detail>  
                <ManeuverType>BearLeft</ManeuverType>  
                <StartPathIndex>63</StartPathIndex>  
                <EndPathIndex>66</EndPathIndex>  
                <Name>Kellogg Blvd W</Name>  
                <CompassDegrees>87</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118+16420</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <ItineraryItem>  
              <TravelMode>Driving</TravelMode>  
              <TravelDistance>0</TravelDistance>  
              <TravelDuration>0</TravelDuration>  
              <ManeuverPoint>  
                <Latitude>44.943829</Latitude>  
                <Longitude>-93.093325</Longitude>  
              </ManeuverPoint>  
              <Instruction maneuverType="ArriveFinish">Arrive at St Paul, MN</Instruction>  
              <CompassDirection>east</CompassDirection>  
              <Hint>The last intersection is St Peter St</Hint>  
              <Hint>If you reach Wabasha St N, you've gone too far</Hint>  
              <Detail>  
                <ManeuverType>ArriveFinish</ManeuverType>  
                <StartPathIndex>66</StartPathIndex>  
                <EndPathIndex>66</EndPathIndex>  
                <Name>Kellogg Blvd W</Name>  
                <CompassDegrees>80</CompassDegrees>  
                <Mode>Driving</Mode>  
                <PreviousEntityId>0</PreviousEntityId>  
                <NextEntityId>0</NextEntityId>  
                <RoadType>Arterial</RoadType>  
                <LocationCode>118+16420</LocationCode>  
              </Detail>  
              <Exit />  
              <TollZone />  
              <TransitTerminus />  
              <TripId>0</TripId>  
              <IconType>Auto</IconType>  
              <Time>0001-01-01T00:00:00</Time>  
              <TransitStopId>0</TransitStopId>  
              <SideOfStreet>Unknown</SideOfStreet>  
            </ItineraryItem>  
            <RouteSubLeg>  
              <TravelDistance>15.217</TravelDistance>  
              <TravelDuration>1094</TravelDuration>  
              <StartWaypoint>  
                <Latitude>44.979031</Latitude>  
                <Longitude>-93.264931</Longitude>  
                <Description>Minneapolis, MN</Description>  
                <IsVia>false</IsVia>  
                <LocationIdentifier>2|117|69|176|34|33|179|141|9|0|0|224|1|0|0|0|0|0|44.979063,-93.264908</LocationIdentifier>  
                <RoutePathIndex>0</RoutePathIndex>  
              </StartWaypoint>  
              <EndWaypoint>  
                <Latitude>44.943821</Latitude>  
                <Longitude>-93.093323</Longitude>  
                <Description>St Paul, MN</Description>  
                <IsVia>false</IsVia>  
                <LocationIdentifier>2|117|69|176|34|97|122|156|9|0|0|224|1|212|25|1|63|0|44.943829,-93.093325</LocationIdentifier>  
                <RoutePathIndex>66</RoutePathIndex>  
              </EndWaypoint>  
            </RouteSubLeg>  
            <StartTime>0001-01-01T00:00:00</StartTime>  
            <EndTime>0001-01-01T00:00:00</EndTime>  
            <Description>S Washington Ave,I-94 E</Description>  
            <RouteRegion>NAv2</RouteRegion>  
          </RouteLeg>  
          <RoutePath>  
            <Line>  
              <Point>  
                <Latitude>44.979062</Latitude>  
                <Longitude>-93.264908</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.979668</Latitude>  
                <Longitude>-93.264377</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.979942</Latitude>  
                <Longitude>-93.264141</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.97969</Latitude>  
                <Longitude>-93.26355</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.977678</Latitude>  
                <Longitude>-93.258621</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.974341</Latitude>  
                <Longitude>-93.250869</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.97424</Latitude>  
                <Longitude>-93.25044</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.973912</Latitude>  
                <Longitude>-93.249667</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.973081</Latitude>  
                <Longitude>-93.247699</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.972807</Latitude>  
                <Longitude>-93.24728</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.972512</Latitude>  
                <Longitude>-93.24721</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.970222</Latitude>  
                <Longitude>-93.247269</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.970012</Latitude>  
                <Longitude>-93.246787</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.96549</Latitude>  
                <Longitude>-93.23616</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.965281</Latitude>  
                <Longitude>-93.235698</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.96402</Latitude>  
                <Longitude>-93.232668</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.964069</Latitude>  
                <Longitude>-93.231868</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.964138</Latitude>  
                <Longitude>-93.230688</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.964321</Latitude>  
                <Longitude>-93.229728</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.964841</Latitude>  
                <Longitude>-93.228521</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.964938</Latitude>  
                <Longitude>-93.228279</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.966611</Latitude>  
                <Longitude>-93.22468</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.966912</Latitude>  
                <Longitude>-93.22372</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.967067</Latitude>  
                <Longitude>-93.22277</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.9671</Latitude>  
                <Longitude>-93.221687</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.966788</Latitude>  
                <Longitude>-93.219729</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.966091</Latitude>  
                <Longitude>-93.218007</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.965378</Latitude>  
                <Longitude>-93.216971</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.962041</Latitude>  
                <Longitude>-93.21268</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.960651</Latitude>  
                <Longitude>-93.210518</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.960002</Latitude>  
                <Longitude>-93.209289</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.959707</Latitude>  
                <Longitude>-93.208227</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.959589</Latitude>  
                <Longitude>-93.207149</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.959718</Latitude>  
                <Longitude>-93.202407</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.959638</Latitude>  
                <Longitude>-93.20157</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.95945</Latitude>  
                <Longitude>-93.20076</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.959198</Latitude>  
                <Longitude>-93.200111</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.958087</Latitude>  
                <Longitude>-93.198169</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.957379</Latitude>  
                <Longitude>-93.196361</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.954289</Latitude>  
                <Longitude>-93.187381</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.95327</Latitude>  
                <Longitude>-93.1842</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.95217</Latitude>  
                <Longitude>-93.180638</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951881</Latitude>  
                <Longitude>-93.178997</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951591</Latitude>  
                <Longitude>-93.167238</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951682</Latitude>  
                <Longitude>-93.154079</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951612</Latitude>  
                <Longitude>-93.148178</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951661</Latitude>  
                <Longitude>-93.121747</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.951521</Latitude>  
                <Longitude>-93.119371</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.950942</Latitude>  
                <Longitude>-93.11435</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.950781</Latitude>  
                <Longitude>-93.11376</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.950631</Latitude>  
                <Longitude>-93.112451</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.950529</Latitude>  
                <Longitude>-93.109887</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.95032</Latitude>  
                <Longitude>-93.108782</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.949799</Latitude>  
                <Longitude>-93.10772</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.948979</Latitude>  
                <Longitude>-93.106437</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.94782</Latitude>  
                <Longitude>-93.104361</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.94746</Latitude>  
                <Longitude>-93.103857</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.945889</Latitude>  
                <Longitude>-93.101647</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.945508</Latitude>  
                <Longitude>-93.100708</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.945138</Latitude>  
                <Longitude>-93.097549</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.945132</Latitude>  
                <Longitude>-93.095639</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.944311</Latitude>  
                <Longitude>-93.094829</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.94407</Latitude>  
                <Longitude>-93.094587</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.943737</Latitude>  
                <Longitude>-93.094249</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.943759</Latitude>  
                <Longitude>-93.093842</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.943791</Latitude>  
                <Longitude>-93.093541</Longitude>  
              </Point>  
              <Point>  
                <Latitude>44.943828</Latitude>  
                <Longitude>-93.093324</Longitude>  
              </Point>  
            </Line>  
          </RoutePath>  
        </Route>  
      </Resources>  
    </ResourceSet>  
  </ResourceSets>  
</Response>  

See Also

Using the REST Services with .NET JSON Data Contracts