Reference for https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/derivedRoute/routePath?dataset={DATASET}

Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/derivedRoute/routePath?dataset={DATASET}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<ReduceTripRequestBody xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <ExtendedOptions>
    <EstimatedTimeOptions>
      <ETAETD>Arrival</ETAETD>
      <DateOption>Current</DateOption>
      <DateAndTime>
        <CalendarDate>String content</CalendarDate>
        <DayOfWeek>Sunday</DayOfWeek>
        <TimeOfDay>String content</TimeOfDay>
        <TimeZone>Local</TimeZone>
      </DateAndTime>
    </EstimatedTimeOptions>
    <TruckStyle>None</TruckStyle>
    <UseTraffic>true</UseTraffic>
  </ExtendedOptions>
  <HighwayOnly>true</HighwayOnly>
  <OffRouteMiles>1.26743233E+15</OffRouteMiles>
  <Region>Unknown</Region>
  <!--Valid elements of type: CalculateMilesReportType, DetailReportType, DirectionsReportType, FuelReportType, GeoTunnelReportType, HoursOfServiceReportType, LeastCostReportType, MileageReportType, RoadReportType, StateReportType, TollDetailReportType, WeatherAlertsReportType-->
  <ReportType i:type="CalculateMilesReportType" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
  <RoutePings>
    <Coordinates>
      <Lat>String content</Lat>
      <Lon>String content</Lon>
    </Coordinates>
    <Coordinates>
      <Lat>String content</Lat>
      <Lon>String content</Lon>
    </Coordinates>
  </RoutePings>
  <RoutingOptions>
    <AFSetIDs>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    </AFSetIDs>
    <AFSetNames>
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
    </AFSetNames>
    <BordersOpen>true</BordersOpen>
    <ClassOverrides>None</ClassOverrides>
    <CustomRoadSpeeds>
      <RoadSpeedBase>
        <RoadCategory>InterStateRural</RoadCategory>
        <Speed>2147483647</Speed>
      </RoadSpeedBase>
      <RoadSpeedBase>
        <RoadCategory>InterStateRural</RoadCategory>
        <Speed>2147483647</Speed>
      </RoadSpeedBase>
    </CustomRoadSpeeds>
    <DistanceUnits>Miles</DistanceUnits>
    <ElevLimit>4294967295</ElevLimit>
    <FerryDiscourage>true</FerryDiscourage>
    <FuelRoute>true</FuelRoute>
    <GovernorSpeedLimit>2147483647</GovernorSpeedLimit>
    <HazMatType>None</HazMatType>
    <HighwayOnly>true</HighwayOnly>
    <HoSOptions>
      <Enabled>true</Enabled>
      <RemainingDriveTimeUntilBreak>1.26743233E+15</RemainingDriveTimeUntilBreak>
      <RemainingDriveTime>1.26743233E+15</RemainingDriveTime>
      <RemainingOnDutyTime>1.26743233E+15</RemainingOnDutyTime>
      <HoSRuleType>USFed607LH</HoSRuleType>
      <RemainingCycleDutyTime>1.26743233E+15</RemainingCycleDutyTime>
      <CycleTimeGains>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
      </CycleTimeGains>
      <LastCycleResetDateTime>String content</LastCycleResetDateTime>
      <Last24HourBreakDateTime>String content</Last24HourBreakDateTime>
      <RemainingCanadaOnDutyTime>1.26743233E+15</RemainingCanadaOnDutyTime>
      <RemainingDriveTimeUntilBreakDriver2>1.26743233E+15</RemainingDriveTimeUntilBreakDriver2>
      <RemainingDriveTimeDriver2>1.26743233E+15</RemainingDriveTimeDriver2>
      <RemainingOnDutyTimeDriver2>1.26743233E+15</RemainingOnDutyTimeDriver2>
      <RemainingCycleDutyTimeDriver2>1.26743233E+15</RemainingCycleDutyTimeDriver2>
      <CycleTimeGainsDriver2>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
        <double xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1.26743233E+15</double>
      </CycleTimeGainsDriver2>
      <LastCycleResetDateTimeDriver2>String content</LastCycleResetDateTimeDriver2>
      <Last24HourBreakDateTimeDriver2>String content</Last24HourBreakDateTimeDriver2>
      <RemainingCanadaOnDutyTimeDriver2>1.26743233E+15</RemainingCanadaOnDutyTimeDriver2>
      <UseCycleReset>true</UseCycleReset>
      <TerminalDayStartTime>String content</TerminalDayStartTime>
      <UseCustomPlaces>true</UseCustomPlaces>
      <TeamDriving>true</TeamDriving>
      <CustomBreakDurations>
        <ShortBreakDuration>1.26743233E+15</ShortBreakDuration>
        <EndOfDutyBreakDuration>1.26743233E+15</EndOfDutyBreakDuration>
        <CycleResetBreakDuration>1.26743233E+15</CycleResetBreakDuration>
        <DriverSwitchBreakDuration>1.26743233E+15</DriverSwitchBreakDuration>
      </CustomBreakDurations>
      <AlternateHoSRuleType>USFed607LH</AlternateHoSRuleType>
      <MaxAlternateRestStops>4294967295</MaxAlternateRestStops>
      <SkipRestStopInsertion>true</SkipRestStopInsertion>
      <ActiveDriver>2147483647</ActiveDriver>
    </HoSOptions>
    <HubRouting>true</HubRouting>
    <MaintainHeading>true</MaintainHeading>
    <OverrideRestrict>true</OverrideRestrict>
    <RouteOptimization>None</RouteOptimization>
    <RoutingType>Practical</RoutingType>
    <SideOfStreetAdherence>Off</SideOfStreetAdherence>
    <TollDiscourage>true</TollDiscourage>
    <TrailerCfg>
      <TypeOfTrailer>None</TypeOfTrailer>
      <Count>2147483647</Count>
      <MaxHeight>String content</MaxHeight>
      <MaxWeight>2147483647</MaxWeight>
      <MaxAxles>2147483647</MaxAxles>
      <Engine>
        <Hybrid>true</Hybrid>
        <EmissionType>EuroI</EmissionType>
        <MinPollutionVeh>true</MinPollutionVeh>
      </Engine>
    </TrailerCfg>
    <TruckCfg>
      <Axles>2147483647</Axles>
      <Height>String content</Height>
      <LCV>true</LCV>
      <Length>String content</Length>
      <Units>English</Units>
      <Weight>String content</Weight>
      <Width>String content</Width>
    </TruckCfg>
    <UseAvoidsAndFavors>true</UseAvoidsAndFavors>
    <UseSites>true</UseSites>
    <VehicleProfile>None</VehicleProfile>
    <VehicleType>Truck</VehicleType>
  </RoutingOptions>
