<?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: batch enable subnetwork controller using &amp;quot;enable subnetwork controller&amp;quot; REST API in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1190182#M1832</link>
    <description>&lt;P&gt;If you also include a subnetwork name value does the call work?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 23:05:10 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2022-07-06T23:05:10Z</dc:date>
    <item>
      <title>batch enable subnetwork controller using "enable subnetwork controller" REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1187639#M1831</link>
      <description>&lt;P&gt;Hello, I've written a python script that calls the "Enable subnetwork controller" rest api and supposedly it will update a bunch of subnetwork controllers for me.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For the parameters, I have called another api specifying the link to my server's utility network feature server query. From that I have acquired the needed fields which is used for the parameters for the&amp;nbsp;"Enable subnetwork controller" rest api.&lt;/P&gt;&lt;P&gt;The fields I have included in "Enable subnetwork controller" are &lt;SPAN&gt;networkSourceId,&amp;nbsp;featureGlobalId,&amp;nbsp;terminalID,&amp;nbsp;subnetworkControllerName &amp;amp;&amp;nbsp;tierName.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have only included the required fields, after running the python script, the results returned this result:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;"success": false,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;"error": {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; "extendedCode": -2147219885,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; "message": "An expected Field was not found or could not be retrieved properly.",&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; "details": [&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; ]&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;}&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the Arcgis Developer rest api:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/enablesubnetworkcontroller-utility-network-server-.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/enablesubnetworkcontroller-utility-network-server-.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 06:14:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1187639#M1831</guid>
      <dc:creator>YiuTungNicholasTse</dc:creator>
      <dc:date>2022-06-29T06:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: batch enable subnetwork controller using "enable subnetwork controller" REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1190182#M1832</link>
      <description>&lt;P&gt;If you also include a subnetwork name value does the call work?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 23:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1190182#M1832</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2022-07-06T23:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: batch enable subnetwork controller using "enable subnetwork controller" REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1190278#M1834</link>
      <description>&lt;P&gt;My bad, I have already included it on the case above, sorry I forgot to include it above in my text.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also tried to leave it out, and it somehow says my name is invalid. It returned the following error.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;success&lt;/STRONG&gt;&lt;SPAN&gt;: false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;error&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;STRONG&gt;extendedCode&lt;/STRONG&gt;: -2147208571&lt;BR /&gt;&lt;STRONG&gt;message&lt;/STRONG&gt;: The name is invalid.&lt;BR /&gt;&lt;STRONG&gt;details&lt;/STRONG&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;None&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1190278#M1834</guid>
      <dc:creator>YiuTungNicholasTse</dc:creator>
      <dc:date>2022-07-07T08:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: batch enable subnetwork controller using "enable subnetwork controller" REST API</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1206177#M1982</link>
      <description>&lt;P&gt;If you are still experiencing the issue I would recommend logging a case with support. This issue will likely walking through on a call with your code + data. Based off that error message my guess is there is an invalid character in your subnetwork controller name or subnetwork name. If you try to enable the controller manually you should be able to see a more specific error.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 00:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/batch-enable-subnetwork-controller-using-quot/m-p/1206177#M1982</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2022-08-25T00:31:15Z</dc:date>
    </item>
  </channel>
</rss>

