<?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 add attachments using REST API and Microsoft Flow? in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-add-attachments-using-rest-api-and/m-p/294334#M1449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Microsoft Flow to add records to a feature service using the HTTP action. I want to also use Flow to add a PDF attachment to the newly created feature. I'm creating the PDF in the same Flow, so I can use the File content in a later step. I can get the feature's objectID and pass this into the URI, but I can't work out how to add the PDF to the body of the request. I've tried composing it as Base64 and this doesn't work either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2019 13:29:15 GMT</pubDate>
    <dc:creator>AndyBlackman2</dc:creator>
    <dc:date>2019-11-21T13:29:15Z</dc:date>
    <item>
      <title>How to add attachments using REST API and Microsoft Flow?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-add-attachments-using-rest-api-and/m-p/294334#M1449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Microsoft Flow to add records to a feature service using the HTTP action. I want to also use Flow to add a PDF attachment to the newly created feature. I'm creating the PDF in the same Flow, so I can use the File content in a later step. I can get the feature's objectID and pass this into the URI, but I can't work out how to add the PDF to the body of the request. I've tried composing it as Base64 and this doesn't work either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 13:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-add-attachments-using-rest-api-and/m-p/294334#M1449</guid>
      <dc:creator>AndyBlackman2</dc:creator>
      <dc:date>2019-11-21T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to add attachments using REST API and Microsoft Flow?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-add-attachments-using-rest-api-and/m-p/1086349#M3921</link>
      <description>&lt;P&gt;Were you ever able to figure this out?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 20:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/how-to-add-attachments-using-rest-api-and/m-p/1086349#M3921</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-05T20:43:36Z</dc:date>
    </item>
  </channel>
</rss>

