<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What's the easiest way to get TermianlIds associated with a device via the REST API in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697537#M6750</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/138089"&gt;@RobertKrisher&lt;/a&gt;&amp;nbsp;Thanks for confirming that. Can I ask a question on how to query the UN Data Element via REST? I keep getting the error.&amp;nbsp;&lt;BR /&gt;Were you suggesting I do it a different way - Like ArcPy and Describe()?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_0-1776805237839.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151360i4ED7DE60C7FE8AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_0-1776805237839.png" alt="gis_KIWI4_0-1776805237839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 21:20:34 GMT</pubDate>
    <dc:creator>gis_KIWI4</dc:creator>
    <dc:date>2026-04-21T21:20:34Z</dc:date>
    <item>
      <title>What's the easiest way to get TermianlIds associated with a device via the REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697385#M6748</link>
      <description>&lt;P&gt;I am trying to build a mechanism (outside of ArcGIS Pro) to trace devices of Interest for a nightly process.&lt;BR /&gt;The TraceLocations parameters requires a terminalId to defined.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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.&amp;nbsp;&lt;BR /&gt;Any suggestions?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;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.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 05:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697385#M6748</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2026-04-21T05:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: What's the easiest way to get TermianlIds associated with a device via the REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697429#M6749</link>
      <description>&lt;P&gt;Look at the UN data element you can get the terminal IDs associated with each asset type, that will let you build up the schema of what terminals IDs you have available for analysis. If you want your tool to be sensitive to the context and connectivity of a specific feature, then you'll need to look at the from/todeviceterminalid fields on the line or the associations table.&lt;/P&gt;&lt;P&gt;Running a trace to get the terminal ids used for connectivity create a sort of paradox, where you need to run a trace to get the terminal ID to create a trace location to run a trace. and as you noted its slow.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697429#M6749</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-04-21T13:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: What's the easiest way to get TermianlIds associated with a device via the REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697537#M6750</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/138089"&gt;@RobertKrisher&lt;/a&gt;&amp;nbsp;Thanks for confirming that. Can I ask a question on how to query the UN Data Element via REST? I keep getting the error.&amp;nbsp;&lt;BR /&gt;Were you suggesting I do it a different way - Like ArcPy and Describe()?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_0-1776805237839.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151360i4ED7DE60C7FE8AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_0-1776805237839.png" alt="gis_KIWI4_0-1776805237839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 21:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697537#M6750</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2026-04-21T21:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: What's the easiest way to get TermianlIds associated with a device via the REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697559#M6751</link>
      <description>&lt;P&gt;There are many different ways to get this information, depending on which API you're using (arcpy.Describe for ArcPy, getDefinition for Pro SDK, etc). In a services-based environment it all ends up in a call to get the schema/definition from&amp;nbsp;the FeatureServer/queryDataElements operation. You can do this manually by passing in the layer id of your utility network. This is the REST endpoint equivalent of Arcpy.Describe.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertKrisher_0-1776811356351.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151361i8F580037EFB4BB47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertKrisher_0-1776811356351.png" alt="RobertKrisher_0-1776811356351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 22:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697559#M6751</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-04-21T22:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: What's the easiest way to get TermianlIds associated with a device via the REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697562#M6752</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/138089"&gt;@RobertKrisher&lt;/a&gt;&amp;nbsp;- That's exactly what I was looking for! Didn't realize queryDataElements was an option, I conveniently glanced over this section in the API Reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anyone else who might need it -&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-data-elements-feature-service/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/query-data-elements-feature-service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 23:11:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/what-s-the-easiest-way-to-get-termianlids/m-p/1697562#M6752</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2026-04-21T23:11:46Z</dc:date>
    </item>
  </channel>
</rss>

