To obtain a list of my alerts changes for a user location you will need to call the CheckLocationEntry method. This method is available to developers from the Transaction.asmx Web Service.
Parameters
uid | mandatory | This is the unique user id for the user as stored in the My Alerts database. |
x | mandatory | This is the X coordinate for the location. These can be derived from the AstunLocationLookup table. |
y | mandatory | This is the Y coordinate for the location. These can be derived from the AstunLocationLookup table. |
distance | mandatory | This is the distance in metres. If a change falls within this range, a user will receive an alert. |
locationID | mandatory | This is the unique id for the Location. |
mapSourceID | mandatory | This is the unique id for the MapSource. |
layerGroupId | mandatory | This is the unique id for the Layer Group. |
uniqueID | mandatory | This corresponds with the UniqueId on the AstunLocationLookup table. |
bWriteCache | mandatory | This a boolean that determines if cache is written or not "True" or "False" respectively. |
Name | Requirement | Description |
---|
Returns
Syntax
<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