Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To xxxxx you will need to call the CheckLocationEntry method.

...

The CheckLocationEntry method needs the following parameters:

uid

This is the id d.

 

x

 

This is the id dunique user id for the user as stored in the MyAlerts database.

x

This is the X coordinate for the location. These can be derived from the AstunLocationLookup table.

y

This is the id dthe X coordinate for the location. These can be derived from the AstunLocationLookup table.

distance

This is the id ddistance in metres.  If a change falls within this range, a user will receive an alert.

locationID

This is the unique id for the Location.

mapSourceID

This is the unique id for the MapSource.

layerGroupId 

This is the unique id for the LayerGroup.

uniqueID

 

bWriteCacheThis corresponds with the UniqueId on the AstunLocationLookup table.

bWriteCache

This a boolean that determines if cache is written or not "True" or "False" respectively. 

Returned Parameters

The following parameters will be returned:

Code Block
languagexml
titleSyntax
            <CheckLocationEntryResult>
        <BaseChangeDefinition>
          <MyHouseUrl>string</MyHouseUrl>
          <LocationName>string</LocationName>
          <LayerGroupName>string</LayerGroupName>
          <LayerName>string</LayerName>
          <ConfigChange>boolean</ConfigChange>
          <OriginalContent>string</OriginalContent>
          <ChangedContent>string</ChangedContent>
          <Description>string</Description>
          <Title>string</Title>
          <Details>string</Details>
          <OldCache>string</OldCache>
          <NewCache>string</NewCache>
        </BaseChangeDefinition>
        <BaseChangeDefinition>
          <MyHouseUrl>string</MyHouseUrl>
          <LocationName>string</LocationName>
          <LayerGroupName>string</LayerGroupName>
          <LayerName>string</LayerName>
          <ConfigChange>boolean</ConfigChange>
          <OriginalContent>string</OriginalContent>
          <ChangedContent>string</ChangedContent>
          <Description>string</Description>
          <Title>string</Title>
          <Details>string</Details>
          <OldCache>string</OldCache>
          <NewCache>string</NewCache>
        </BaseChangeDefinition>
      </CheckLocationEntryResult>

BaseChangeDefinition

A BaseChangeDefinition will be returned for each Location with the following details:

...