{ "name": "RelocateEvents", "displayName": "Relocate Events", "description": "Relocate events based on LRS network changes.", "category": "", "helpUrl": "https://gis.dot.nm.gov/epermit/rest/directories/arcgisoutput/AgileAssets/AgileAssetsUAT_RelocateEvents_ptv_GPServer/AgileAssets_AgileAssetsUAT_RelocateEvents_ptv/RelocateEvents.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "in_network", "dataType": "GPString", "displayName": "Network Layer", "description": "The LRS Network for which route edits will be inspected.", "direction": "esriGPParameterDirectionInput", "defaultValue": "Routes", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "Routes" ] }, { "name": "event_name", "dataType": "GPString", "displayName": "Event Name", "description": "The LRS event layer to be relocated. You can choose from a list of registered external LRS events. This list is not filtered based on the Network Layer.An error will be returned if this event layer does not belong to the network you have chosen.", "direction": "esriGPParameterDirectionInput", "defaultValue": "agile_events_ptv_uat", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "agile_events_lnv_prod", "agile_events_lnv_stg", "agile_events_lnv_uat", "agile_events_ptv_prod", "agile_events_ptv_stg", "agile_events_ptv_uat" ] }, { "name": "last_invoked_time", "dataType": "GPDate", "displayName": "Last Invoked Time", "description": "The last time this tool was executed. This value can be left empty or set to \nthe Invoked Time output value from the previous execution of this tool. If you set this parameter, you will get events relocated for all LRS edits that have occurred after the Last Invoked Time. If you leave this value empty, you will get events relocated for all the LRS edits.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "lrs_time", "dataType": "GPDate", "displayName": "LRS Time", "description": "The LRS view date for which route edits will be inspected.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "last_lrs_time", "dataType": "GPDate", "displayName": "Last LRS Time", "description": "The LRS view date used for the previous execution of the tool.", "direction": "esriGPParameterDirectionInput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "output_format", "dataType": "GPString", "displayName": "Output Format", "description": "The data format of the output event records.CSV\u2014Comma-separated values file. This is the default.JSON\u2014JavaScript Object Notation file.FEATURE_CLASS\u2014Geodatabase feature class.", "direction": "esriGPParameterDirectionInput", "defaultValue": "CSV", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "CSV", "JSON", "FEATURE_CLASS" ] }, { "name": "export_file", "dataType": "GPDataFile", "displayName": "Output Export File", "description": "Location and name of an output CSV or JSON file. This parameter is required when Output Format is CSV or JSON.", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "out_features", "dataType": "GPFeatureRecordSetLayer", "displayName": "Output Feature Class", "description": "The feature class containing the output event records. This parameter is required when Output Format is FEATURE_CLASS.", "direction": "esriGPParameterDirectionOutput", "defaultValue": {}, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "include_event_geometry", "dataType": "GPBoolean", "displayName": "Include Event Geometry", "description": "Indicates if event shapes will be included with the output event records.\nThis parameter is active when Output Format is JSON or FEATURE_CLASS.Checked\u2014Will include the event geometry with the output export file or feature class. This is the default.Unchecked\u2014Will not include the event geometry with the output export file or feature class.", "direction": "esriGPParameterDirectionInput", "defaultValue": false, "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "invoked_time", "dataType": "GPDate", "displayName": "Invoked Time", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }