Reference for https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/route/optimize?region={REGION}&dataset={DATASET}

Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/route/optimize?region={REGION}&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:

<TimeWindowSequence xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <Debug>
    <DiagnosticsType xmlns="http://schemas.datacontract.org/2004/07/System">TripFileLog</DiagnosticsType>
    <DiagnosticsType xmlns="http://schemas.datacontract.org/2004/07/System">TripFileLog</DiagnosticsType>
  </Debug>
  <Settings>
    <Method>Optimize</Method>
    <TimeFormat>Hour24</TimeFormat>
    <MaxClusterCount>2147483647</MaxClusterCount>
    <MinClusterCount>2147483647</MinClusterCount>
    <MaxAirTravelTimeForCluster>2147483647</MaxAirTravelTimeForCluster>
    <MinAirTravelTimeForCluster>2147483647</MinAirTravelTimeForCluster>
    <MaxAirTravelDistanceForCluster>1.26743233E+15</MaxAirTravelDistanceForCluster>
    <MaxAirTravelDistanceFromDepot>1.26743233E+15</MaxAirTravelDistanceFromDepot>
    <MaxGridsForMatrixCalculation>2147483647</MaxGridsForMatrixCalculation>
    <GeocodingDistanceThreshold>1.26743233E+15</GeocodingDistanceThreshold>
    <GeocodingConfidenceThreshold>Exact</GeocodingConfidenceThreshold>
    <MaxWaitTime>2147483647</MaxWaitTime>
    <MaxBreakWaitTime>2147483647</MaxBreakWaitTime>
    <MaxServiceTimeToClusterStops>2147483647</MaxServiceTimeToClusterStops>
    <MaxServiceTimeToClusterLevel0Stops>2147483647</MaxServiceTimeToClusterLevel0Stops>
    <MaxServiceTimeToClusterLevel1Stops>2147483647</MaxServiceTimeToClusterLevel1Stops>
    <MaxTravelTimeToBreakCluster>2147483647</MaxTravelTimeToBreakCluster>
    <AvgTravelTimeToBreakCluster>2147483647</AvgTravelTimeToBreakCluster>
    <AvgTravelTimeRatioToBreakCluster>2147483647</AvgTravelTimeRatioToBreakCluster>
    <MaxTimeBeforeLateInBlockTime>2147483647</MaxTimeBeforeLateInBlockTime>
    <UTurnCost>2147483647</UTurnCost>
    <PrioritizePremiumStops>true</PrioritizePremiumStops>
    <GeocodingUseLocationPlusAddress>true</GeocodingUseLocationPlusAddress>
    <AllowGeocodeMultiMatch>true</AllowGeocodeMultiMatch>
    <RemoveStopIfTimeWindowBeforeStartTime>true</RemoveStopIfTimeWindowBeforeStartTime>
    <UniqueClusterStrictness>Off</UniqueClusterStrictness>
    <HistoricSpeedFixedDayOfWeek>Current</HistoricSpeedFixedDayOfWeek>
    <UseSideOfStreet>true</UseSideOfStreet>
    <UseTraffic>true</UseTraffic>
    <RoutePathOptions>
      <Generate>true</Generate>
      <ReduceResponsePoints>true</ReduceResponsePoints>
      <StopsAsViaPoints>true</StopsAsViaPoints>
    </RoutePathOptions>
    <FPCCode>NTBasic</FPCCode>
    <FinalStopIsEndDepot>true</FinalStopIsEndDepot>
    <ApplyStopLocalTimeZones>true</ApplyStopLocalTimeZones>
  </Settings>
  <Route>
    <Name>String content</Name>
    <Options>
      <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>
      <FuelConsumption>1.26743233E+15</FuelConsumption>
      <FuelRoute>true</FuelRoute>
      <FuelType>Petrol</FuelType>
      <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>
        <AlternateHoSRuleType>USFed607LH</AlternateHoSRuleType>
        <RemainingTimeUntilFullDayBreak>1.26743233E+15</RemainingTimeUntilFullDayBreak>
        <RemainingTimeUntilFullDayBreakDriver2>1.26743233E+15</RemainingTimeUntilFullDayBreakDriver2>
        <RemainingDrivingTimeInWeek>1.26743233E+15</RemainingDrivingTimeInWeek>
        <RemainingOnDutyTimeInDay>1.26743233E+15</RemainingOnDutyTimeInDay>
        <RemainingConsecutiveDrivingTime>1.26743233E+15</RemainingConsecutiveDrivingTime>
        <RemainingFortnightlyTime>1.26743233E+15</RemainingFortnightlyTime>
        <CurrentOffDutyTime>1.26743233E+15</CurrentOffDutyTime>
        <CurrentOffDutyTimeDriver2>1.26743233E+15</CurrentOffDutyTimeDriver2>
        <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>
          <BorderCrossingWaitDuration>1.26743233E+15</BorderCrossingWaitDuration>
        </CustomBreakDurations>
        <Deprecated>USFed607LH</Deprecated>
        <MaxAlternateRestStops>4294967295</MaxAlternateRestStops>
        <SkipRestStopInsertion>true</SkipRestStopInsertion>
        <ActiveDriver>2147483647</ActiveDriver>
        <MaxDrivingTimeInDay>1.26743233E+15</MaxDrivingTimeInDay>
        <MaxOnDutyTimeInDay>1.26743233E+15</MaxOnDutyTimeInDay>
        <MaxOnDutyTimeInWeek>1.26743233E+15</MaxOnDutyTimeInWeek>
        <AdverseConditionException>true</AdverseConditionException>
        <POIStopsReturned>true</POIStopsReturned>
        <HOSWindowStart>4294967295</HOSWindowStart>
        <HOSWindowEnd>4294967295</HOSWindowEnd>
      </HoSOptions>
      <HubRouting>true</HubRouting>
      <MaintainHeading>true</MaintainHeading>
      <OverrideRestrict>true</OverrideRestrict>
      <Refrigerated>true</Refrigerated>
      <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>Euro0</EmissionType>
          <MinPollutionVeh>true</MinPollutionVeh>
        </Engine>
      </TrailerCfg>
      <TruckCfg>
        <Axles>2147483647</Axles>
        <Height>String content</Height>
        <LCV>true</LCV>
        <Length>String content</Length>
        <MaxWeightPerAxleGroup>1.26743233E+15</MaxWeightPerAxleGroup>
        <TireCount>2147483647</TireCount>
        <Units>English</Units>
        <Weight>String content</Weight>
        <Width>String content</Width>
      </TruckCfg>
      <TunnelCategory>None</TunnelCategory>
      <UseAvoidsAndFavors>true</UseAvoidsAndFavors>
      <UseSites>true</UseSites>
      <VehicleProfile>None</VehicleProfile>
      <VehicleType>Truck</VehicleType>
      <TrafficLookaheadDistance>4294967295</TrafficLookaheadDistance>
      <AvoidCountry>
        <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>
      </AvoidCountry>
      <AvoidState>
        <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>
      </AvoidState>
      <FavorCountry>
        <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>
      </FavorCountry>
      <FavorState>
        <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>
      </FavorState>
      <IncludeTrimblePlaceIDs>true</IncludeTrimblePlaceIDs>
      <TollRoads>AlwaysAvoid</TollRoads>
      <HazMatTypes>
        <HazMatType>None</HazMatType>
        <HazMatType>None</HazMatType>
      </HazMatTypes>
      <TunnelCategories>
        <TunnelCategory>None</TunnelCategory>
        <TunnelCategory>None</TunnelCategory>
      </TunnelCategories>
      <useCrossStreetTurnAvoidance>true</useCrossStreetTurnAvoidance>
      <RestrictionZones>
        <CongestionZone>Allow</CongestionZone>
        <LowEmissionZone>Allow</LowEmissionZone>
        <UltraLowEmissionZone>Allow</UltraLowEmissionZone>
      </RestrictionZones>
    </Options>
    <Stops>
      <TimeWindowStop>
        <Location>
          <Address>
            <StreetAddress>String content</StreetAddress>
            <City>String content</City>
            <State>String content</State>
            <Zip>String content</Zip>
            <County>String content</County>
            <Country>String content</Country>
            <SPLC>String content</SPLC>
            <CountryPostalFilter>US</CountryPostalFilter>
            <AbbreviationFormat>FIPS</AbbreviationFormat>
            <StateName>String content</StateName>
            <StateAbbreviation>String content</StateAbbreviation>
            <CountryAbbreviation>String content</CountryAbbreviation>
          </Address>
          <Coords>
            <Lat>String content</Lat>
            <Lon>String content</Lon>
          </Coords>
          <Region>Unknown</Region>
          <Label>String content</Label>
          <PlaceName>String content</PlaceName>
          <PlaceId>String content</PlaceId>
        </Location>
        <TimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </TimeWindow>
        <SecondTimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </SecondTimeWindow>
        <BlockTimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </BlockTimeWindow>
        <WaitTime>2147483647</WaitTime>
        <IsBreak>true</IsBreak>
        <IsStatic>true</IsStatic>
        <UniqueClusterID>String content</UniqueClusterID>
        <DeliveryType>Unknown</DeliveryType>
      </TimeWindowStop>
      <TimeWindowStop>
        <Location>
          <Address>
            <StreetAddress>String content</StreetAddress>
            <City>String content</City>
            <State>String content</State>
            <Zip>String content</Zip>
            <County>String content</County>
            <Country>String content</Country>
            <SPLC>String content</SPLC>
            <CountryPostalFilter>US</CountryPostalFilter>
            <AbbreviationFormat>FIPS</AbbreviationFormat>
            <StateName>String content</StateName>
            <StateAbbreviation>String content</StateAbbreviation>
            <CountryAbbreviation>String content</CountryAbbreviation>
          </Address>
          <Coords>
            <Lat>String content</Lat>
            <Lon>String content</Lon>
          </Coords>
          <Region>Unknown</Region>
          <Label>String content</Label>
          <PlaceName>String content</PlaceName>
          <PlaceId>String content</PlaceId>
        </Location>
        <TimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </TimeWindow>
        <SecondTimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </SecondTimeWindow>
        <BlockTimeWindow>
          <StartTime>String content</StartTime>
          <EndTime>String content</EndTime>
        </BlockTimeWindow>
        <WaitTime>2147483647</WaitTime>
        <IsBreak>true</IsBreak>
        <IsStatic>true</IsStatic>
        <UniqueClusterID>String content</UniqueClusterID>
        <DeliveryType>Unknown</DeliveryType>
      </TimeWindowStop>
    </Stops>
  </Route>
