Doing an Api Rest

0
I need to do a Rest Service Operation and all I have to do is when you select a project and then you click on the Api Rest button that I have created it calls a microflow that retrieve all the information about the selected project but I have the next Error “Microflow “” has a parameter that is not a parameter of the operation “Projecto””
asked
4 answers
0

Hi Alvaro,

Check out the documentation here: https://docs.mendix.com/howto/integration/publish-rest-service

Section 4 describes what you should do

answered
0

Hello Alvaro,

I think your page parameter and microflow parameter has does not match.

Please check your data view entities from where you call that microflow and check the parameter also.

And please go through the following link, It might help you:

https://docs.mendix.com/howto/integration/publish-rest-service

Thank You,

answered
0

When a client calls your REST operation, the microflow nees a Projecto. Where should the value of that parameter come from?

answered
0

You have no query or path parameter. Also, your microflow expects an object?!
 

I’ll suggest you to add the projecto id as a path parameter. In your microflow you need to expect that parameter as an argument. Then you retrieve the projecto object via xpath.

answered