Genesys Engage on-premises

Discussion Thread View
  • 1.  GIA iHub with REST API Call

    Posted 04-12-2021 13:59
    It is hard finding information regarding creating a REST API call within iHub's Integration
    I am trying to create a GET REST call that would return a JSON response using the parameter of an email.  I am having a difficult time with the syntax of the request.
    For example, our REST call should look like this:

    I use a variable to pass the email address, however, the request fails. It appears that Integration adds a ':' to the string that I using as the email variable.

    Here is the script:
    sEmail is being passed in as

    Map<String,String>params = new HashMap<String,String>()

    I can see from the logs that the value of the Email for the call becomes:
    Parameters []

    How do I create the correct syntax to not include the ':' ?


    Le Tien
    Kaplan University

  • 2.  RE: GIA iHub with REST API Call

    Posted 06-07-2021 00:21

    Hi Le,

    I've recently started working with REST APIs in iHub as well. You should remove the '=' from the script as it's not required:


    Since this is a Map object, the Key and Value pair are separated by the colon automatically, hence it appearing in your logs.

    Oscar Alvarez
    Link Market Services Limited