</TimeWindowSequence>

The following is an example request Json body:

{
	"Debug":[0],
	"Settings":{
		"Method":0,
		"TimeFormat":0,
		"MaxClusterCount":2147483647,
		"MinClusterCount":2147483647,
		"MaxAirTravelTimeForCluster":2147483647,
		"MinAirTravelTimeForCluster":2147483647,
		"MaxAirTravelDistanceForCluster":1.26743233E+15,
		"MaxAirTravelDistanceFromDepot":1.26743233E+15,
		"MaxGridsForMatrixCalculation":2147483647,
		"GeocodingDistanceThreshold":1.26743233E+15,
		"GeocodingConfidenceThreshold":0,
		"MaxWaitTime":2147483647,
		"MaxBreakWaitTime":2147483647,
		"MaxServiceTimeToClusterStops":2147483647,
		"MaxServiceTimeToClusterLevel0Stops":2147483647,
		"MaxServiceTimeToClusterLevel1Stops":2147483647,
		"MaxTravelTimeToBreakCluster":2147483647,
		"AvgTravelTimeToBreakCluster":2147483647,
		"AvgTravelTimeRatioToBreakCluster":2147483647,
		"MaxTimeBeforeLateInBlockTime":2147483647,
		"UTurnCost":2147483647,
		"PrioritizePremiumStops":true,
		"GeocodingUseLocationPlusAddress":true,
		"AllowGeocodeMultiMatch":true,
		"RemoveStopIfTimeWindowBeforeStartTime":true,
		"UniqueClusterStrictness":0,
		"HistoricSpeedFixedDayOfWeek":0,
		"UseSideOfStreet":true,
		"UseTraffic":true,
		"RoutePathOptions":{
			"Generate":true,
			"ReduceResponsePoints":true,
			"StopsAsViaPoints":true
		},
		"FPCCode":0,
		"FinalStopIsEndDepot":true,
		"ApplyStopLocalTimeZones":true
	},
	"Route":{
		"Name":"String content",
		"Options":{
			"AFSetIDs":[2147483647],
			"AFSetNames":["String content"],
			"BordersOpen":true,
			"ClassOverrides":0,
			"CustomRoadSpeeds":[{
				"RoadCategory":0,
				"Speed":2147483647
			}],
			"DistanceUnits":0,
			"ElevLimit":4294967295,
			"FerryDiscourage":true,
			"FuelConsumption":1.26743233E+15,
			"FuelRoute":true,
			"FuelType":0,
			"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,
				"AlternateHoSRuleType":0,
				"RemainingTimeUntilFullDayBreak":1.26743233E+15,
				"RemainingTimeUntilFullDayBreakDriver2":1.26743233E+15,
				"RemainingDrivingTimeInWeek":1.26743233E+15,
				"RemainingOnDutyTimeInDay":1.26743233E+15,
				"RemainingConsecutiveDrivingTime":1.26743233E+15,
				"RemainingFortnightlyTime":1.26743233E+15,
				"CurrentOffDutyTime":1.26743233E+15,
				"CurrentOffDutyTimeDriver2":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,
					"BorderCrossingWaitDuration":1.26743233E+15
				},
				"Deprecated":0,
				"MaxAlternateRestStops":4294967295,
				"SkipRestStopInsertion":true,
				"ActiveDriver":2147483647,
				"MaxDrivingTimeInDay":1.26743233E+15,
				"MaxOnDutyTimeInDay":1.26743233E+15,
				"MaxOnDutyTimeInWeek":1.26743233E+15,
				"AdverseConditionException":true,
				"POIStopsReturned":true,
				"HOSWindowStart":4294967295,
				"HOSWindowEnd":4294967295
			},
			"HubRouting":true,
			"MaintainHeading":true,
			"OverrideRestrict":true,
			"Refrigerated":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",
				"MaxWeightPerAxleGroup":1.26743233E+15,
				"TireCount":2147483647,
				"Units":0,
				"Weight":"String content",
				"Width":"String content"
			},
			"TunnelCategory":0,
			"UseAvoidsAndFavors":true,
			"UseSites":true,
			"VehicleProfile":0,
			"VehicleType":0,
			"TrafficLookaheadDistance":4294967295,
			"AvoidCountry":["String content"],
			"AvoidState":["String content"],
			"FavorCountry":["String content"],
			"FavorState":["String content"],
			"IncludeTrimblePlaceIDs":true,
			"TollRoads":0,
			"HazMatTypes":[0],
			"TunnelCategories":[0],
			"useCrossStreetTurnAvoidance":true,
			"RestrictionZones":{
				"CongestionZone":0,
				"LowEmissionZone":0,
				"UltraLowEmissionZone":0
			}
		},
		"Stops":[{
			"Location":{
				"Address":{
					"StreetAddress":"String content",
					"City":"String content",
					"State":"String content",
					"Zip":"String content",
					"County":"String content",
					"Country":"String content",
					"SPLC":"String content",
					"CountryPostalFilter":0,
					"AbbreviationFormat":0,
					"StateName":"String content",
					"StateAbbreviation":"String content",
					"CountryAbbreviation":"String content"
				},
				"Coords":{
					"Lat":"String content",
					"Lon":"String content"
				},
				"Region":0,
				"Label":"String content",
				"PlaceName":"String content",
				"PlaceId":"String content"
			},
			"TimeWindow":{
				"StartTime":"String content",
				"EndTime":"String content"
			},
			"SecondTimeWindow":{
				"StartTime":"String content",
				"EndTime":"String content"
			},
			"BlockTimeWindow":{
				"StartTime":"String content",
				"EndTime":"String content"
			},
			"WaitTime":2147483647,
			"IsBreak":true,
			"IsStatic":true,
			"UniqueClusterID":"String content",
			"DeliveryType":0
		}]
	}
}

