How to pass parameters in a GET call using Groovy
Summary:
Hi Community,
I have registered a web service and now using that web service I want to pass additional parameters in the endpoint URL.
I am using below code but it is returning empty, any help will be really appreciated
Thank You!
Code Snippet (add any code snippets that support your topic, if applicable):
Expected URL:{{fabricURL}}/api/accountManagement/v4/partyAccount?contact.contactMedium.characteristic.emailAddress={{individualEmailId}}
Registered Webservice:
Paramtere That i want to Pass in Groovy Script: ?contact.contactMedium.characteristic.emailAddress={{individualEmailId}}
def connAccount = adf.webServices.GetPartyAccount
def ahttpHeaders = ['Content-Type':'application/json','Target-System':'Oracle Buying']
connAccount.requestHTTPHeaders=ahttpHeaders
def queryParam = ['contact.contactMedium.characteristic.emailAddress':'johntest62222@stark.com']