Announcements
Good morning community, first of all, thank you very much for taking the time to read my question.
I explain what I have tried to do, I have built the following code unit and I have published it as a web service in Business central
In the SOAP url it takes me to the following screen
What I'm trying to do in Postman is to consume that code unit and its procedure called "FindItem" which only expects an item code and the procedure tells me if that product exists or not
But I can't create the query in Postman to receive the response of that specific procedure
What I currently have in Postman is the following
It would really help me a lot if you shared a way to consume that procedure in Postman
Again thank you very much for your time and knowledge.
Good day
Recommended (and more future proof) way is to use OData bound actions:
I think it needs to be a POST request. I did a blog on something similar: joshanglesea.wordpress.com/.../
Thanks for your time
Look try to do it this way by modifying the url and in the Body put the following but when sending as a response I get a blank line
In this case, it should return a True since that Item Code that I place if it exists in the database
Thank you again for taking the time to reply.
If you want to call a specific procedure in the codeunit, you need to call the procedure in the URL.
DataYss_FindItem
Also make sure you send the parameter using json in the body.
{
"ItemNo": "TEST"
}
André Arnaud de Cal...
294,190
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator