Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maplink-master/35d63027fe92226555dd to your computer and use it in GitHub Desktop.
Save maplink-master/35d63027fe92226555dd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<GetRouteTotalsBatchResponse xmlns="http://services.maplink.com.br">
<GetRouteTotalsBatchResult>
<getRouteTotalsBatchInfo>
<GetRouteTotalsBatchInfo>
<requestData>
<origin>
<description>São Paulo / SP</description>
<point>
<x>-46.638818</x>
<y>-23.548944</y>
</point>
</origin>
<destination>
<description>Rio de Janeiro / RJ</description>
<point>
<x>-43.209587</x>
<y>-22.903538</y>
</point>
</destination>
<options>
<language>portugues</language>
<routeDetails>
<descriptionType>0</descriptionType>
<optimizeRoute>false</optimizeRoute>
</routeDetails>
<vehicle>
<tankCapacity>20</tankCapacity>
<averageConsumption>9</averageConsumption>
<fuelPrice>3</fuelPrice>
<averageSpeed>60</averageSpeed>
<tollFeeCategoryId>2</tollFeeCategoryId>
</vehicle>
<excludedZoneGroupId>0</excludedZoneGroupId>
<controls />
<routeSchedule>
<schedule>0001-01-01T00:00:00</schedule>
</routeSchedule>
</options>
</requestData>
<routeTotals>
<totalDistance>439.94</totalDistance>
<totalTime>PT4H44M57S</totalTime>
<totalFuelUsed>48.88</totalFuelUsed>
<totaltollFeeCost>43.1</totaltollFeeCost>
<totalfuelCost>146.64</totalfuelCost>
<totalCost>189.74</totalCost>
<taxiFare1>1655.93</taxiFare1>
<taxiFare2>2150.86</taxiFare2>
</routeTotals>
<outputInformations />
</GetRouteTotalsBatchInfo>
<GetRouteTotalsBatchInfo>
<requestData>
<origin>
<description>Curitiba / PR</description>
<point>
<x>-49.273252</x>
<y>-25.428355</y>
</point>
</origin>
<destination>
<description>Porto Alegre / RS</description>
<point>
<x>-51.228734</x>
<y>-30.027704</y>
</point>
</destination>
<options>
<language>portugues</language>
<routeDetails>
<descriptionType>0</descriptionType>
<optimizeRoute>false</optimizeRoute>
</routeDetails>
<vehicle>
<tankCapacity>20</tankCapacity>
<averageConsumption>9</averageConsumption>
<fuelPrice>3</fuelPrice>
<averageSpeed>60</averageSpeed>
<tollFeeCategoryId>1</tollFeeCategoryId>
</vehicle>
<excludedZoneGroupId>0</excludedZoneGroupId>
<controls />
<routeSchedule>
<schedule>0001-01-01T00:00:00</schedule>
</routeSchedule>
</options>
</requestData>
<routeTotals>
<totalDistance>704.77</totalDistance>
<totalTime>PT9H26M35S</totalTime>
<totalFuelUsed>78.31</totalFuelUsed>
<totaltollFeeCost>52.6</totaltollFeeCost>
<totalfuelCost>234.93</totalfuelCost>
<totalCost>287.53</totalCost>
<taxiFare1>1837.6</taxiFare1>
<taxiFare2>2112.46</taxiFare2>
</routeTotals>
<outputInformations />
</GetRouteTotalsBatchInfo>
</getRouteTotalsBatchInfo>
</GetRouteTotalsBatchResult>
</GetRouteTotalsBatchResponse>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment