In this phase, we will create a REST Integration Point that sends a request for contact ID, and returns a customer object.
Integration Points are created and updated in the Jacada Interact Admin Console. Access the Login page of the Admin Console using the following URL:https://<SERVER_URL>/admin/login/<COMPANY_ID>. Then, log in by entering your username (email) and password.

Note: COMPANY_ID is the alias you entered when you created your account.

To create a new Integration Point:

  1. From the menu bar on the left side of the Admin Console (under Resources), select Integration Points.
    The Web Service Integration Points page opens. If any integration points have already been defined, they are listed in the grid.
  2. At the upper right corner of the page, click Add, and then select REST.
    The New Rest Integration Point page opens.

  3. In the REST Url field, enter https://gointeract.io/mockcrm/contacts/[contactID].
    Note: contactID is a parameter that this service expects. When using other services, it may be necessary to place the parameters in the body of the request or in the header.
  4. At the upper right corner of the page, click Next until the Response tab is displayed.
    The expected response from this request type is a custom object containing information about a customer. We will therefore create a new custom variable type to hold the response.
  5. From the Variable Type dropdown list, select New custom type. Then, click Create.


    The Create Custom Variable Response popup opens. This window allows you to connect to the service and receive its structure.

  6. At the bottom of the window, in the Value field, enter 1. Then, click Get Response.
    A list of all available fields is displayed.
  7. Click the Remove link in each row to delete all fields except for the following ones:
    • phone_home
    • id
    • first_name
    • last_name
  8. In the Name for new custom type textbox, enter my_customer. Then, click Create.
    The Create Custom Variable Response popup closes.
  9. In the Response tab, in the Variable Name field, enter a friendly name for the new variable. This will be the name displayed in the Interaction Designer.


    Then, click Next.
  10. In the Definition tab, enter a name and description for the new Integration Point.


    Then, click Create.
  11. To test the Integration Point, click Test to access the Test Integration Point page. In the Request frame, enter a value, and then click Test.
    Test results are displayed in the Response frame.

  12. To exit the New Integration Point wizard, click Done.
  13. To make the Integration Point visible to others, change its status from Draft to Approved:
    • At the left side of the Web Service Integration Points page, select the checkbox in the row of the new Integration Point. Then, at the top of the page, click Approve.
      A Confirm Approval popup window appears.
    • In the popup window, click Yes.
      A confirmation message is displayed, and the Integration Point is approved.

Revision:

Comments