<?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 Query (Feature Service) return parent and child in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/query-feature-service-return-parent-and-child/m-p/1058999#M40123</link>
    <description>&lt;P&gt;is it possible to use the AGOL REST endpoint to return a specific feature and all of the related child records without having to use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-related-records-feature-service-.htm" target="_blank" rel="noopener"&gt;Query Related Records (Feature Service)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried with :&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-.htm" target="_blank" rel="noopener"&gt;Query (Feature Service)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[{ "layerId" : 0,"where": "objectid = 10003", "outfields": "*", "includeRelated" : true},{ "layerId" : 1,"outfields": "*", "includeRelated" : true}]&lt;/LI-CODE&gt;&lt;P&gt;but it didn't work, and i couldn't work out how to pass the GlobalID from Layer 0 to the ParentGlobalID on layer 1&lt;/P&gt;&lt;P&gt;i don't really want to have to run 10 REST calls to get all the related records if i can do it all in 1&lt;/P&gt;&lt;P&gt;fingers crossed someone has done this....&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Stu&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 15:40:13 GMT</pubDate>
    <dc:creator>StuartMoore</dc:creator>
    <dc:date>2021-05-18T15:40:13Z</dc:date>
    <item>
      <title>Query (Feature Service) return parent and child</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-feature-service-return-parent-and-child/m-p/1058999#M40123</link>
      <description>&lt;P&gt;is it possible to use the AGOL REST endpoint to return a specific feature and all of the related child records without having to use the&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-related-records-feature-service-.htm" target="_blank" rel="noopener"&gt;Query Related Records (Feature Service)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have tried with :&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-.htm" target="_blank" rel="noopener"&gt;Query (Feature Service)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[{ "layerId" : 0,"where": "objectid = 10003", "outfields": "*", "includeRelated" : true},{ "layerId" : 1,"outfields": "*", "includeRelated" : true}]&lt;/LI-CODE&gt;&lt;P&gt;but it didn't work, and i couldn't work out how to pass the GlobalID from Layer 0 to the ParentGlobalID on layer 1&lt;/P&gt;&lt;P&gt;i don't really want to have to run 10 REST calls to get all the related records if i can do it all in 1&lt;/P&gt;&lt;P&gt;fingers crossed someone has done this....&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Stu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 15:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-feature-service-return-parent-and-child/m-p/1058999#M40123</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2021-05-18T15:40:13Z</dc:date>
    </item>
  </channel>
</rss>