</ReduceTripRequestBody>

The following is an example request Json body:

{
	"ExtendedOptions":{
		"EstimatedTimeOptions":{
			"ETAETD":0,
			"DateOption":0,
			"DateAndTime":{
				"CalendarDate":"String content",
				"DayOfWeek":0,
				"TimeOfDay":"String content",
				"TimeZone":0
			}
		},
		"TruckStyle":0,
		"UseTraffic":true
	},
	"HighwayOnly":true,
	"OffRouteMiles":1.26743233E+15,
	"Region":0,
	"ReportType":{
		
	},
	"RoutePings":[{
		"Lat":"String content",
		"Lon":"String content"
	}],
	"RoutingOptions":{
		"AFSetIDs":[2147483647],
		"AFSetNames":["String content"],
		"BordersOpen":true,
		"ClassOverrides":0,
		"CustomRoadSpeeds":[{
			"RoadCategory":0,
			"Speed":2147483647
		}],
		"DistanceUnits":0,
		"ElevLimit":4294967295,
		"FerryDiscourage":true,
		"FuelRoute":true,
		"GovernorSpeedLimit":2147483647,
		"HazMatType":0,
		"HighwayOnly":true,
		"HoSOptions":{
			"Enabled":true,
			"RemainingDriveTimeUntilBreak":1.26743233E+15,
			"RemainingDriveTime":1.26743233E+15,
			"RemainingOnDutyTime":1.26743233E+15,
			"HoSRuleType":0,
			"RemainingCycleDutyTime":1.26743233E+15,
			"CycleTimeGains":[1.26743233E+15],
			"LastCycleResetDateTime":"String content",
			"Last24HourBreakDateTime":"String content",
			"RemainingCanadaOnDutyTime":1.26743233E+15,
			"RemainingDriveTimeUntilBreakDriver2":1.26743233E+15,
			"RemainingDriveTimeDriver2":1.26743233E+15,
			"RemainingOnDutyTimeDriver2":1.26743233E+15,
			"RemainingCycleDutyTimeDriver2":1.26743233E+15,
			"CycleTimeGainsDriver2":[1.26743233E+15],
			"LastCycleResetDateTimeDriver2":"String content",
			"Last24HourBreakDateTimeDriver2":"String content",
			"RemainingCanadaOnDutyTimeDriver2":1.26743233E+15,
			"UseCycleReset":true,
			"TerminalDayStartTime":"String content",
			"UseCustomPlaces":true,
			"TeamDriving":true,
			"CustomBreakDurations":{
				"ShortBreakDuration":1.26743233E+15,
				"EndOfDutyBreakDuration":1.26743233E+15,
				"CycleResetBreakDuration":1.26743233E+15,
				"DriverSwitchBreakDuration":1.26743233E+15
			},
			"AlternateHoSRuleType":0,
			"MaxAlternateRestStops":4294967295,
			"SkipRestStopInsertion":true,
			"ActiveDriver":2147483647
		},
		"HubRouting":true,
		"MaintainHeading":true,
		"OverrideRestrict":true,
		"RouteOptimization":0,
		"RoutingType":0,
		"SideOfStreetAdherence":0,
		"TollDiscourage":true,
		"TrailerCfg":{
			"TypeOfTrailer":0,
			"Count":2147483647,
			"MaxHeight":"String content",
			"MaxWeight":2147483647,
			"MaxAxles":2147483647,
			"Engine":{
				"Hybrid":true,
				"EmissionType":0,
				"MinPollutionVeh":true
			}
		},
		"TruckCfg":{
			"Axles":2147483647,
			"Height":"String content",
			"LCV":true,
			"Length":"String content",
			"Units":0,
			"Weight":"String content",
			"Width":"String content"
		},
		"UseAvoidsAndFavors":true,
		"UseSites":true,
		"VehicleProfile":0,
		"VehicleType":0
	}
}

