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

Url: https://pcmiler.alk.com/APIs/REST/v1.0/Service.svc/route/matrix?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:

<RouteMatrixRequestBody xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <Origins>
    <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>
    <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>
  </Origins>
  <Destinations>
    <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>
    <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>
  </Destinations>
  <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>
</RouteMatrixRequestBody>

The following is an example request Json body:

{
	"Origins":[{
		"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"
	}],
	"Destinations":[{
		"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"
	}],
	"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
		}
	}
}

The following is an example response Xml body:

<RouteMatrixResponseBody xmlns="http://pcmiler.alk.com/APIs/v1.0">
  <Origins>
    <GeocodeOutputLocation>
      <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>
      <TimeZone>String content</TimeZone>
      <Errors>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
      </Errors>
      <SpeedLimitInfo>
        <Speed>2147483647</Speed>
        <SpeedType>Default</SpeedType>
        <SpeedTypeString>String content</SpeedTypeString>
        <LinkIds>String content</LinkIds>
        <RoadClass>String content</RoadClass>
        <Units>String content</Units>
      </SpeedLimitInfo>
      <ConfidenceLevel>String content</ConfidenceLevel>
      <DistanceFromRoad>1.26743233E+15</DistanceFromRoad>
      <CrossStreet>String content</CrossStreet>
      <AssetId>String content</AssetId>
      <ID>String content</ID>
    </GeocodeOutputLocation>
    <GeocodeOutputLocation>
      <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>
      <TimeZone>String content</TimeZone>
      <Errors>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
      </Errors>
      <SpeedLimitInfo>
        <Speed>2147483647</Speed>
        <SpeedType>Default</SpeedType>
        <SpeedTypeString>String content</SpeedTypeString>
        <LinkIds>String content</LinkIds>
        <RoadClass>String content</RoadClass>
        <Units>String content</Units>
      </SpeedLimitInfo>
      <ConfidenceLevel>String content</ConfidenceLevel>
      <DistanceFromRoad>1.26743233E+15</DistanceFromRoad>
      <CrossStreet>String content</CrossStreet>
      <AssetId>String content</AssetId>
      <ID>String content</ID>
    </GeocodeOutputLocation>
  </Origins>
  <Destinations>
    <GeocodeOutputLocation>
      <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>
      <TimeZone>String content</TimeZone>
      <Errors>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
      </Errors>
      <SpeedLimitInfo>
        <Speed>2147483647</Speed>
        <SpeedType>Default</SpeedType>
        <SpeedTypeString>String content</SpeedTypeString>
        <LinkIds>String content</LinkIds>
        <RoadClass>String content</RoadClass>
        <Units>String content</Units>
      </SpeedLimitInfo>
      <ConfidenceLevel>String content</ConfidenceLevel>
      <DistanceFromRoad>1.26743233E+15</DistanceFromRoad>
      <CrossStreet>String content</CrossStreet>
      <AssetId>String content</AssetId>
      <ID>String content</ID>
    </GeocodeOutputLocation>
    <GeocodeOutputLocation>
      <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>
      <TimeZone>String content</TimeZone>
      <Errors>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
        <Error>
          <Type>Warning</Type>
          <Code>SUCCESS</Code>
          <LegacyErrorCode>2147483647</LegacyErrorCode>
          <Description>String content</Description>
        </Error>
      </Errors>
      <SpeedLimitInfo>
        <Speed>2147483647</Speed>
        <SpeedType>Default</SpeedType>
        <SpeedTypeString>String content</SpeedTypeString>
        <LinkIds>String content</LinkIds>
        <RoadClass>String content</RoadClass>
        <Units>String content</Units>
      </SpeedLimitInfo>
      <ConfidenceLevel>String content</ConfidenceLevel>
      <DistanceFromRoad>1.26743233E+15</DistanceFromRoad>
      <CrossStreet>String content</CrossStreet>
      <AssetId>String content</AssetId>
      <ID>String content</ID>
    </GeocodeOutputLocation>
  </Destinations>
  <MatrixInfo>
    <ArrayOfRouteMatrixInfo>
      <RouteMatrixInfo>
        <Success>true</Success>
        <Errors>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
        </Errors>
        <Time>String content</Time>
        <Distance>String content</Distance>
      </RouteMatrixInfo>
      <RouteMatrixInfo>
        <Success>true</Success>
        <Errors>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
        </Errors>
        <Time>String content</Time>
        <Distance>String content</Distance>
      </RouteMatrixInfo>
    </ArrayOfRouteMatrixInfo>
    <ArrayOfRouteMatrixInfo>
      <RouteMatrixInfo>
        <Success>true</Success>
        <Errors>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
        </Errors>
        <Time>String content</Time>
        <Distance>String content</Distance>
      </RouteMatrixInfo>
      <RouteMatrixInfo>
        <Success>true</Success>
        <Errors>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
          <Error>
            <Type>Warning</Type>
            <Code>SUCCESS</Code>
            <LegacyErrorCode>2147483647</LegacyErrorCode>
            <Description>String content</Description>
          </Error>
        </Errors>
        <Time>String content</Time>
        <Distance>String content</Distance>
      </RouteMatrixInfo>
    </ArrayOfRouteMatrixInfo>
  </MatrixInfo>
