I am trying to build a mechanism (outside of ArcGIS Pro) to trace devices of Interest for a nightly process.
The TraceLocations parameters requires a terminalId to defined.
I realize I can create a lookup and try and populate this in my REST Requests but I am keen to understand if the system can provide this on demand.
One alternative is to use the "connectivity" component of the JSON output (via the ExportSubnetwork or Trace) but this means I need to trace the network or export all subnetworks before I can start compiling my list of Starting Points.
Any suggestions?
EDIT: I realize I can use the TerminalID from the connected lines and their TODEVICETERMINAL/FROMDEVICETERMINAL but that too is a convoluted way to get the TerminalIDs.