<?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 How to Toggle Attribute using the Rest API in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-toggle-attribute-using-the-rest-api/m-p/1597075#M4964</link>
    <description>&lt;P&gt;I have an Real Time Analytic that includes an Event Detector.&amp;nbsp;&amp;nbsp; 99% of the time this works great from Start to Ended.&amp;nbsp; But once in a while the device (Track Id) stops sending transactions before the Event Ends and since there are no further transactions the Event also never Expires.&amp;nbsp; Resulting in Dispatchers seeing phantom Events.&lt;/P&gt;&lt;P&gt;I would Like to include an Option in the PopUP to manually close the Event by including a URL they could click on that would do an Rest API call to update the Event Status Field in the Feature&amp;nbsp; Layer.&lt;/P&gt;&lt;P&gt;My issue is that the Rest API push needs an Authorization Token in the Stream and I don't see that as one of the Session Values available to me when building the URL with Arcade.&amp;nbsp; Anyone have any ideas how I can get it to complete the instruction.&amp;nbsp; But so far my research does not indicate getting the token would be possible ..&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/feature-service/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/feature-service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/developers-ideas/arcade-function-to-get-logged-user-token/idi-p/1171408" target="_blank"&gt;https://community.esri.com/t5/developers-ideas/arcade-function-to-get-logged-user-token/idi-p/1171408&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 13:58:29 GMT</pubDate>
    <dc:creator>JeffSilberberg</dc:creator>
    <dc:date>2025-03-19T13:58:29Z</dc:date>
    <item>
      <title>How to Toggle Attribute using the Rest API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-toggle-attribute-using-the-rest-api/m-p/1597075#M4964</link>
      <description>&lt;P&gt;I have an Real Time Analytic that includes an Event Detector.&amp;nbsp;&amp;nbsp; 99% of the time this works great from Start to Ended.&amp;nbsp; But once in a while the device (Track Id) stops sending transactions before the Event Ends and since there are no further transactions the Event also never Expires.&amp;nbsp; Resulting in Dispatchers seeing phantom Events.&lt;/P&gt;&lt;P&gt;I would Like to include an Option in the PopUP to manually close the Event by including a URL they could click on that would do an Rest API call to update the Event Status Field in the Feature&amp;nbsp; Layer.&lt;/P&gt;&lt;P&gt;My issue is that the Rest API push needs an Authorization Token in the Stream and I don't see that as one of the Session Values available to me when building the URL with Arcade.&amp;nbsp; Anyone have any ideas how I can get it to complete the instruction.&amp;nbsp; But so far my research does not indicate getting the token would be possible ..&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/feature-service/" target="_blank"&gt;https://developers.arcgis.com/rest/services-reference/enterprise/feature-service/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/developers-ideas/arcade-function-to-get-logged-user-token/idi-p/1171408" target="_blank"&gt;https://community.esri.com/t5/developers-ideas/arcade-function-to-get-logged-user-token/idi-p/1171408&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 13:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-toggle-attribute-using-the-rest-api/m-p/1597075#M4964</guid>
      <dc:creator>JeffSilberberg</dc:creator>
      <dc:date>2025-03-19T13:58:29Z</dc:date>
    </item>
  </channel>
</rss>