The following is an example response Xml body:

<TimeWindowOptimizedSequence xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <TotalETA>String content</TotalETA>
  <TotalDistance>String content</TotalDistance>
  <Stops>
    <TimeWindowOptimizedStop>
      <Location>
        <Address>
          <StreetAddress>String content</StreetAddress>
          <City>String content</City>
          <State>String content</State>
          <Zip>String content</Zip>
          <County>String content</County>
          <Country>String content</Country>
          <SPLC>String content</SPLC>
          <CountryPostalFilter>US</CountryPostalFilter>
          <AbbreviationFormat>FIPS</AbbreviationFormat>
          <StateName>String content</StateName>
          <StateAbbreviation>String content</StateAbbreviation>
          <CountryAbbreviation>String content</CountryAbbreviation>
        </Address>
        <Coords>
          <Lat>String content</Lat>
          <Lon>String content</Lon>
        </Coords>
        <Region>Unknown</Region>
        <Label>String content</Label>
        <PlaceName>String content</PlaceName>
        <PlaceId>String content</PlaceId>
      </Location>
      <OriginalPosition>2147483647</OriginalPosition>
      <ETA>String content</ETA>
      <Distance>String content</Distance>
      <TimeWindowMet>true</TimeWindowMet>
      <SlackTime>2147483647</SlackTime>
      <TimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </TimeWindow>
      <BlockTimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </BlockTimeWindow>
      <WaitTime>2147483647</WaitTime>
      <UniqueClusterID>String content</UniqueClusterID>
      <DeliveryType>Unknown</DeliveryType>
    </TimeWindowOptimizedStop>
    <TimeWindowOptimizedStop>
      <Location>
        <Address>
          <StreetAddress>String content</StreetAddress>
          <City>String content</City>
          <State>String content</State>
          <Zip>String content</Zip>
          <County>String content</County>
          <Country>String content</Country>
          <SPLC>String content</SPLC>
          <CountryPostalFilter>US</CountryPostalFilter>
          <AbbreviationFormat>FIPS</AbbreviationFormat>
          <StateName>String content</StateName>
          <StateAbbreviation>String content</StateAbbreviation>
          <CountryAbbreviation>String content</CountryAbbreviation>
        </Address>
        <Coords>
          <Lat>String content</Lat>
          <Lon>String content</Lon>
        </Coords>
        <Region>Unknown</Region>
        <Label>String content</Label>
        <PlaceName>String content</PlaceName>
        <PlaceId>String content</PlaceId>
      </Location>
      <OriginalPosition>2147483647</OriginalPosition>
      <ETA>String content</ETA>
      <Distance>String content</Distance>
      <TimeWindowMet>true</TimeWindowMet>
      <SlackTime>2147483647</SlackTime>
      <TimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </TimeWindow>
      <BlockTimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </BlockTimeWindow>
      <WaitTime>2147483647</WaitTime>
      <UniqueClusterID>String content</UniqueClusterID>
      <DeliveryType>Unknown</DeliveryType>
    </TimeWindowOptimizedStop>
  </Stops>
  <RemovedStops>
    <TimeWindowRemovedStop>
      <Location>
        <Address>
          <StreetAddress>String content</StreetAddress>
          <City>String content</City>
          <State>String content</State>
          <Zip>String content</Zip>
          <County>String content</County>
          <Country>String content</Country>
          <SPLC>String content</SPLC>
          <CountryPostalFilter>US</CountryPostalFilter>
          <AbbreviationFormat>FIPS</AbbreviationFormat>
          <StateName>String content</StateName>
          <StateAbbreviation>String content</StateAbbreviation>
          <CountryAbbreviation>String content</CountryAbbreviation>
        </Address>
        <Coords>
          <Lat>String content</Lat>
          <Lon>String content</Lon>
        </Coords>
        <Region>Unknown</Region>
        <Label>String content</Label>
        <PlaceName>String content</PlaceName>
        <PlaceId>String content</PlaceId>
      </Location>
      <OriginalPosition>2147483647</OriginalPosition>
      <Error>String content</Error>
      <TimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </TimeWindow>
      <BlockTimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </BlockTimeWindow>
      <WaitTime>2147483647</WaitTime>
      <UniqueClusterID>String content</UniqueClusterID>
      <DeliveryType>Unknown</DeliveryType>
    </TimeWindowRemovedStop>
    <TimeWindowRemovedStop>
      <Location>
        <Address>
          <StreetAddress>String content</StreetAddress>
          <City>String content</City>
          <State>String content</State>
          <Zip>String content</Zip>
          <County>String content</County>
          <Country>String content</Country>
          <SPLC>String content</SPLC>
          <CountryPostalFilter>US</CountryPostalFilter>
          <AbbreviationFormat>FIPS</AbbreviationFormat>
          <StateName>String content</StateName>
          <StateAbbreviation>String content</StateAbbreviation>
          <CountryAbbreviation>String content</CountryAbbreviation>
        </Address>
        <Coords>
          <Lat>String content</Lat>
          <Lon>String content</Lon>
        </Coords>
        <Region>Unknown</Region>
        <Label>String content</Label>
        <PlaceName>String content</PlaceName>
        <PlaceId>String content</PlaceId>
      </Location>
      <OriginalPosition>2147483647</OriginalPosition>
      <Error>String content</Error>
      <TimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </TimeWindow>
      <BlockTimeWindow>
        <StartTime>String content</StartTime>
        <EndTime>String content</EndTime>
      </BlockTimeWindow>
      <WaitTime>2147483647</WaitTime>
      <UniqueClusterID>String content</UniqueClusterID>
      <DeliveryType>Unknown</DeliveryType>
    </TimeWindowRemovedStop>
  </RemovedStops>
  <RoutePath>
    <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>
    <Diagnostics>
      <TripFileLog>String content</TripFileLog>
      <TripTraceLog>String content</TripTraceLog>
      <TimeWindowInputLog>String content</TimeWindowInputLog>
      <TripFileLogBeforeTripRun>String content</TripFileLogBeforeTripRun>
    </Diagnostics>
    <properties>
      <AssetId>String content</AssetId>
      <pliddirs>
        <ArrayOfPLIDInfo>
          <PLIDInfo>
            <PLID>2147483647</PLID>
            <IsAtoB>true</IsAtoB>
            <RoutePathMapping>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
            </RoutePathMapping>
          </PLIDInfo>
          <PLIDInfo>
            <PLID>2147483647</PLID>
            <IsAtoB>true</IsAtoB>
            <RoutePathMapping>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
            </RoutePathMapping>
          </PLIDInfo>
        </ArrayOfPLIDInfo>
        <ArrayOfPLIDInfo>
          <PLIDInfo>
            <PLID>2147483647</PLID>
            <IsAtoB>true</IsAtoB>
            <RoutePathMapping>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
            </RoutePathMapping>
          </PLIDInfo>
          <PLIDInfo>
            <PLID>2147483647</PLID>
            <IsAtoB>true</IsAtoB>
            <RoutePathMapping>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
              <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
            </RoutePathMapping>
          </PLIDInfo>
        </ArrayOfPLIDInfo>
      </pliddirs>
      <plidroutepathmapping>
        <ArrayOfArrayOfunsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <ArrayOfunsignedInt>
            <unsignedInt>4294967295</unsignedInt>
            <unsignedInt>4294967295</unsignedInt>
          </ArrayOfunsignedInt>
          <ArrayOfunsignedInt>
            <unsignedInt>4294967295</unsignedInt>
            <unsignedInt>4294967295</unsignedInt>
          </ArrayOfunsignedInt>
        </ArrayOfArrayOfunsignedInt>
        <ArrayOfArrayOfunsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <ArrayOfunsignedInt>
            <unsignedInt>4294967295</unsignedInt>
            <unsignedInt>4294967295</unsignedInt>
          </ArrayOfunsignedInt>
          <ArrayOfunsignedInt>
            <unsignedInt>4294967295</unsignedInt>
            <unsignedInt>4294967295</unsignedInt>
          </ArrayOfunsignedInt>
        </ArrayOfArrayOfunsignedInt>
      </plidroutepathmapping>
      <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>
    <vehiclerestrictedcleanupgeometry>
      <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>
    </vehiclerestrictedcleanupgeometry>
  </RoutePath>
  <Diagnostics>
    <TripFileLog>String content</TripFileLog>
    <TripTraceLog>String content</TripTraceLog>
    <TimeWindowInputLog>String content</TimeWindowInputLog>
    <TripFileLogBeforeTripRun>String content</TripFileLogBeforeTripRun>
  </Diagnostics>
