To xxxxx you will need to call the CheckLocationEntry method.
CheckLocationEntry
Input Parameters
The CheckLocationEntry method needs the following parameters:
uid
This is the unique 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 X coordinate for the location. These can be derived from the AstunLocationLookup table.
distance
This is the distance 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
This 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:
<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:
MyHouseUrl
LocationName
LayerGroupName
LayerName
ConfigChange
OriginalContent
ChangedContent
Description
Title
Details
OldCache
NewCache