Hello Community First of all thanks for taking the time to read my question.
My question consists of the following:
In business central create a codeunit with a procedure called FindPaciente And publish that codeunit as a web service and I get something like this:
And I use the second link, after putting my username and password it shows me the following..
The objective of this CodeUnit is to send a Patient ID to a table that is created and returns me if it exists or not in the table with a true or false
How can I put it to the test? I've been trying with the SoapUi Software but I can't succeed
It would be very helpful if someone could share with me how to test this Link provided by Business Central in Javascript
Thank you again for your time and any input.
good day
Thank you very much for telling me the name of the Postman tool
Finally, how can I do the GET query in Postman to consume a specific procedure of my CodeUnit which looks as follows
I need to send a product number to the codeunit and it should return a true or false depending on whether the number exists
In PostMan, how do I modify the URL so that the procedure is executed and returns a True or False value?
It currently looks like this in PostMan
Thank you again for taking the time to answer my question and for your knowledge.
Good day
Hi, Have you tried Postman? It can be easily converted into code in any language.
Other info:
https://www.j3ns.de/d365-business-central/connect-to-business-central-rest-api/
https://www.cdata.com/kb/tech/d365businesscentral-odata-nodejs.rst
Hope this helps.
Thanks.
ZHU
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156