Versions Compared

Key

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

...

The following parameters are provided:

Field NameDescription

REST Parameters

$filter=CustomerID eq '$SAPBusinessPartnerID'
$expand=IndividualCustomerSalesData

SalesForceID

The Id of the record in SalesForce which should be called.

CallerID

The number to be called (the number clicked on in SalesForce, cleaned to remove unnecessary characters, punctuation and characters which cannot be dialled).
AgentUID

The UID of the agent currently logged into the Jtel system.

It is recommended, that for example the "NickName" field in SalesForce be used to map values between the systems, if the login UID cannot be made equal.

...

Status CodeMeaning

200 – OK

OK, dialling may proceed using the supplied information.

400 - Bad Request

Bad input parameter, for example SalesForce SAP record not found.

403 – Forbidden

Call is not allowed. The Jtel system will refuse to place the call if this code is returned.
404 - Not foundSales Force SAP record not found. The Jtel system will refuse to place the call if this code is returned.

...

Data should be returned from this request in JSON format. The following fields should be supplied:

Field NameDescription

ServiceNumber

The service number to be used (Jtel field ServiceNumbers.Name).

distributionChannelCodeText

This parameter will be parsed from the JSON Result path and will be used to match a service number. 
countryCodeThis parameter will be parsed from the JSON Result path and will be used to match a service numberServiceNumberNameThe name of the service number to be used (Jtel field ServiceNumbers.Name2).

The Jtel system will attempt to match a match ServiceNumber based on the ServiceNumber, then NameContract Number by concatinating the distributionChannelCodeText and countryCode . The found ServiceNumber will be used for signalling the outbound call.