Limit the Routing API response

Hi, is there a way to limit the Routing -> Calculate Route API response to only the routes “summary” property and exclude the “legs” property? I do not need the “legs” and I am only interested in

{“summary”:
{“lengthInMeters”:12463,
“travelTimeInSeconds”:922,
“trafficDelayInSeconds”:0,
“departureTime”:“2020-04-05T14:23:01+02:00”,
“arrivalTime”:“2020-04-05T14:38:23+02:00”}
}

You can add this parameter

routeRepresentation=summaryOnly

that will shorten the response

1 Like

Perfect, thank you. :ok_hand: