Using the API in the jtel system involves using the getCallerInformation object in a routing application.
A sample routing application is shown here:
getCallerInformation
This object performs calls the REST API getCallerInformation in the SalesForce instance.
The following parameters are provided:
Parameter | Example Value | Description |
---|---|---|
Service Number | $servicenumber | The service number which was called in the jtel system. This parameter will only be required, if the REST service makes use of the service number in the query. |
Service Name | $servicename2 | The service name which was called in the jtel system. This parameter will only be required, if the REST service makes use of the service name in the query. |
Caller Number | $caller | The caller number (caller ID). This parameter will almost always be required. $caller contains the caller number in fully qualified format. |
Note: all fields returned from the sales force query, will be available in the GUI in the form: $SalesForce.<FIELD_NAME>
Save additional information and user data
This object is used, to save the data from the query. The most important steps are:
- Save the ID of the sales force record to User Data
- (Optionally) save the URL to access the record to the CRM URL
Parameter | Example Value | Description |
---|---|---|
Additional Info | This value will be shown as "Additional Info" in the jtel client. Any fields returned from SalesForce could be used here. | |
User Data | $SalesForce.Id | This value will be |