The following is an example response Xml body:

<RouteResponse xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <type>String content</type>
  <geometry>
    <type>String content</type>
    <coordinates>
      <ArrayOfArrayOfdouble xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <ArrayOfdouble>
          <double>1.26743233E+15</double>
          <double>1.26743233E+15</double>
        </ArrayOfdouble>
        <ArrayOfdouble>
          <double>1.26743233E+15</double>
          <double>1.26743233E+15</double>
        </ArrayOfdouble>
      </ArrayOfArrayOfdouble>
      <ArrayOfArrayOfdouble xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <ArrayOfdouble>
          <double>1.26743233E+15</double>
          <double>1.26743233E+15</double>
        </ArrayOfdouble>
        <ArrayOfdouble>
          <double>1.26743233E+15</double>
          <double>1.26743233E+15</double>
        </ArrayOfdouble>
      </ArrayOfArrayOfdouble>
    </coordinates>
  </geometry>
  <TMinutes>2147483647</TMinutes>
  <TDistance>1.26743233E+15</TDistance>
  <properties>
    <plids>
      <ArrayOfint xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <int>2147483647</int>
        <int>2147483647</int>
      </ArrayOfint>
      <ArrayOfint xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <int>2147483647</int>
        <int>2147483647</int>
      </ArrayOfint>
    </plids>
  </properties>
