Reputation: 1
I am brand new to Genexus and I come over some basic tasks. Now I try to access and test external API-s. I have import API-s over Import OpenAPI process which build API folder and Model folder. I want to test simpe API-s ( list Merchants ) but I cant find the right way to do it. Can somebody help me with that?
TIA
Stane
Upvotes: 0
Views: 638
Reputation: 429
After importing YAML a folder named API is created containing procedures (Genexus objects) that call each service imported. So, you need to call the procedure that in turn calls the REST service.
Something like: Merchanlist(Parameters)
Check this document for further information: https://wiki.genexus.com/commwiki/servlet/wiki?31864,OpenAPI%20import%20tool#Sample+consumer+code
Upvotes: 1