- URL:
- https://<event-layer-url>/generateEvents
- Methods:
- GET
- Required Capability:
- The ArcGIS Location Referencing license is required to use this resource.
- Version Introduced:
- 10.7
Description
This operation re-creates shapes for event features registered with an LRS Network. If the event has a derived network route and measure fields configured, those fields are updated.
Request parameters
| Parameter | Details | 
|---|---|
| 
 (Optional) | Specifies the response format. The default response format is  Values:  | 
| 
 (Optional) | Contains a list of Object IDs, a SQL  Syntax:  | 
| 
 (Optional) | Specifies the geodatabase version to use. If this parameter is not specified, the published map's version is used. Syntax: Example:  | 
| 
 (Optional) | Set by a client during long transaction editing on a branch version. The  Syntax: Example:  | 
| 
 (Optional) | Specifies whether the response reports the time edits that were applied. If  Values:  | 
| 
 (Optional) | Returns features edited due to the geodatabase behavior that results from applying the edits. For example, if a feature is deleted and it is the origin in a composite relationship, the destination feature is automatically deleted from the geodatabase. If  Results returned from  Service-level  The  
 The response includes no  Edited features are returned in the spatial reference of the feature service as defined by the services  The default value is  Values:  | 
Example usage
URL for generating events.
https://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/eventLayers/2/generateEvents?layerDefinition=%7B"objectIds"%3A%5B1%2C2%5D%7D&gdbVersion=sde.version1&sessionId=&returnEditMoment=&returnServiceEditsOption=&f=htmlJSON Response syntax
{
  "statusURL": <jobIdURL>
}JSON Response example
{"statusURL":"https://sampleserver/arcgis/rest/services/MyLRS/MapServer/exts/LRServer/jobs/j20076c37aa514b7289da291b9a8317a2"}