Skip to main content

I'd appreciate your help, as I've been trying to figure something out for the last couple of hours. 

In Insomnia I'm doing this API call:

GET https://sdpondemand.manageengine.com/api/v3/solutions
multipart form:

input_data={"list_info":{"search_criteria":{"field":"display_id","condition":"is","value":30}}}

headers:

Accept=application/vnd.manageengine.sdp.v3+json

Authorization= Zoho-oauthtoken etoken]

The problem lies in the multipart form which is being ignored. I always get a full list, while this should be filetering the items out. 

my processfloe monitor show the input parameters are okis ok:
 

 

it gives a sucess:
 

but the output is the whole list, and not filtered as it is in insomnia:

 

this is my setup:

(also tried URL encoded. Then the debug data shows the encoded input_data, but it is still not filtered. ) 

 

BTW, I do the same whith a PUT in another endpoint and there it works very well. 

Hey ​@tiago,

 

I found this in the documentation:

https://docs.thinkwisesoftware.com/docs/sf/web_connections#web-connection-for-a-branch

 

Is it possible to use HTTP connector instead of web connector for your situation?
According to the documentation, if you make use of multipart/form data, then you can have more control of the request body when using HTTP connector.

Let me know if this helps.

Kind regards, 

Dani


Hi ​@Dani,

Thanks for your repsonse. I haven't tried it yet, because the web connector as some advantages over the http connector, and I'd prefer no mixing web connectors and http connectors out of consistency. 

If I'm not mistaken, the first version of the webconnection, multi-form was indeed not supported, but as it is there now, I wonder why it does not give the expected outcome. 

 


Hey ​@tiago , 

If using the HTTP connector not an option at the moment, please create a TCP ticket so then we can investigate this further.

Thank you.

Kind regards,

Dani


Reply