I am trying to create a flow that will send back an Update to IoT sensors that are used to monitor fuel levels. Once an Customer Asset record is updated, in this case a Name, I would like to call a POST Method that will Post to the specific ID (in the URL) and update the value from the Customer Asset to the API (server side). I was using the "Concat" expressions but with no luck. I should mention the field data type on the Customer Asset is a "Single Line Text", this needs to be converted to JSON format in order to be sent.
When an Update is made on the Customer Asset Record
Use a Post Method to Concat the Variable and update to the Server
Hi @KMclendon
Add a compose and construct your url, map the name like below then under the HTTP post you can set the output of the compose. Please see below.
If you have any questions please let me know.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHi @KMclendon ,
Please specify the url (endpoint which you want to call) in URI part as mentioned but use the body as follows:
{"id":"YourID","name":"toBeUpdated"}
Thanks
Here is one online tutorial on how to make an HTTP POST request: https://flow.microsoft.com/en-us/galleries/public/templates/edfa8fde25644f149448c8d8cff44699/call-a-...
Please follow the steps in the tutorial to add required fields for an HTTP request in powerapps.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
40 | |
36 | |
28 | |
27 | |
27 |