- URL:
- https://<event-layer-url>/appendEvents
- Methods:
GET
- Required Capability:
- The ArcGIS Location Referencing license is required to use this resource.
- Version Introduced:
- 10.7
Description
This operation appends event records from a table, layer, or feature class into an existing Location Referencing event feature class.
Request parameters
Parameter | Details |
---|---|
(Optional) |
Specifies the response format. The default response format is Values: |
| The item ID of the uploaded source event table. The item ID is generated when the source event table is uploaded to the server. The file geodatabase must be zipped before upload and must contain only one source table. The following hierarchy must be maintained in the zip archive:
Syntax:
Example:
|
| Specifies how the attribute information in the fields of the source is transferred to the target event layer. Syntax:
Example:
|
| Specifies how appended events with measure or temporality overlaps of identical Event IDs as Target Event records are loaded into the event feature class.
Values: |
(Optional) | Specifies whether to generate event IDs for source event records being appended. Generation of event IDs will only be applied to source event records with a Null value for the Values: |
(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
The following URL adds event records in the target event from the source table:
https://sampleserver/server/rest/services/LRSService/MapServer/exts/LRServer/eventLayers/2/appendEvents?returnServiceEditsOption=originalAndCurrentFeatures&returnEditMoment=true&uploadItemId=ifbfbd4e2-f09e-4924-b33e-1341b9f593ea&fieldMap=[{"sourceField":"SourceFieldName1","targetField":"TargetFieldName1"},{"sourceField":"SourceFieldName1","targetField":"TargetFieldName1"}]&loadType=add&f=json&gdbVersion=userTest.versionx&sessionId={35B712BC-554E-49EC-8081-7E254569340F}
JSON Response syntax
Query this job URL to get progress updates and results of the operation.
{
"statusURL": "<jobIdURL>"
}
JSON Response example
The following example demonstrates a successful response that returns a status
:
{
"statusURL": "https://sampleserver/arcgis/rest/services/LRSService/MapServer/exts/LRServer/jobs/j0c1381f58c9a49e982ee2c3e1634c09b"
}