</TimeWindowOptimizedSequence>

The following is an example response Json body:

{
	"TotalETA":"String content",
	"TotalDistance":"String content",
	"Stops":[{
		"Location":{
			"Address":{
				"StreetAddress":"String content",
				"City":"String content",
				"State":"String content",
				"Zip":"String content",
				"County":"String content",
				"Country":"String content",
				"SPLC":"String content",
				"CountryPostalFilter":0,
				"AbbreviationFormat":0,
				"StateName":"String content",
				"StateAbbreviation":"String content",
				"CountryAbbreviation":"String content"
			},
			"Coords":{
				"Lat":"String content",
				"Lon":"String content"
			},
			"Region":0,
			"Label":"String content",
			"PlaceName":"String content",
			"PlaceId":"String content"
		},
		"OriginalPosition":2147483647,
		"ETA":"String content",
		"Distance":"String content",
		"TimeWindowMet":true,
		"SlackTime":2147483647,
		"TimeWindow":{
			"StartTime":"String content",
			"EndTime":"String content"
		},
		"BlockTimeWindow":{
			"StartTime":"String content",
			"EndTime":"String content"
		},
		"WaitTime":2147483647,
		"UniqueClusterID":"String content",
		"DeliveryType":0
	}],
	"RemovedStops":[{
		"Location":{
			"Address":{
				"StreetAddress":"String content",
				"City":"String content",
				"State":"String content",
				"Zip":"String content",
				"County":"String content",
				"Country":"String content",
				"SPLC":"String content",
				"CountryPostalFilter":0,
				"AbbreviationFormat":0,
				"StateName":"String content",
				"StateAbbreviation":"String content",
				"CountryAbbreviation":"String content"
			},
			"Coords":{
				"Lat":"String content",
				"Lon":"String content"
			},
			"Region":0,
			"Label":"String content",
			"PlaceName":"String content",
			"PlaceId":"String content"
		},
		"OriginalPosition":2147483647,
		"Error":"String content",
		"TimeWindow":{
			"StartTime":"String content",
			"EndTime":"String content"
		},
		"BlockTimeWindow":{
			"StartTime":"String content",
			"EndTime":"String content"
		},
		"WaitTime":2147483647,
		"UniqueClusterID":"String content",
		"DeliveryType":0
	}],
	"RoutePath":{
		"type":"String content",
		"geometry":{
			"type":"String content",
			"coordinates":[[[1.26743233E+15]]]
		},
		"TMinutes":2147483647,
		"TDistance":1.26743233E+15,
		"Diagnostics":{
			"TripFileLog":"String content",
			"TripTraceLog":"String content",
			"TimeWindowInputLog":"String content",
			"TripFileLogBeforeTripRun":"String content"
		},
		"properties":{
			"AssetId":"String content",
			"pliddirs":[[{
				"PLID":2147483647,
				"IsAtoB":true,
				"RoutePathMapping":[4294967295]
			}]],
			"plidroutepathmapping":[[[4294967295]]],
			"plids":[[2147483647]]
		},
		"vehiclerestrictedcleanupgeometry":{
			"type":"String content",
			"coordinates":[[[1.26743233E+15]]]
		}
	},
	"Diagnostics":{
		"TripFileLog":"String content",
		"TripTraceLog":"String content",
		"TimeWindowInputLog":"String content",
		"TripFileLogBeforeTripRun":"String content"
	}
}

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.datacontract.org/2004/07/ALK.PCM.Model" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ALK.Common.Model" />
  <xs:complexType name="TimeWindowSequence">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ADiagnosticsRequest">
        <xs:sequence>
          <xs:element minOccurs="0" name="Settings" nillable="true" type="tns:TimeWindowSequenceOptions" />
          <xs:element minOccurs="0" name="Route" nillable="true" type="tns:TimeWindowRoute" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="TimeWindowSequence" nillable="true" type="tns:TimeWindowSequence" />
  <xs:complexType name="ADiagnosticsRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Debug" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/System" type="q1:ArrayOfNullableOfDiagnosticsTypeR_P_Sv8sTz" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ADiagnosticsRequest" nillable="true" type="tns:ADiagnosticsRequest" />
  <xs:simpleType name="DiagnosticsType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="TripFileLog" />
      <xs:enumeration value="TripTraceLog" />
      <xs:enumeration value="TimeWindowInputLog" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DiagnosticsType" nillable="true" type="tns:DiagnosticsType" />
  <xs:complexType name="TimeWindowSequenceOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="Method" type="tns:TimeWindowSequenceMethodType" />
      <xs:element minOccurs="0" name="TimeFormat" type="tns:TimeWindowFormatType" />
      <xs:element minOccurs="0" name="MaxClusterCount" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MinClusterCount" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxAirTravelTimeForCluster" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MinAirTravelTimeForCluster" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxAirTravelDistanceForCluster" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="MaxAirTravelDistanceFromDepot" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="MaxGridsForMatrixCalculation" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="GeocodingDistanceThreshold" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="GeocodingConfidenceThreshold" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/ALK.PCM.Model" type="q2:GeocodeConfidenceLevel" />
      <xs:element minOccurs="0" name="MaxWaitTime" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxBreakWaitTime" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxServiceTimeToClusterStops" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxServiceTimeToClusterLevel0Stops" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxServiceTimeToClusterLevel1Stops" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxTravelTimeToBreakCluster" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="AvgTravelTimeToBreakCluster" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="AvgTravelTimeRatioToBreakCluster" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="MaxTimeBeforeLateInBlockTime" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UTurnCost" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="PrioritizePremiumStops" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="GeocodingUseLocationPlusAddress" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="AllowGeocodeMultiMatch" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="RemoveStopIfTimeWindowBeforeStartTime" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="UniqueClusterStrictness" type="tns:TimeWindowUniqueClusterStrictnessLevel" />
      <xs:element minOccurs="0" name="HistoricSpeedFixedDayOfWeek" nillable="true" type="tns:TimeWindowHistoricSpeedDay" />
      <xs:element minOccurs="0" name="UseSideOfStreet" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="UseTraffic" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="RoutePathOptions" nillable="true" type="tns:TimeWindowSequenceRoutePathOptions" />
      <xs:element minOccurs="0" name="FPCCode" type="tns:FPCGeocodes" />
      <xs:element minOccurs="0" name="FinalStopIsEndDepot" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="ApplyStopLocalTimeZones" nillable="true" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowSequenceOptions" nillable="true" type="tns:TimeWindowSequenceOptions" />
  <xs:simpleType name="TimeWindowSequenceMethodType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Optimize">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ETA">
        <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:element name="TimeWindowSequenceMethodType" nillable="true" type="tns:TimeWindowSequenceMethodType" />
  <xs:simpleType name="TimeWindowFormatType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Hour24">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Minutes">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Hour12">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeWindowFormatType" nillable="true" type="tns:TimeWindowFormatType" />
  <xs:simpleType name="TimeWindowUniqueClusterStrictnessLevel">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Off" />
      <xs:enumeration value="On" />
      <xs:enumeration value="Only" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeWindowUniqueClusterStrictnessLevel" nillable="true" type="tns:TimeWindowUniqueClusterStrictnessLevel" />
  <xs:simpleType name="TimeWindowHistoricSpeedDay">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Current">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">-1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Sunday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Monday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Tuesday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Wednesday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Thursday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Friday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Saturday">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeWindowHistoricSpeedDay" nillable="true" type="tns:TimeWindowHistoricSpeedDay" />
  <xs:complexType name="TimeWindowSequenceRoutePathOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="Generate" type="xs:boolean" />
      <xs:element minOccurs="0" name="ReduceResponsePoints" type="xs:boolean" />
      <xs:element minOccurs="0" name="StopsAsViaPoints" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowSequenceRoutePathOptions" nillable="true" type="tns:TimeWindowSequenceRoutePathOptions" />
  <xs:simpleType name="FPCGeocodes">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="NTBasic" />
          <xs:enumeration value="NTPremium" />
          <xs:enumeration value="OSNI" />
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="FPCGeocodes" nillable="true" type="tns:FPCGeocodes" />
  <xs:complexType name="TimeWindowRoute">
    <xs:sequence>
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Options" nillable="true" type="tns:RouteOptions" />
      <xs:element minOccurs="0" name="Stops" nillable="true" type="tns:ArrayOfTimeWindowStop" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowRoute" nillable="true" type="tns:TimeWindowRoute" />
  <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="FuelConsumption" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="FuelRoute" type="xs:boolean" />
      <xs:element minOccurs="0" name="FuelType" nillable="true" type="tns:FuelType" />
      <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="Refrigerated" nillable="true" 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="TunnelCategory" type="tns:TunnelCategory" />
      <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:element minOccurs="0" name="TrafficLookaheadDistance" nillable="true" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="AvoidCountry" nillable="true" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q5:ArrayOfstring" />
      <xs:element minOccurs="0" name="AvoidState" nillable="true" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q6:ArrayOfstring" />
      <xs:element minOccurs="0" name="FavorCountry" nillable="true" xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q7:ArrayOfstring" />
      <xs:element minOccurs="0" name="FavorState" nillable="true" xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q8:ArrayOfstring" />
      <xs:element minOccurs="0" name="IncludeTrimblePlaceIDs" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="TollRoads" nillable="true" xmlns:q9="http://schemas.datacontract.org/2004/07/ALK.Common.Model" type="q9:TollRoadsType" />
      <xs:element minOccurs="0" name="HazMatTypes" nillable="true" type="tns:ArrayOfHazMatType" />
      <xs:element minOccurs="0" name="TunnelCategories" nillable="true" type="tns:ArrayOfTunnelCategory" />
      <xs:element minOccurs="0" name="useCrossStreetTurnAvoidance" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="RestrictionZones" nillable="true" type="tns:RestrictionZones" />
    </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="FuelType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Petrol" />
      <xs:enumeration value="Petrol_E5" />
      <xs:enumeration value="Petrol_E10" />
      <xs:enumeration value="Ethanol" />
      <xs:enumeration value="Diesel" />
      <xs:enumeration value="Biodiesel" />
      <xs:enumeration value="Diesel_D5" />
      <xs:enumeration value="Diesel_D7" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FuelType" nillable="true" type="tns:FuelType" />
  <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:enumeration value="HarmfulToWater" />
      <xs:enumeration value="Tunnel" />
    </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="Deprecated" 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:element minOccurs="0" name="MaxDrivingTimeInDay" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="MaxOnDutyTimeInDay" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="MaxOnDutyTimeInWeek" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="AdverseConditionException" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="POIStopsReturned" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="HOSWindowStart" nillable="true" type="xs:unsignedInt" />
          <xs:element minOccurs="0" name="HOSWindowEnd" nillable="true" type="xs:unsignedInt" />
        </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:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q10: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:q11="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q11: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:element minOccurs="0" name="AlternateHoSRuleType" nillable="true" type="tns:HoSScheduleType" />
      <xs:element minOccurs="0" name="RemainingTimeUntilFullDayBreak" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingTimeUntilFullDayBreakDriver2" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingDrivingTimeInWeek" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingOnDutyTimeInDay" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingConsecutiveDrivingTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="RemainingFortnightlyTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="CurrentOffDutyTime" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="CurrentOffDutyTimeDriver2" 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:enumeration value="California808" />
      <xs:enumeration value="Texas707" />
      <xs:enumeration value="USShortHaul" />
      <xs:enumeration value="Europe" />
      <xs:enumeration value="Unknown" />
    </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:element minOccurs="0" name="BorderCrossingWaitDuration" 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="Euro0">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <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:enumeration value="EuroEEV">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</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="MaxWeightPerAxleGroup" type="xs:double">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="TireCount" nillable="true" type="xs:int" />
      <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="TunnelCategory">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="TunnelBCDE" />
      <xs:enumeration value="TunnelCDE" />
      <xs:enumeration value="TunnelDE" />
      <xs:enumeration value="TunnelE" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TunnelCategory" nillable="true" type="tns:TunnelCategory" />
  <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="VehicleType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Truck" />
      <xs:enumeration value="LightTruck" />
      <xs:enumeration value="Auto" />
      <xs:enumeration value="MidsizeTruck" />
      <xs:enumeration value="Bus" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="VehicleType" nillable="true" type="tns:VehicleType" />
  <xs:complexType name="ArrayOfHazMatType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="HazMatType" type="tns:HazMatType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHazMatType" nillable="true" type="tns:ArrayOfHazMatType" />
  <xs:complexType name="ArrayOfTunnelCategory">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TunnelCategory" type="tns:TunnelCategory" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTunnelCategory" nillable="true" type="tns:ArrayOfTunnelCategory" />
  <xs:complexType name="RestrictionZones">
    <xs:sequence>
      <xs:element minOccurs="0" name="CongestionZone" type="tns:ZoneType" />
      <xs:element minOccurs="0" name="LowEmissionZone" type="tns:ZoneType" />
      <xs:element minOccurs="0" name="UltraLowEmissionZone" type="tns:ZoneType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RestrictionZones" nillable="true" type="tns:RestrictionZones" />
  <xs:simpleType name="ZoneType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Allow" />
      <xs:enumeration value="Warn" />
      <xs:enumeration value="Avoid" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ZoneType" nillable="true" type="tns:ZoneType" />
  <xs:complexType name="ArrayOfTimeWindowStop">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TimeWindowStop" nillable="true" type="tns:TimeWindowStop" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTimeWindowStop" nillable="true" type="tns:ArrayOfTimeWindowStop" />
  <xs:complexType name="TimeWindowStop">
    <xs:sequence>
      <xs:element minOccurs="0" name="Location" nillable="true" type="tns:Location" />
      <xs:element minOccurs="0" name="TimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="SecondTimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="BlockTimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="WaitTime" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="IsBreak" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsStatic" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="UniqueClusterID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryType" nillable="true" type="tns:TimeWindowDeliveryType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowStop" nillable="true" type="tns:TimeWindowStop" />
  <xs:complexType name="Location">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" />
      <xs:element minOccurs="0" name="Coords" nillable="true" type="tns:Coordinates" />
      <xs:element minOccurs="0" name="Region" type="tns:DataRegion" />
      <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PlaceName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PlaceId" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Location" nillable="true" type="tns:Location" />
  <xs:complexType name="Address">
    <xs:sequence>
      <xs:element minOccurs="0" name="StreetAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="County" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SPLC" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryPostalFilter" type="tns:PostCodeType" />
      <xs:element minOccurs="0" name="AbbreviationFormat" type="tns:CountryAbbreviationType" />
      <xs:element minOccurs="0" name="StateName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StateAbbreviation" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryAbbreviation" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Address" nillable="true" type="tns:Address" />
  <xs:simpleType name="PostCodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="US" />
      <xs:enumeration value="Mexico" />
      <xs:enumeration value="Both" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PostCodeType" nillable="true" type="tns:PostCodeType" />
  <xs:simpleType name="CountryAbbreviationType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="FIPS" />
      <xs:enumeration value="ISO2" />
      <xs:enumeration value="ISO3" />
      <xs:enumeration value="GENC2" />
      <xs:enumeration value="GENC3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="CountryAbbreviationType" nillable="true" type="tns:CountryAbbreviationType" />
  <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: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:enumeration value="MX" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DataRegion" nillable="true" type="tns:DataRegion" />
  <xs:complexType name="TimeWindow">
    <xs:sequence>
      <xs:element minOccurs="0" name="StartTime" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EndTime" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindow" nillable="true" type="tns:TimeWindow" />
  <xs:simpleType name="TimeWindowDeliveryType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Delivery" />
      <xs:enumeration value="Pickup" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeWindowDeliveryType" nillable="true" type="tns:TimeWindowDeliveryType" />
