<?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 GetTravelModes doesn't find organization values if using application token in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/gettravelmodes-doesn-t-find-organization-values-if/m-p/311421#M1525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Got a issue driving me crazy today....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a registered 'App' in my organization. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I'm using the clientId and clientSecret to generate a token and execute geocoding and routing. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I have a few custom Travel Modes defined under the organization utility services tab as discussed in the documentation. &amp;nbsp;&lt;UL&gt;&lt;LI&gt;All the default modes are removed.&lt;/LI&gt;&lt;LI&gt;When I log into the organization on ArcGIS.com and use the UI map, the directions widget shows the correct set of custom Travel Modes and they calculate routes the way I expect.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;However when I use the application to call "Utilities/GPServer/GetTravelModes", the return contains the "stock default" set of travel modes NOT the custom set defined in the organization.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;When the application executes a route request, the results are clearly using one of the defaults not one of the custom settings.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't the application access the organization settings?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 16:13:49 GMT</pubDate>
    <dc:creator>FredSpataro</dc:creator>
    <dc:date>2017-05-11T16:13:49Z</dc:date>
    <item>
      <title>GetTravelModes doesn't find organization values if using application token</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/gettravelmodes-doesn-t-find-organization-values-if/m-p/311421#M1525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Got a issue driving me crazy today....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a registered 'App' in my organization. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I'm using the clientId and clientSecret to generate a token and execute geocoding and routing. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I have a few custom Travel Modes defined under the organization utility services tab as discussed in the documentation. &amp;nbsp;&lt;UL&gt;&lt;LI&gt;All the default modes are removed.&lt;/LI&gt;&lt;LI&gt;When I log into the organization on ArcGIS.com and use the UI map, the directions widget shows the correct set of custom Travel Modes and they calculate routes the way I expect.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;However when I use the application to call "Utilities/GPServer/GetTravelModes", the return contains the "stock default" set of travel modes NOT the custom set defined in the organization.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;When the application executes a route request, the results are clearly using one of the defaults not one of the custom settings.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't the application access the organization settings?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 16:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/gettravelmodes-doesn-t-find-organization-values-if/m-p/311421#M1525</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2017-05-11T16:13:49Z</dc:date>
    </item>
  </channel>
</rss>

