FROM RELEASE 3.34

Using the API in the jtel system involves using the genericQuery object in a routing application.

A sample routing application is shown here which can be used in combination with the task scheduler to retrieve tasks from Salesforce at regular intervals.

genericQuery

This object performs calls the REST API genericQuery in the SalesForce instance. 

Note: because the endpoint is configurable, there can be many genericQuery endpoints in the Salesforce instance for different use-cases.

The following parameters are provided:


ParameterDescription
Param1The 1st parameter passed to the service.
Param2The 2nd parameter passed to the service.
Param3The 3rd parameter passed to the service.
Param4The 4th parameter passed to the service.
QueryThe query parameter passed to the service.

Return Data

The return data should be valid JSON.

Note: all fields returned from the sales force query, will be available in the GUI as variables in the form: $SalesForce.<FIELD_NAME>

  • No labels