</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:import namespace="http://pcmiler.alk.com/APIs/v1.0" />
  <xs:complexType name="ArrayOfNullableOfDiagnosticsTypeR_P_Sv8sTz">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DiagnosticsType" nillable="true" xmlns:q1="http://pcmiler.alk.com/APIs/v1.0" type="q1:DiagnosticsType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfNullableOfDiagnosticsTypeR_P_Sv8sTz" nillable="true" type="tns:ArrayOfNullableOfDiagnosticsTypeR_P_Sv8sTz" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ALK.PCM.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ALK.PCM.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="GeocodeConfidenceLevel">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Exact">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Good">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Uncertain">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Failed">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="GeocodeConfidenceLevel" nillable="true" type="tns:GeocodeConfidenceLevel" />
</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="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="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="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>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ALK.Common.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ALK.Common.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="TollRoadsType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="AlwaysAvoid">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="AvoidIfPossible">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Use">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TollRoadsType" nillable="true" type="tns:TollRoadsType" />
</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="TimeWindowOptimizedSequence">
    <xs:sequence>
      <xs:element minOccurs="0" name="TotalETA" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalDistance" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Stops" nillable="true" type="tns:ArrayOfTimeWindowOptimizedStop" />
      <xs:element minOccurs="0" name="RemovedStops" nillable="true" type="tns:ArrayOfTimeWindowRemovedStop" />
      <xs:element minOccurs="0" name="RoutePath" nillable="true" type="tns:RouteResponse" />
      <xs:element minOccurs="0" name="Diagnostics" nillable="true" type="tns:DiagnosticInfo">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowOptimizedSequence" nillable="true" type="tns:TimeWindowOptimizedSequence" />
  <xs:complexType name="ArrayOfTimeWindowOptimizedStop">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TimeWindowOptimizedStop" nillable="true" type="tns:TimeWindowOptimizedStop" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTimeWindowOptimizedStop" nillable="true" type="tns:ArrayOfTimeWindowOptimizedStop" />
  <xs:complexType name="TimeWindowOptimizedStop">
    <xs:sequence>
      <xs:element minOccurs="0" name="Location" nillable="true" type="tns:Location" />
      <xs:element minOccurs="0" name="OriginalPosition" type="xs:int" />
      <xs:element minOccurs="0" name="ETA" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Distance" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TimeWindowMet" type="xs:boolean" />
      <xs:element minOccurs="0" name="SlackTime" type="xs:int" />
      <xs:element minOccurs="0" name="TimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="BlockTimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="WaitTime" type="xs:int" />
      <xs:element minOccurs="0" name="UniqueClusterID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryType" nillable="true" type="tns:TimeWindowDeliveryType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowOptimizedStop" nillable="true" type="tns:TimeWindowOptimizedStop" />
  <xs:complexType name="Location">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" />
      <xs:element minOccurs="0" name="Coords" nillable="true" type="tns:Coordinates" />
      <xs:element minOccurs="0" name="Region" type="tns:DataRegion" />
      <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PlaceName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PlaceId" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Location" nillable="true" type="tns:Location" />
  <xs:complexType name="Address">
    <xs:sequence>
      <xs:element minOccurs="0" name="StreetAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="County" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SPLC" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryPostalFilter" type="tns:PostCodeType" />
      <xs:element minOccurs="0" name="AbbreviationFormat" type="tns:CountryAbbreviationType" />
      <xs:element minOccurs="0" name="StateName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StateAbbreviation" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryAbbreviation" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Address" nillable="true" type="tns:Address" />
  <xs:simpleType name="PostCodeType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="US" />
      <xs:enumeration value="Mexico" />
      <xs:enumeration value="Both" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PostCodeType" nillable="true" type="tns:PostCodeType" />
  <xs:simpleType name="CountryAbbreviationType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="FIPS" />
      <xs:enumeration value="ISO2" />
      <xs:enumeration value="ISO3" />
      <xs:enumeration value="GENC2" />
      <xs:enumeration value="GENC3" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="CountryAbbreviationType" nillable="true" type="tns:CountryAbbreviationType" />
  <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: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:enumeration value="MX" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DataRegion" nillable="true" type="tns:DataRegion" />
  <xs:complexType name="TimeWindow">
    <xs:sequence>
      <xs:element minOccurs="0" name="StartTime" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EndTime" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindow" nillable="true" type="tns:TimeWindow" />
  <xs:simpleType name="TimeWindowDeliveryType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Delivery" />
      <xs:enumeration value="Pickup" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TimeWindowDeliveryType" nillable="true" type="tns:TimeWindowDeliveryType" />
  <xs:complexType name="ArrayOfTimeWindowRemovedStop">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TimeWindowRemovedStop" nillable="true" type="tns:TimeWindowRemovedStop" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTimeWindowRemovedStop" nillable="true" type="tns:ArrayOfTimeWindowRemovedStop" />
  <xs:complexType name="TimeWindowRemovedStop">
    <xs:sequence>
      <xs:element minOccurs="0" name="Location" nillable="true" type="tns:Location" />
      <xs:element minOccurs="0" name="OriginalPosition" type="xs:int" />
      <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="BlockTimeWindow" nillable="true" type="tns:TimeWindow" />
      <xs:element minOccurs="0" name="WaitTime" type="xs:int" />
      <xs:element minOccurs="0" name="UniqueClusterID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryType" nillable="true" type="tns:TimeWindowDeliveryType">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TimeWindowRemovedStop" nillable="true" type="tns:TimeWindowRemovedStop" />
  <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="Diagnostics" nillable="true" type="tns:DiagnosticInfo">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="properties" nillable="true" type="tns:RouteResponseProperties" />
      <xs:element minOccurs="0" name="vehiclerestrictedcleanupgeometry" nillable="true" type="tns:GeoJsonGeometry">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </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="DiagnosticInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="TripFileLog" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="TripTraceLog" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="TimeWindowInputLog" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="TripFileLogBeforeTripRun" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DiagnosticInfo" nillable="true" type="tns:DiagnosticInfo" />
  <xs:complexType name="RouteResponseProperties">
    <xs:sequence>
      <xs:element minOccurs="0" name="AssetId" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="pliddirs" nillable="true" type="tns:ArrayOfArrayOfPLIDInfo">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="plidroutepathmapping" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfArrayOfArrayOfunsignedInt">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="plids" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfArrayOfint">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteResponseProperties" nillable="true" type="tns:RouteResponseProperties" />
  <xs:complexType name="ArrayOfArrayOfPLIDInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfPLIDInfo" nillable="true" type="tns:ArrayOfPLIDInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfPLIDInfo" nillable="true" type="tns:ArrayOfArrayOfPLIDInfo" />
  <xs:complexType name="ArrayOfPLIDInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PLIDInfo" nillable="true" type="tns:PLIDInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPLIDInfo" nillable="true" type="tns:ArrayOfPLIDInfo" />
  <xs:complexType name="PLIDInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="PLID" type="xs:int" />
      <xs:element minOccurs="0" name="IsAtoB" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="RoutePathMapping" nillable="true" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q4:ArrayOfunsignedInt">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PLIDInfo" nillable="true" type="tns:PLIDInfo" />
</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="ArrayOfunsignedInt">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="unsignedInt" type="xs:unsignedInt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfunsignedInt" nillable="true" type="tns:ArrayOfunsignedInt" />
  <xs:complexType name="ArrayOfArrayOfArrayOfunsignedInt">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfArrayOfunsignedInt" nillable="true" type="tns:ArrayOfArrayOfunsignedInt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfArrayOfunsignedInt" nillable="true" type="tns:ArrayOfArrayOfArrayOfunsignedInt" />
  <xs:complexType name="ArrayOfArrayOfunsignedInt">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfunsignedInt" nillable="true" type="tns:ArrayOfunsignedInt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfunsignedInt" nillable="true" type="tns:ArrayOfArrayOfunsignedInt" />
  <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>