PersistentUpdate の SOAP の例

使用可能な更新オプションをすべて使った標準的な PersistentUpdate の SOAP 要求を以下に示します (すべての要求構文を示すためのもので、実例ではありません)。複数の Update または Reset 定義を 1 つの PersistentUpdates に含めることができます。1 つの更新タイプ (PointUpdateSegmentUpdate、または RoadTypeUpdate) だけを 1 つの Update に含めることができます。同様に、1 つのリセット タイプ (PointResetSegmentReset、または RoadTypeReset) を 1 つの Reset に含めることができます。更新タイプまたはリセット タイプのいずれかに含めることができる更新またはリセットも 1 つだけです。

すべての更新に対してリセットを実行するには、DataSetResourceName を指定して、RestoreDefaults パラメータを 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>