GET Vehicle/Routes/{id}

Common routes a vehicle takes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

VehicleID

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleRoute
NameDescriptionTypeAdditional information
RouteName

string

None.

RouteCount

integer

None.

StartLocationName

string

None.

StartLat

decimal number

None.

StartLon

decimal number

None.

EndLocationName

string

None.

EndLat

decimal number

None.

EndLon

decimal number

None.

RouteTotalSeconds

integer

None.

TotalJuice

string

None.

MaxSpeed

integer

None.

AvgSpeed

integer

None.

AvgRouteMiles

string

None.

TotalRouteMiles

string

None.

AvgRouteKM

string

None.

TotalRouteKM

string

None.

StartNormLat

integer

None.

StartNormLon

integer

None.

EndNormLat

integer

None.

EndNormLon

integer

None.

VehicleID

integer

None.

AvgJuice

string

None.

AvgRouteSeconds

integer

None.

RouteTotalTimePretty

string

None.

RouteAvgTimePretty

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RouteName": "sample string 1",
    "RouteCount": 2,
    "StartLocationName": "sample string 3",
    "StartLat": 4.1,
    "StartLon": 5.1,
    "EndLocationName": "sample string 6",
    "EndLat": 7.1,
    "EndLon": 8.1,
    "RouteTotalSeconds": 9,
    "TotalJuice": "sample string 10",
    "MaxSpeed": 11,
    "AvgSpeed": 12,
    "AvgRouteMiles": "sample string 13",
    "TotalRouteMiles": "sample string 14",
    "AvgRouteKM": "sample string 15",
    "TotalRouteKM": "sample string 16",
    "StartNormLat": 17,
    "StartNormLon": 18,
    "EndNormLat": 19,
    "EndNormLon": 20,
    "VehicleID": 21,
    "AvgJuice": "sample string 22",
    "AvgRouteSeconds": 23,
    "RouteTotalTimePretty": "sample string 24",
    "RouteAvgTimePretty": "sample string 25"
  },
  {
    "RouteName": "sample string 1",
    "RouteCount": 2,
    "StartLocationName": "sample string 3",
    "StartLat": 4.1,
    "StartLon": 5.1,
    "EndLocationName": "sample string 6",
    "EndLat": 7.1,
    "EndLon": 8.1,
    "RouteTotalSeconds": 9,
    "TotalJuice": "sample string 10",
    "MaxSpeed": 11,
    "AvgSpeed": 12,
    "AvgRouteMiles": "sample string 13",
    "TotalRouteMiles": "sample string 14",
    "AvgRouteKM": "sample string 15",
    "TotalRouteKM": "sample string 16",
    "StartNormLat": 17,
    "StartNormLon": 18,
    "EndNormLat": 19,
    "EndNormLon": 20,
    "VehicleID": 21,
    "AvgJuice": "sample string 22",
    "AvgRouteSeconds": 23,
    "RouteTotalTimePretty": "sample string 24",
    "RouteAvgTimePretty": "sample string 25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleRoute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <VehicleRoute>
    <AvgJuice>sample string 22</AvgJuice>
    <AvgRouteKM>sample string 15</AvgRouteKM>
    <AvgRouteMiles>sample string 13</AvgRouteMiles>
    <AvgRouteSeconds>23</AvgRouteSeconds>
    <AvgSpeed>12</AvgSpeed>
    <EndLat>7.1</EndLat>
    <EndLocationName>sample string 6</EndLocationName>
    <EndLon>8.1</EndLon>
    <EndNormLat>19</EndNormLat>
    <EndNormLon>20</EndNormLon>
    <MaxSpeed>11</MaxSpeed>
    <RouteAvgTimePretty>sample string 25</RouteAvgTimePretty>
    <RouteCount>2</RouteCount>
    <RouteName>sample string 1</RouteName>
    <RouteTotalSeconds>9</RouteTotalSeconds>
    <RouteTotalTimePretty>sample string 24</RouteTotalTimePretty>
    <StartLat>4.1</StartLat>
    <StartLocationName>sample string 3</StartLocationName>
    <StartLon>5.1</StartLon>
    <StartNormLat>17</StartNormLat>
    <StartNormLon>18</StartNormLon>
    <TotalJuice>sample string 10</TotalJuice>
    <TotalRouteKM>sample string 16</TotalRouteKM>
    <TotalRouteMiles>sample string 14</TotalRouteMiles>
    <VehicleID>21</VehicleID>
  </VehicleRoute>
  <VehicleRoute>
    <AvgJuice>sample string 22</AvgJuice>
    <AvgRouteKM>sample string 15</AvgRouteKM>
    <AvgRouteMiles>sample string 13</AvgRouteMiles>
    <AvgRouteSeconds>23</AvgRouteSeconds>
    <AvgSpeed>12</AvgSpeed>
    <EndLat>7.1</EndLat>
    <EndLocationName>sample string 6</EndLocationName>
    <EndLon>8.1</EndLon>
    <EndNormLat>19</EndNormLat>
    <EndNormLon>20</EndNormLon>
    <MaxSpeed>11</MaxSpeed>
    <RouteAvgTimePretty>sample string 25</RouteAvgTimePretty>
    <RouteCount>2</RouteCount>
    <RouteName>sample string 1</RouteName>
    <RouteTotalSeconds>9</RouteTotalSeconds>
    <RouteTotalTimePretty>sample string 24</RouteTotalTimePretty>
    <StartLat>4.1</StartLat>
    <StartLocationName>sample string 3</StartLocationName>
    <StartLon>5.1</StartLon>
    <StartNormLat>17</StartNormLat>
    <StartNormLon>18</StartNormLon>
    <TotalJuice>sample string 10</TotalJuice>
    <TotalRouteKM>sample string 16</TotalRouteKM>
    <TotalRouteMiles>sample string 14</TotalRouteMiles>
    <VehicleID>21</VehicleID>
  </VehicleRoute>
</ArrayOfVehicleRoute>