| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<change-rules-url>/query |
|---|---|
| Parent Resource | Change Rules |
| Parameter | Details |
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json |
| user | Description: The username of the client. |
| name | Description: A search string to find within change rule names. |
| description | Description: A search string to find within change rule descriptions. |
| searchType | Description: The type of search to perform. The default is contain.Values: contain | exact | start | end |
Example 1: URL for searching the change rule names in the "Workflow" service on sampleserver.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/spatialNotification/changeRules/query?user=cjones&searchType=start&name=airportExample 2: URL for searching the change rule names and descriptions in the "Workflow" service on sampleserver.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/spatialNotification/changeRules/query?user=cjones&searchType=contain&name=airport&description=airport
{
"changeRules": [
{
"id": "<ruleId1>",
"name": "<ruleName1>",
"description": "<description1>",
"summarize": <true | false>,
"notifier": <notifier1>,
"evaluators": [ <evaluator11>, <evaluator12>, ... ]
},
{
"id": "<ruleId2>",
"name": "<ruleName2>",
"description": "<description2>",
"summarize": <true | false>,
"notifier": <notifier2>,
"evaluators": [ <evaluator21>, <evaluator22>, ... ]
},
...
]
}
{
"changeRules": [
{
"id": "{B59AC85A-F2E8-44FB-932E-9FBB56902D0F}",
"name": "Airport feature changes",
"description": "Tracks all edits to airport features.",
"summarize": true,
"notifier": {
"type": "email",
"name": "Email Notifier",
"subject": "Spatial notification for airport feature changes",
"message": "There have been changes to the Airports feature class.",
"senderEmail": "noreply@example.com",
"senderName": "Workflow Alerts",
"subscribers": [ "cjones@example.com", "gisdept@example.com" ],
"attachJobAttachments": false
},
"evaluators": [
{
"type": "aoi",
"name": "AOI Condition Evaluator",
"relation": "esriSpatialRelIntersects",
"inverse": false,
"useJobAOI": true,
"aoi": null
},
{
"type": "multiDataset",
"Dataset Condition Evaluator",
"datasetConfigurations": [
{
"name": "Airport edits",
"dataWorkspaceId": "{39FD6B70-DA49-4F91-BD9D-0F2F0A8FEC26}",
"dataset": "sde.Airports",
"changeFields": "*",
"changeCondition": 0,
"whereConditions": []
}
]
}
]
}
]
}