Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST Webhook can be used as a source in a template. In Adeptia Connect, you have an option to create and use a REST Webhook according to your need. If you have published the REST Provider as a Template, you will be able to select it from the designated drop-down box. You can also create a new one by clicking  and use that as a source even when you are in the middle of creating a template.

Follow the steps below to create and use a REST Webhook as a source in a template. 

Info

For steps previous to the step 1 being discussed below, refer to Creating a Template.

  1. Select REST Webhook as a source application.



  2. Select the Webhook type as Simple or Advanced.



  3. When Simple configuration is selected:
    1. Select Enable SSL check box if you want the REST Provider service to offer a SSL security. This field is available only when you have selected the Simple as a Webhook type.
    2. Select a port in the Select Port field. 
  4. When Advanced configuration is selected:
    1. Select a pre-defined REST Provider in the Select Web Service Provider field.

    2. You can also also create a new provider by clicking Image Removed by clicking Image Added

      Note

      When you create a new REST Provider from Template wizard:

      • The field Publish as will not be available and by default, the REST Provider will always be published as a Template
      • By default, the REST provider will be created in a published state.


  5. Click Next to proceed to the next step of template creation.


Note

Once the Template is created, you can get the URL by clicking Copy URL under the Action menu on the Templates manage page.

The format of the copied URL will be as follows:

<selected Scheme in Provider>://<Server>:<Selected Port>/wsapi/apiVersion/resource end path

The table below explains the components of this URL for different cases:

CaseEndpoint
SchemeHostPortContext Path
No PortGUI SchemeGUI HostGUI Port/wsapi/resource end path
Non SSL PorthttpGUI HostSelected Port/wsapi/resource end path
SSL PorthttpsGUI HostSelected Port/wsapi/resource end path