Passing dynamic UID to the consumed rest service through mircoflw

0
Hi their,  I want to achieve one functionility in mendix in which I am integrating the Delete API which is created in the .net and I am intgrating it on the click of delete button. I have written below business logic.  1. Created on Consumed rest service and set the API URL, headers, berar tokens and my request body should be as follows :  {  "uId": "047ba513-3424-48ac-9b0c-4f78d297295d"} 2. I have created one mircoflow which is called onclick of delete button and in that mircoflow I have added some activity as follows :  Now I want to pass the $CandidateUID/UId to the consumed rest service which I have created, How Can I pass that ?    
asked
2 answers
1

Hi Prasad,

 

You can add a parameter to the list of parameters, and then use that in your request body inside the Consumed REST Service editor. Then in the Send REST Request activity in your microflow, you can supply different values for the uidParam.

 

Good luck,

 

Paul

 

 

 

image.png

 

image.png

 

image.png

answered
1

Thanks a lot Paul ! Its resolved and its working as expected. I was stuck here from 2-3 days but now its resolved. Thanks Again. 

answered