SWAPI – LocationGeoUpdate

This command is used to update location geocode data in Successware.

Request

<SessionRequest Version="string" SessionID="{A1019B0B-AC80-4FAB-B452-8D2348739E98}" RequestID="string">

  <LocationGeoUpdate Version="string">

    <LocationID>int</LocationID>

    <Latitude>float</Latitude>

    <Longitude>float</Longitude>

    <VendorVersion>string</VendorVersion>     

    <FormattedAddress>string</FormattedAddress>

    <LastAddressQuery>string</LastAddressQuery>

    <DistanceToHQ>float</DistanceToHQ>        

    <ForceUpdate>boolean</ForceUpdate>          

  </LocationGeoUpdate>

</SessionRequest>

 

·         LocatonID – The ID of the Location.

·         Latitude – The latitude.

·         Longitude – The longitude.

·         VendorVersion – (optional) A short descriptive string indication the vendor and version of the geocode data.

·         FormattedAddress – (optional) The address returned by the geocode vendor.

·         LastAddressQuery – (optional) The address submitted to the geocode vendor.

·         DistanceToHQ – (optional) the distance to the main office in meters.

·         ForceUpdate – Allow overwriting existing data.

 

 

Response

<LocationGeoUpdateResponse Successful="true" ResultCode="000" ResultText="Successful" Version="2.1.400.7" RequestID="string"/>