none
routeAttributes=RouteSummariesOnly option not working with REST RRS feed

  • Question

  • I am trying to calculate a route with passing the option ra=RouteSummariesOnly per the documentation but I am getting an "Internal Server Error" back. 

    Here is the URL for the query (changed the params for anonymity)

    http://dev.virtualearth.net/REST/V1/Routes?wp.0=address1&wp.1=address2&wp.2=address3&ra=routeSummariesOnly&key=myKey

    And the response:

    {
        "authenticationResultCode": "ValidCredentials",
        "brandLogoUri": "http://dev.virtualearth.net/Branding/logo_powered_by.png",
        "copyright": "Copyright © 2015 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.",
        "errorDetails": [
            "Your request could not be completed because there was a problem with the service."
        ],
        "resourceSets": [],
        "statusCode": 500,
        "statusDescription": "Internal Server Error",
        "traceId": "a5fc42e464374be085fdc7eac4f1697d|HK20271556|1.0.0.0|HK2SCH010280521, HK2SCH010280919, HK2SCH010281120, HK2SCH010280621, HK2SCH010281424, HK2SCH010280821"
    }



    Wednesday, June 17, 2015 5:21 AM

Answers

  • I believe the Route summaries are currently only supported for routes with 2 waypoints. When you have more than 2 waypoints use "excludeItinerary". It returns a bit more data but it is still fairly small.

    http://rbrundritt.wordpress.com

    Wednesday, June 17, 2015 5:53 PM

All replies

  • Actually I am getting this error only if waypoints > 2 , for 2 I am not getting an error. 
    Wednesday, June 17, 2015 5:28 AM
  • I believe the Route summaries are currently only supported for routes with 2 waypoints. When you have more than 2 waypoints use "excludeItinerary". It returns a bit more data but it is still fairly small.

    http://rbrundritt.wordpress.com

    Wednesday, June 17, 2015 5:53 PM