</RouteResponse>

The following is an example response Json body:

{
	"type":"String content",
	"geometry":{
		"type":"String content",
		"coordinates":[[[1.26743233E+15]]]
	},
	"TMinutes":2147483647,
	"TDistance":1.26743233E+15,
	"properties":{
		"plids":[[2147483647]]
	}
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://pcmiler.alk.com/APIs/v1.0" elementFormDefault="qualified" targetNamespace="http://pcmiler.alk.com/APIs/v1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ReduceTripRequestBody">
    <xs:sequence>
      <xs:element minOccurs="0" name="ExtendedOptions" nillable="true" type="tns:SharedOptions" />
      <xs:element minOccurs="0" name="HighwayOnly" type="xs:boolean" />
      <xs:element minOccurs="0" name="OffRouteMiles" type="xs:double" />
      <xs:element minOccurs="0" name="Region" type="tns:DataRegion" />
      <xs:element minOccurs="0" name="ReportType" nillable="true" type="tns:ReportType" />
      <xs:element minOccurs="0" name="RoutePings" nillable="true" type="tns:ArrayOfCoordinates" />
      <xs:element minOccurs="0" name="RoutingOptions" nillable="true" type="tns:RouteOptions" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReduceTripRequestBody" nillable="true" type="tns:ReduceTripRequestBody" />
  <xs:complexType name="SharedOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="EstimatedTimeOptions" nillable="true" type="tns:EstimatedTimeOptions" />
      <xs:element minOccurs="0" name="TruckStyle" type="tns:TruckStyle" />
      <xs:element minOccurs="0" name="UseTraffic" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SharedOptions" nillable="true" type="tns:SharedOptions" />
  <xs:complexType name="EstimatedTimeOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="ETAETD" type="tns:ETAETDType" />
      <xs:element minOccurs="0" name="DateOption" type="tns:DateOption" />
      <xs:element minOccurs="0" name="DateAndTime" nillable="true" type="tns:DateTimeType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EstimatedTimeOptions" nillable="true" type="tns:EstimatedTimeOptions" />
  <xs:simpleType name="ETAETDType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Arrival" />
      <xs:enumeration value="Depart" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ETAETDType" nillable="true" type="tns:ETAETDType" />
  <xs:simpleType name="DateOption">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Current" />
      <xs:enumeration value="Specific" />
      <xs:enumeration value="DayOfWeek" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DateOption" nillable="true" type="tns:DateOption" />
  <xs:complexType name="DateTimeType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CalendarDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DayOfWeek" xmlns:q1="http://schemas.datacontract.org/2004/07/System" type="q1:DayOfWeek" />
      <xs:element minOccurs="0" name="TimeOfDay" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TimeZone" type="tns:TimeZone" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DateTimeType" nillable="true" type="tns:DateTimeType" />
  <xs:simpleType name="TimeZone">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Local" />
      <xs:enumeration value="System" />
      <xs:enumeration value="Hawaii" />
      <xs:enumeration value="Alaska" />
      <xs:enumeration value="Pacific" />
      <xs:enumeration value="Arizona" />
      <xs:enumeration value="Mountain" />
      <xs:enumeration value="Central" />
      <xs:enumeration value="Eastern" />
      <xs:enumeration value="Atlantic" />
      <xs:enumeration value="Newfoundland" />
      <xs:enumeration value="GMT" />
      <xs:enumeration value="UTC" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeZone" nillable="true" type="tns:TimeZone" />
  <xs:simpleType name="TruckStyle">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="TwentyEightDoubleTrailer" />
      <xs:enumeration value="FortyStraightTruck" />
      <xs:enumeration value="FortyEightSemiTrailer" />
      <xs:enumeration value="FiftyThreeSemiTrailer" />
      <xs:enumeration value="FullSizeVan" />
      <xs:enumeration value="TwentySixStraightTruck" />
      <xs:enumeration value="ConventionalSchoolBus" />
      <xs:enumeration value="SmallSchoolBus" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TruckStyle" nillable="true" type="tns:TruckStyle" />
  <xs:simpleType name="DataRegion">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="AF" />
      <xs:enumeration value="AS" />
      <xs:enumeration value="EU" />
      <xs:enumeration value="NA" />
      <xs:enumeration value="OC" />
      <xs:enumeration value="SA" />
      <xs:enumeration value="ME" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DataRegion" nillable="true" type="tns:DataRegion" />
  <xs:complexType name="ReportType">
    <xs:sequence />
  </xs:complexType>
  <xs:element name="ReportType" nillable="true" type="tns:ReportType" />
  <xs:complexType name="MileageReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element minOccurs="0" name="THoursWithSeconds" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MileageReportType" nillable="true" type="tns:MileageReportType" />
  <xs:complexType name="DetailReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element minOccurs="0" name="SeparateHeadingFromRoute" type="xs:boolean" />
          <xs:element minOccurs="0" name="SegmentEndpoints" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DetailReportType" nillable="true" type="tns:DetailReportType" />
  <xs:complexType name="CalculateMilesReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CalculateMilesReportType" nillable="true" type="tns:CalculateMilesReportType" />
  <xs:complexType name="DirectionsReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element minOccurs="0" name="CondenseDirections" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DirectionsReportType" nillable="true" type="tns:DirectionsReportType" />
  <xs:complexType name="FuelReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="FuelReportType" nillable="true" type="tns:FuelReportType" />
  <xs:complexType name="GeoTunnelReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element name="CiteInterval" type="xs:double" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GeoTunnelReportType" nillable="true" type="tns:GeoTunnelReportType" />
  <xs:complexType name="LeastCostReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LeastCostReportType" nillable="true" type="tns:LeastCostReportType" />
  <xs:complexType name="RoadReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RoadReportType" nillable="true" type="tns:RoadReportType" />
  <xs:complexType name="StateReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element minOccurs="0" name="SortByRoute" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="StateReportType" nillable="true" type="tns:StateReportType" />
  <xs:complexType name="WeatherAlertsReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence>
          <xs:element minOccurs="0" name="Urgency" nillable="true" type="tns:WeatherAlertUrgency" />
          <xs:element minOccurs="0" name="Severity" nillable="true" type="tns:WeatherAlertSeverity" />
          <xs:element minOccurs="0" name="Certainty" nillable="true" type="tns:WeatherAlertCertainty" />
          <xs:element minOccurs="0" name="EventNames" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="WeatherAlertsReportType" nillable="true" type="tns:WeatherAlertsReportType" />
  <xs:simpleType name="WeatherAlertUrgency">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Immediate" />
      <xs:enumeration value="Expected" />
      <xs:enumeration value="Future" />
      <xs:enumeration value="Past" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="WeatherAlertUrgency" nillable="true" type="tns:WeatherAlertUrgency" />
  <xs:simpleType name="WeatherAlertSeverity">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Extreme" />
      <xs:enumeration value="Severe" />
      <xs:enumeration value="Moderate" />
      <xs:enumeration value="Minor" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="WeatherAlertSeverity" nillable="true" type="tns:WeatherAlertSeverity" />
  <xs:simpleType name="WeatherAlertCertainty">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Observed" />
      <xs:enumeration value="Likely" />
      <xs:enumeration value="Possible" />
      <xs:enumeration value="Unlikely" />
      <xs:enumeration value="Unknown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="WeatherAlertCertainty" nillable="true" type="tns:WeatherAlertCertainty" />
  <xs:complexType name="TollDetailReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="TollDetailReportType" nillable="true" type="tns:TollDetailReportType" />
  <xs:complexType name="HoursOfServiceReportType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReportType">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="HoursOfServiceReportType" nillable="true" type="tns:HoursOfServiceReportType" />
  <xs:complexType name="ArrayOfCoordinates">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Coordinates" nillable="true" type="tns:Coordinates" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCoordinates" nillable="true" type="tns:ArrayOfCoordinates" />
  <xs:complexType name="Coordinates">
    <xs:sequence>
      <xs:element minOccurs="0" name="Lat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Lon" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Coordinates" nillable="true" type="tns:Coordinates" />
  <xs:complexType name="RouteOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="AFSetIDs" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfint" />
      <xs:element minOccurs="0" name="AFSetNames" nillable="true" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q4:ArrayOfstring" />
      <xs:element minOccurs="0" name="BordersOpen" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="ClassOverrides" type="tns:ClassOverrideType" />
      <xs:element minOccurs="0" name="CustomRoadSpeeds" nillable="true" type="tns:ArrayOfRoadSpeedBase" />
      <xs:element minOccurs="0" name="DistanceUnits" type="tns:DistanceUnits" />
      <xs:element minOccurs="0" name="ElevLimit" nillable="true" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="FerryDiscourage" type="xs:boolean" />
      <xs:element minOccurs="0" name="FuelRoute" type="xs:boolean" />
      <xs:element minOccurs="0" name="GovernorSpeedLimit" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="HazMatType" type="tns:HazMatType" />
      <xs:element minOccurs="0" name="HighwayOnly" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="HoSOptions" nillable="true" type="tns:HoursOfServiceOptions" />
      <xs:element minOccurs="0" name="HubRouting" type="xs:boolean" />
      <xs:element minOccurs="0" name="MaintainHeading" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="OverrideRestrict" type="xs:boolean" />
      <xs:element minOccurs="0" name="RouteOptimization" type="tns:RouteOptimizeType" />
      <xs:element minOccurs="0" name="RoutingType" type="tns:RoutingType" />
      <xs:element minOccurs="0" name="SideOfStreetAdherence" type="tns:SideOfStreetAdherenceLevel" />
      <xs:element minOccurs="0" name="TollDiscourage" type="xs:boolean" />
      <xs:element minOccurs="0" name="TrailerCfg" nillable="true" type="tns:TrailerConfig" />
      <xs:element minOccurs="0" name="TruckCfg" nillable="true" type="tns:TruckConfig" />
      <xs:element minOccurs="0" name="UseAvoidsAndFavors" type="xs:boolean" />
      <xs:element minOccurs="0" name="UseSites" type="xs:boolean" />
      <xs:element minOccurs="0" name="VehicleProfile" nillable="true" type="tns:TruckStyle" />
      <xs:element minOccurs="0" name="VehicleType" type="tns:VehicleType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteOptions" nillable="true" type="tns:RouteOptions" />
  <xs:simpleType name="ClassOverrideType">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="None">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="FiftyThreeFoot">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="NationalNetwork">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="ClassOverrideType" nillable="true" type="tns:ClassOverrideType" />
  <xs:complexType name="ArrayOfRoadSpeedBase">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RoadSpeedBase" nillable="true" type="tns:RoadSpeedBase" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoadSpeedBase" nillable="true" type="tns:ArrayOfRoadSpeedBase" />
  <xs:complexType name="RoadSpeedBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="RoadCategory" type="tns:RoadType" />
      <xs:element minOccurs="0" name="Speed" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RoadSpeedBase" nillable="true" type="tns:RoadSpeedBase" />
  <xs:simpleType name="RoadType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="InterStateRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DividedRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PrimaryRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FerriesRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SecondaryRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RampRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LocalRural">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="InterStateUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DividedUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PrimaryUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="FerriesUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SecondaryUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RampUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="LocalUrban">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">17</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RoadType" nillable="true" type="tns:RoadType" />
  <xs:simpleType name="DistanceUnits">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Miles" />
      <xs:enumeration value="Kilometers" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DistanceUnits" nillable="true" type="tns:DistanceUnits" />
  <xs:simpleType name="HazMatType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="General" />
      <xs:enumeration value="Caustic" />
      <xs:enumeration value="Explosives" />
      <xs:enumeration value="Flammable" />
      <xs:enumeration value="Inhalants" />
      <xs:enumeration value="Radioactive" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="HazMatType" nillable="true" type="tns:HazMatType" />
  <xs:complexType name="HoursOfServiceOptions">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:HoursOfServiceRemaining">
        <xs:sequence>
          <xs:element minOccurs="0" name="UseCycleReset" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="TerminalDayStartTime" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UseCustomPlaces" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="TeamDriving" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="CustomBreakDurations" nillable="true" type="tns:HoursOfServiceBreakDurations" />
          <xs:element minOccurs="0" name="AlternateHoSRuleType" nillable="true" type="tns:HoSScheduleType" />
          <xs:element minOccurs="0" name="MaxAlternateRestStops" nillable="true" type="xs:unsignedInt" />
          <xs:element minOccurs="0" name="SkipRestStopInsertion" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="ActiveDriver" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="HoursOfServiceOptions" nillable="true" type="tns:HoursOfServiceOptions" />
  <xs:complexType name="HoursOfServiceRemaining">
    <xs:sequence>
      <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="RemainingDriveTimeUntilBreak" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingDriveTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingOnDutyTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="HoSRuleType" nillable="true" type="tns:HoSScheduleType" />
      <xs:element minOccurs="0" name="RemainingCycleDutyTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="CycleTimeGains" nillable="true" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q5:ArrayOfdouble" />
      <xs:element minOccurs="0" name="LastCycleResetDateTime" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Last24HourBreakDateTime" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RemainingCanadaOnDutyTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingDriveTimeUntilBreakDriver2" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingDriveTimeDriver2" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingOnDutyTimeDriver2" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingCycleDutyTimeDriver2" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="CycleTimeGainsDriver2" nillable="true" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q6:ArrayOfdouble" />
      <xs:element minOccurs="0" name="LastCycleResetDateTimeDriver2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Last24HourBreakDateTimeDriver2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RemainingCanadaOnDutyTimeDriver2" nillable="true" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HoursOfServiceRemaining" nillable="true" type="tns:HoursOfServiceRemaining" />
  <xs:simpleType name="HoSScheduleType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="USFed607LH" />
      <xs:enumeration value="USFed708LH" />
      <xs:enumeration value="CanadaCycle1" />
      <xs:enumeration value="CanadaCycle2" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="HoSScheduleType" nillable="true" type="tns:HoSScheduleType" />
  <xs:complexType name="HoursOfServiceBreakDurations">
    <xs:sequence>
      <xs:element minOccurs="0" name="ShortBreakDuration" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="EndOfDutyBreakDuration" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="CycleResetBreakDuration" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="DriverSwitchBreakDuration" nillable="true" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HoursOfServiceBreakDurations" nillable="true" type="tns:HoursOfServiceBreakDurations" />
  <xs:simpleType name="RouteOptimizeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="ThruAll" />
      <xs:enumeration value="DestinationFixed" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RouteOptimizeType" nillable="true" type="tns:RouteOptimizeType" />
  <xs:simpleType name="RoutingType">
    <xs:annotation>
      <xs:appinfo>
        <ActualType Name="short" Namespace="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
      </xs:appinfo>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Practical" />
      <xs:enumeration value="Shortest" />
      <xs:enumeration value="Fastest" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RoutingType" nillable="true" type="tns:RoutingType" />
  <xs:simpleType name="SideOfStreetAdherenceLevel">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Off" />
      <xs:enumeration value="Minimal" />
      <xs:enumeration value="Moderate" />
      <xs:enumeration value="Average" />
      <xs:enumeration value="Strict" />
      <xs:enumeration value="Adhere" />
      <xs:enumeration value="StronglyAdhere" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SideOfStreetAdherenceLevel" nillable="true" type="tns:SideOfStreetAdherenceLevel" />
  <xs:complexType name="TrailerConfig">
    <xs:sequence>
      <xs:element minOccurs="0" name="TypeOfTrailer" nillable="true" type="tns:TrailerType" />
      <xs:element minOccurs="0" name="Count" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxHeight" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MaxWeight" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxAxles" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Engine" nillable="true" type="tns:EngineConfig" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TrailerConfig" nillable="true" type="tns:TrailerConfig" />
  <xs:simpleType name="TrailerType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Trailer">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Caravan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TrailerType" nillable="true" type="tns:TrailerType" />
  <xs:complexType name="EngineConfig">
    <xs:sequence>
      <xs:element minOccurs="0" name="Hybrid" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="EmissionType" nillable="true" type="tns:EngineEmissionType" />
      <xs:element minOccurs="0" name="MinPollutionVeh" nillable="true" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EngineConfig" nillable="true" type="tns:EngineConfig" />
  <xs:simpleType name="EngineEmissionType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="EuroI">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EuroII">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EuroIII">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EuroIV">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EuroV">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EuroVI">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="EngineEmissionType" nillable="true" type="tns:EngineEmissionType" />
  <xs:complexType name="TruckConfig">
    <xs:sequence>
      <xs:element minOccurs="0" name="Axles" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Height" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LCV" type="xs:boolean" />
      <xs:element minOccurs="0" name="Length" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Units" type="tns:VehicleDimUnits" />
      <xs:element minOccurs="0" name="Weight" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Width" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TruckConfig" nillable="true" type="tns:TruckConfig" />
  <xs:simpleType name="VehicleDimUnits">
    <xs:restriction base="xs:string">
      <xs:enumeration value="English" />
      <xs:enumeration value="Metric" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="VehicleDimUnits" nillable="true" type="tns:VehicleDimUnits" />
  <xs:simpleType name="VehicleType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Truck" />
      <xs:enumeration value="LightTruck" />
      <xs:enumeration value="Auto" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="VehicleType" nillable="true" type="tns:VehicleType" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="DayOfWeek">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Sunday" />
      <xs:enumeration value="Monday" />
      <xs:enumeration value="Tuesday" />
      <xs:enumeration value="Wednesday" />
      <xs:enumeration value="Thursday" />
      <xs:enumeration value="Friday" />
      <xs:enumeration value="Saturday" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DayOfWeek" nillable="true" type="tns:DayOfWeek" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
  <xs:complexType name="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
  <xs:complexType name="ArrayOfdouble">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="double" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://pcmiler.alk.com/APIs/v1.0" elementFormDefault="qualified" targetNamespace="http://pcmiler.alk.com/APIs/v1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="RouteResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="geometry" nillable="true" type="tns:GeoJsonGeometry" />
      <xs:element minOccurs="0" name="TMinutes" type="xs:int" />
      <xs:element minOccurs="0" name="TDistance" type="xs:double" />
      <xs:element minOccurs="0" name="properties" nillable="true" type="tns:RouteResponseProperties" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteResponse" nillable="true" type="tns:RouteResponse" />
  <xs:complexType name="GeoJsonGeometry">
    <xs:sequence>
      <xs:element minOccurs="0" name="type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="coordinates" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfArrayOfArrayOfdouble" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GeoJsonGeometry" nillable="true" type="tns:GeoJsonGeometry" />
  <xs:complexType name="RouteResponseProperties">
    <xs:sequence>
      <xs:element minOccurs="0" name="plids" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfArrayOfint" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteResponseProperties" nillable="true" type="tns:RouteResponseProperties" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfArrayOfArrayOfdouble">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfArrayOfdouble" nillable="true" type="tns:ArrayOfArrayOfdouble" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfArrayOfdouble" nillable="true" type="tns:ArrayOfArrayOfArrayOfdouble" />
  <xs:complexType name="ArrayOfArrayOfdouble">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfdouble" nillable="true" type="tns:ArrayOfArrayOfdouble" />
  <xs:complexType name="ArrayOfdouble">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="double" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
  <xs:complexType name="ArrayOfArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfint" nillable="true" type="tns:ArrayOfArrayOfint" />
  <xs:complexType name="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>