Ejemplo de SOAP de actualización persistente

A continuación se muestra una solicitud SOAP de PersistentUpdate con todas las opciones de actualización disponibles (no se trata de un ejemplo de funcionamiento, más bien se utiliza para demostrar la sintaxis de la solicitud). Puede tener diversas definiciones de Actualización o de Reinicio en PersistentUpdates.<apiname>Update</apiname><apiname>Reset</apiname><apiname>PersistentUpdates</apiname>UpdateResetPersistentUpdates 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 De manera similar, puede tener solamente un único tipo de reinicio (PointReset, SegmentReset, o RoadTypeReset) dentro de un Reinicio.<apiname>PointReset</apiname><apiname>SegmentReset</apiname><apiname>RoadTypeReset</apiname><apiname>Reset</apiname>PointResetSegmentResetRoadTypeResetReset Además, puede tener solamente una única actualización o reinicio dentro de uno de los tipos de actualización o reinicio.

Para efectuar un reinicio de todas las actualizaciones, solo es necesario que especifique el DataSetResourceName y defina el parámetro RestoreDefaults a Y.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:per="http://www.g1.com/services/PersistentUpdate" xmlns:typ="http://www.g1.com/services/erm/types">
   <soapenv:Header/>
   <soapenv:Body>
      <per:PersistentUpdateRequest>
         <per:options>
            <per:DataSetResourceName>US</per:DataSetResourceName>
			<per:CoordinateSystem>?</per:CoordinateSystem>
            <per:RestoreDefaults>N</per:RestoreDefaults>
         </per:options>
         <per:rows>
            <per:row>
                <per:PersistentUpdates>
                    <typ:UpdateList>
                        <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>
                    </typ:UpdateList>
                    <typ:ResetList>
                        <typ:Reset>
                            <typ:PointReset ResetType="?">
                                <typ:Point>
                                    <typ:Latitude>?</typ:Latitude>
                                    <typ:Longitude>?</typ:Longitude>
                                </typ:Point>
                            </typ:PointReset>
                            <typ:SegmentReset ResetType="?">
                                <typ:RoutingSegmentID>?</typ:RoutingSegmentID>
                            </typ:SegmentReset>
                            <typ:RoadTypeReset>
                                <typ:RoadType>?</typ:RoadType>
                            </typ:RoadTypeReset>
                        </typ:Reset>
                    </typ:ResetList>
                </per:PersistentUpdates>
             </per:row>
         </per:rows>
      </per:PersistentUpdateRequest>
   </soapenv:Body>
</soapenv:Envelope>