</RouteMatrixResponseBody>

The following is an example response Json body:

{
	"Origins":[{
		"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",
		"TimeZone":"String content",
		"Errors":[{
			"Type":0,
			"Code":0,
			"LegacyErrorCode":2147483647,
			"Description":"String content"
		}],
		"SpeedLimitInfo":{
			"Speed":2147483647,
			"SpeedType":0,
			"SpeedTypeString":"String content",
			"LinkIds":"String content",
			"RoadClass":"String content",
			"Units":"String content"
		},
		"ConfidenceLevel":"String content",
		"DistanceFromRoad":1.26743233E+15,
		"CrossStreet":"String content",
		"AssetId":"String content",
		"ID":"String content"
	}],
	"Destinations":[{
		"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",
		"TimeZone":"String content",
		"Errors":[{
			"Type":0,
			"Code":0,
			"LegacyErrorCode":2147483647,
			"Description":"String content"
		}],
		"SpeedLimitInfo":{
			"Speed":2147483647,
			"SpeedType":0,
			"SpeedTypeString":"String content",
			"LinkIds":"String content",
			"RoadClass":"String content",
			"Units":"String content"
		},
		"ConfidenceLevel":"String content",
		"DistanceFromRoad":1.26743233E+15,
		"CrossStreet":"String content",
		"AssetId":"String content",
		"ID":"String content"
	}],
	"MatrixInfo":[[{
		"Success":true,
		"Errors":[{
			"Type":0,
			"Code":0,
			"LegacyErrorCode":2147483647,
			"Description":"String content"
		}],
		"Time":"String content",
		"Distance":"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.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/ALK.Common.Model" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="RouteMatrixRequestBody">
    <xs:sequence>
      <xs:element minOccurs="0" name="Origins" nillable="true" type="tns:ArrayOfLocation" />
      <xs:element minOccurs="0" name="Destinations" nillable="true" type="tns:ArrayOfLocation" />
      <xs:element minOccurs="0" name="Options" nillable="true" type="tns:RouteOptions" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteMatrixRequestBody" nillable="true" type="tns:RouteMatrixRequestBody" />
  <xs:complexType name="ArrayOfLocation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Location" nillable="true" type="tns:Location" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLocation" nillable="true" type="tns:ArrayOfLocation" />
  <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="RouteOptions">
    <xs:sequence>
      <xs:element minOccurs="0" name="AFSetIDs" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfint" />
      <xs:element minOccurs="0" name="AFSetNames" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2: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:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfstring" />
      <xs:element minOccurs="0" name="AvoidState" nillable="true" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q4:ArrayOfstring" />
      <xs:element minOccurs="0" name="FavorCountry" nillable="true" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q5:ArrayOfstring" />
      <xs:element minOccurs="0" name="FavorState" nillable="true" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q6:ArrayOfstring" />
      <xs:element minOccurs="0" name="IncludeTrimblePlaceIDs" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="TollRoads" nillable="true" xmlns:q7="http://schemas.datacontract.org/2004/07/ALK.Common.Model" type="q7: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:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q8: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:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q9: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: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.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:complexType name="RouteMatrixResponseBody">
    <xs:sequence>
      <xs:element minOccurs="0" name="Origins" nillable="true" type="tns:ArrayOfGeocodeOutputLocation" />
      <xs:element minOccurs="0" name="Destinations" nillable="true" type="tns:ArrayOfGeocodeOutputLocation" />
      <xs:element minOccurs="0" name="MatrixInfo" nillable="true" type="tns:ArrayOfArrayOfRouteMatrixInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteMatrixResponseBody" nillable="true" type="tns:RouteMatrixResponseBody" />
  <xs:complexType name="ArrayOfGeocodeOutputLocation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="GeocodeOutputLocation" nillable="true" type="tns:GeocodeOutputLocation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGeocodeOutputLocation" nillable="true" type="tns:ArrayOfGeocodeOutputLocation" />
  <xs:complexType name="GeocodeOutputLocation">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Location">
        <xs:sequence>
          <xs:element minOccurs="0" name="TimeZone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfError" />
          <xs:element minOccurs="0" name="SpeedLimitInfo" nillable="true" type="tns:SpeedLimit" />
          <xs:element minOccurs="0" name="ConfidenceLevel" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DistanceFromRoad" nillable="true" type="xs:double" />
          <xs:element minOccurs="0" name="CrossStreet" nillable="true" type="xs:string" />
          <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="ID" 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:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GeocodeOutputLocation" nillable="true" type="tns:GeocodeOutputLocation" />
  <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="ArrayOfError">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Error" nillable="true" type="tns:Error" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfError" nillable="true" type="tns:ArrayOfError" />
  <xs:complexType name="Error">
    <xs:sequence>
      <xs:element minOccurs="0" name="Type" type="tns:ErrorType" />
      <xs:element minOccurs="0" name="Code" type="tns:PcmwsExceptionCode" />
      <xs:element minOccurs="0" name="LegacyErrorCode" type="xs:int" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Error" nillable="true" type="tns:Error" />
  <xs:simpleType name="ErrorType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Warning" />
      <xs:enumeration value="Exception" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ErrorType" nillable="true" type="tns:ErrorType" />
  <xs:simpleType name="PcmwsExceptionCode">
    <xs:restriction base="xs:string">
      <xs:enumeration value="SUCCESS" />
      <xs:enumeration value="LEGACY_ERROR" />
      <xs:enumeration value="INTRNL_FAIL" />
      <xs:enumeration value="INVLD_PROFILE_VER" />
      <xs:enumeration value="TRIP_LIMIT_EXCEEDED" />
      <xs:enumeration value="INVLD_LOGIN" />
      <xs:enumeration value="LOGIN_DISABLED" />
      <xs:enumeration value="INVLD_PROFILE" />
      <xs:enumeration value="INVLD_PROFILE_ARRAY" />
      <xs:enumeration value="INVLD_PROFILE_CANADIAN" />
      <xs:enumeration value="INVLD_PROFILE_DETAIL" />
      <xs:enumeration value="INVLD_PROFILE_COND" />
      <xs:enumeration value="INVLD_PROFILE_DIRECTIONS" />
      <xs:enumeration value="INVLD_PROFILE_ROAD" />
      <xs:enumeration value="INVLD_PROFILE_STATE" />
      <xs:enumeration value="INVLD_PROFILE_FUEL" />
      <xs:enumeration value="INVLD_PROFILE_HUB" />
      <xs:enumeration value="INVLD_PROFILE_SPLC" />
      <xs:enumeration value="INVLD_PROFILE_PLACE_NAME" />
      <xs:enumeration value="INVLD_PROFILE_STREETS" />
      <xs:enumeration value="INVLD_PROFILE_STREETS_GEO" />
      <xs:enumeration value="INVLD_PROFILE_FASTEST" />
      <xs:enumeration value="INVLD_PROFILE_TRK_CFG" />
      <xs:enumeration value="INVLD_PROFILE_TOLLDATA" />
      <xs:enumeration value="INVLD_PROFILE_VEHICLE_TYPE" />
      <xs:enumeration value="INVLD_ADDR" />
      <xs:enumeration value="CITY_STATE_ZIP_MISMATCH" />
      <xs:enumeration value="INVLD_ZIP" />
      <xs:enumeration value="INVLD_STATE" />
      <xs:enumeration value="INVLD_CITY_JURIS" />
      <xs:enumeration value="INVLD_PLACE_NAME" />
      <xs:enumeration value="NO_CITY_ZIP" />
      <xs:enumeration value="INVLD_CITY" />
      <xs:enumeration value="INVLD_STATE_ABBR" />
      <xs:enumeration value="PO_BOX_NO_ALLOWED" />
      <xs:enumeration value="FIND_MTCH_FAILED" />
      <xs:enumeration value="MISSING_TRIP_ORIGIN" />
      <xs:enumeration value="MISSING_TRIP_DEST" />
      <xs:enumeration value="MISSING_VARIABLE" />
      <xs:enumeration value="INVLD_AF_TYPE" />
      <xs:enumeration value="INVLD_ROUTE_NAME" />
      <xs:enumeration value="INVLD_CITE_INT" />
      <xs:enumeration value="INVLD_FUEL_OPT_COND" />
      <xs:enumeration value="INVLD_DEPART_TIME" />
      <xs:enumeration value="INVLD_INT" />
      <xs:enumeration value="INVLD_DBL" />
      <xs:enumeration value="INVLD_INPUT_PLACE" />
      <xs:enumeration value="INVLD_METRIC_VAL" />
      <xs:enumeration value="INVLD_MET_LGTH" />
      <xs:enumeration value="INVLD_MET_HEIGHT" />
      <xs:enumeration value="INVLD_MET_WEIGHT" />
      <xs:enumeration value="INVLD_MET_WIDTH" />
      <xs:enumeration value="INVLD_ENG_HEIGHT" />
      <xs:enumeration value="INVLD_ENG_WEIGHT" />
      <xs:enumeration value="INVLD_ENG_WIDTH" />
      <xs:enumeration value="INVLD_ENG_LENGTH" />
      <xs:enumeration value="INVLD_TOLL_DISCOUNT" />
      <xs:enumeration value="INVLD_STOP_INFO" />
      <xs:enumeration value="INVLD_DATE" />
      <xs:enumeration value="INVLD_TIME" />
      <xs:enumeration value="INVLD_RADIUS" />
      <xs:enumeration value="MISSING_FUEL_OPTIONS" />
      <xs:enumeration value="MISSING_FUEL_INFO" />
      <xs:enumeration value="MISSING_STOP_INFO" />
      <xs:enumeration value="MISSING_DATE_TIME" />
      <xs:enumeration value="MISSING_DAY_OF_WEEK" />
      <xs:enumeration value="INVLD_LAT" />
      <xs:enumeration value="INVLD_LNG" />
      <xs:enumeration value="INVLD_COORDS" />
      <xs:enumeration value="FUEL_OPT_ERR" />
      <xs:enumeration value="INVLD_TRIP" />
      <xs:enumeration value="PARITY_MISMATCH" />
      <xs:enumeration value="NO_STREET_NUMBER" />
      <xs:enumeration value="DIRECTIONAL_MISMATCH" />
      <xs:enumeration value="STREET_TYPE_MISMATCH" />
      <xs:enumeration value="STREET_NAME_MISSPELL" />
      <xs:enumeration value="MULTIPLE_MATCHES" />
      <xs:enumeration value="NO_STREET_NAME" />
      <xs:enumeration value="ADDR_OUT_OF_RANGE" />
      <xs:enumeration value="STREET_NOT_IN_ZIP" />
      <xs:enumeration value="COORDS_ZIPCENTROID" />
      <xs:enumeration value="EXTRA_FUEL_OPTIONS" />
      <xs:enumeration value="EXTRA_TRUCK_CONFIG" />
      <xs:enumeration value="EXTRA_DATE" />
      <xs:enumeration value="EXTRA_REPORT" />
      <xs:enumeration value="INVLD_DATA_VER" />
      <xs:enumeration value="DEPCREATED_TOLL_TAG" />
      <xs:enumeration value="INVLD_GEO_LIST_CNT" />
      <xs:enumeration value="GEOCODE_ERROR" />
      <xs:enumeration value="GEOCODE_WARN" />
      <xs:enumeration value="INVLD_TILE_INDEX" />
      <xs:enumeration value="EXTRA_ROUTE" />
      <xs:enumeration value="EXTRA_DATA" />
      <xs:enumeration value="INVLD_ROUTE_OPTIONS" />
      <xs:enumeration value="INVLD_VAL" />
      <xs:enumeration value="DEPRECATED" />
      <xs:enumeration value="GEOCODE_LIMIT_EXCEEDED" />
      <xs:enumeration value="UNAVAILABLE_FEATURE" />
      <xs:enumeration value="STOP_LIMIT_EXCEEDED" />
      <xs:enumeration value="NO_ALLOWED_INTERPS" />
      <xs:enumeration value="INVALID_INTERP" />
      <xs:enumeration value="INVALID_FUEL_CONSUMPTION" />
      <xs:enumeration value="INVLD_COUNTRY_ABBR" />
      <xs:enumeration value="HOS_SERVICE_ERR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="PcmwsExceptionCode" nillable="true" type="tns:PcmwsExceptionCode" />
  <xs:complexType name="SpeedLimit">
    <xs:sequence>
      <xs:element minOccurs="0" name="Speed" type="xs:int" />
      <xs:element minOccurs="0" name="SpeedType" type="tns:SpeedLimitType" />
      <xs:element minOccurs="0" name="SpeedTypeString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LinkIds" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RoadClass" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Units" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SpeedLimit" nillable="true" type="tns:SpeedLimit" />
  <xs:simpleType name="SpeedLimitType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Default" />
      <xs:enumeration value="Historic" />
      <xs:enumeration value="Premium" />
      <xs:enumeration value="Navteq" />
      <xs:enumeration value="LinkBased" />
      <xs:enumeration value="JWR" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SpeedLimitType" nillable="true" type="tns:SpeedLimitType" />
  <xs:complexType name="ArrayOfArrayOfRouteMatrixInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfRouteMatrixInfo" nillable="true" type="tns:ArrayOfRouteMatrixInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfArrayOfRouteMatrixInfo" nillable="true" type="tns:ArrayOfArrayOfRouteMatrixInfo" />
  <xs:complexType name="ArrayOfRouteMatrixInfo">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RouteMatrixInfo" nillable="true" type="tns:RouteMatrixInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRouteMatrixInfo" nillable="true" type="tns:ArrayOfRouteMatrixInfo" />
  <xs:complexType name="RouteMatrixInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="Success" type="xs:boolean" />
      <xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfError" />
      <xs:element minOccurs="0" name="Time" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Distance" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RouteMatrixInfo" nillable="true" type="tns:RouteMatrixInfo" />
</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>

<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>