Ejemplo de actualización transitoria de SOAP GetTravelCostMatrix

A continuación se muestra una solicitud SOAP estándar de GetTravelCostMatrix con todas las opciones de actualización transitoria disponibles (no se trata de un ejemplo de funcionamiento, más bien se utiliza para demostrar la sintaxis completa). Cada definición StartPoint puede tener una MatrixTransientUpdate que se usará para calcular cada matriz de ruta. Puede tener diversas definiciones de Actualización dentro de una TravelDirectionTransientUpdate.<apiname>Update</apiname><apiname>TravelDirectionTransientUpdate</apiname>UpdateMatrixTransientUpdate Puede tener solamente un único tipo de actualización (PointUpdate, SegmentUpdate o RoadTypeUpdate) dentro de una actualización.<apiname>PointUpdate</apiname><apiname>SegmentUpdate</apiname><apiname>RoadTypeUpdate</apiname><apiname>Update</apiname>PointUpdateSegmentUpdateRoadTypeUpdateUpdate Además, puede tener solamente una única actualización dentro de uno de los tipos de actualización (PointUpdate, SegmentUpdate, o RoadTypeUpdate).<apiname>PointUpdate</apiname><apiname>SegmentUpdate</apiname><apiname>RoadTypeUpdate</apiname>PointUpdateSegmentUpdateRoadTypeUpdate

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:get="http://www.pb.com/spectrum/services/GetTravelCostMatrix"
    xmlns:spec="http://spectrum.pb.com/"
    xmlns:get1="http://www.g1.com/services/GetTravelCostMatrix"
    xmlns:typ="http://www.g1.com/services/erm/types">
    <soapenv:Header/>
    <soapenv:Body>
        <get:GetTravelCostMatrixRequest>
            <get:input_port>
                <get:RouteMatrixRequest>
                    <get:StartPoints>
                        <get:StartPoint>
                            <get:Latitude>33.751748</get:Latitude>                            
                            <get:Longitude>-84.364014</get:Longitude>
                        </get:StartPoint>
                        <get:StartPoint>
                            <get:Latitude>33.870416</get:Latitude>
                            <get:Longitude>-78.62915</get:Longitude>
                        </get:StartPoint>
                        <get:StartPoint>
                            <get:Latitude>35.025498</get:Latitude>
                            <get:Longitude>-80.864868</get:Longitude>
                        </get:StartPoint>
                    </get:StartPoints>
                    <get:EndPoints>
                        <get:EndPoint>
                            <get:Latitude>33.664925</get:Latitude>
                            <get:Longitude>-80.90332</get:Longitude>
                        </get:EndPoint>
                        <get:EndPoint>
                            <get:Latitude>34.40691</get:Latitude>
                            <get:Longitude>-80.062866</get:Longitude>
                        </get:EndPoint>
                        <get:EndPoint>
                            <get:Latitude>34.921971</get:Latitude>
                            <get:Longitude>-81.013184</get:Longitude>
                        </get:EndPoint>
                    </get:EndPoints>
					<get:MatrixTransientUpdate>
						<typ:Update>
							<typ:PointUpdate>
								<typ:Point>
									<typ:Latitude>?</typ:Latitude>
										 <typ:Longitude>?</typ:Longitude>
									  </typ:Point>
									  <typ:SpeedUpdate>
										 <typ:Velocity VelocityUnit=""/>
										 <typ:SpeedIncrease>
											<typ:Velocity VelocityUnit=""/>
											<typ:Percentage>?</typ:Percentage>
										 </typ:SpeedIncrease>
										 <typ:SpeedDecrease>
											<typ:Velocity VelocityUnit="?">?</typ:Velocity>
											<typ:Percentage>?</typ:Percentage>
										 </typ:SpeedDecrease>
									  </typ:SpeedUpdate>
									  <typ:Exclude>?</typ:Exclude>
								   </typ:PointUpdate>
								   <typ:SegmentUpdate>
									  <typ:RoutingSegmentID>?</typ:RoutingSegmentID>
									  <typ:SpeedUpdate>
										 <typ:Velocity VelocityUnit="?">?</typ:Velocity>
										 <typ:SpeedIncrease>
											<typ:Velocity VelocityUnit="?">?</typ:Velocity>
											<typ:Percentage>?</typ:Percentage>
										 </typ:SpeedIncrease>
										 <typ:SpeedDecrease>
											<typ:Velocity VelocityUnit="?">?</typ:Velocity>
											<typ:Percentage>?</typ:Percentage>
										 </typ:SpeedDecrease>
									  </typ:SpeedUpdate>
									  <typ:RoadType>?</typ:RoadType>
									  <typ:Exclude>?</typ:Exclude>
								   </typ:SegmentUpdate>
								   <typ:RoadTypeUpdate>
									  <typ:RoadType>?</typ:RoadType>
									  <typ:SpeedUpdate>
										 <typ:Velocity VelocityUnit="?">?</typ:Velocity>
										 <typ:SpeedIncrease>
											<typ:Velocity VelocityUnit="?">?</typ:Velocity>
										<typ:Percentage>?</typ:Percentage>
										 </typ:SpeedIncrease>
										 <typ:SpeedDecrease>
											<typ:Velocity VelocityUnit="?">?</typ:Velocity>
										<typ:Percentage>?</typ:Percentage>
									</typ:SpeedDecrease>
								</typ:SpeedUpdate>
							</typ:RoadTypeUpdate>
						</typ:Update>
					</get:MatrixTransientUpdate>
                </get:RouteMatrixRequest>
            </get:input_port>
        </get:GetTravelCostMatrixRequest>
    </soapenv:Body>
</soapenv:Envelope>