<?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 WebHook survey123 runs GP service in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/webhook-survey123-runs-gp-service/m-p/1496698#M57495</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm creating a survey with a webhook that sends a body with the added feature to a gp service endpoint.&lt;/P&gt;&lt;P&gt;The problem is that the webhook correctly sends the body&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;"eventType": "addData",&lt;BR /&gt;"feature": {&lt;BR /&gt;"attributes": {various attributes}}}&lt;BR /&gt;&lt;BR /&gt;but the published Gp tool seems to not recognize the parameter (I have published a gp tool with 1 parameter called "faeture")&lt;BR /&gt;&lt;BR /&gt;Can someone help me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 15:28:58 GMT</pubDate>
    <dc:creator>pspada_WT</dc:creator>
    <dc:date>2024-06-24T15:28:58Z</dc:date>
    <item>
      <title>WebHook survey123 runs GP service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/webhook-survey123-runs-gp-service/m-p/1496698#M57495</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm creating a survey with a webhook that sends a body with the added feature to a gp service endpoint.&lt;/P&gt;&lt;P&gt;The problem is that the webhook correctly sends the body&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;"eventType": "addData",&lt;BR /&gt;"feature": {&lt;BR /&gt;"attributes": {various attributes}}}&lt;BR /&gt;&lt;BR /&gt;but the published Gp tool seems to not recognize the parameter (I have published a gp tool with 1 parameter called "faeture")&lt;BR /&gt;&lt;BR /&gt;Can someone help me?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 15:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/webhook-survey123-runs-gp-service/m-p/1496698#M57495</guid>
      <dc:creator>pspada_WT</dc:creator>
      <dc:date>2024-06-24T15:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: WebHook survey123 runs GP service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/webhook-survey123-runs-gp-service/m-p/1500515#M57687</link>
      <description>&lt;P&gt;I don't think this will work. The sending webhook from Survey123 would need to send the webhook as a form-body.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meaning, the incoming webhook body would look like:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;payload = {
    "eventType": "addData",
    "feature": {
    "attributes": {various attributes}
    }
   }&lt;/LI-CODE&gt;&lt;P&gt;Without the body parameter, the GP Service does not have a way to capture the payload and use it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 18:52:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/webhook-survey123-runs-gp-service/m-p/1500515#M57687</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2024-07-02T18:52:16Z</dc:date>
    </item>
  </channel>
</rss>

