Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This API is called offline, after a call has ended in the JTEL ACD. The result of the call, and some statistics regarding the call, are passed to the sales force instance. This data can be used, for example, to create an activity record in SalesForce associated with the relevant SalesForce record. To make use of this API, a REST endpoint must be provided in SalesForce for the jtel System to access. Also, the following daemon must be activated in the jtel system: \\acd-store\shared\JTELCarrierPortal\AppServer\SalesForce\SalesForce.Daemon.REST.writeCallStatistics.r5 The following pages describe an example implementation. RequestPOST Data RecordsOne API call will be made for every associated line of data produced for a call. This means that more than one API call may be made for each call received by the jtel system, depending on how it is configured. The following table shows this:
Data StructureData is passed to this API as a JSON structure. The following fields are provided:
http Status CodesThe following status codes should be used:
|
Sv translation | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Sv translation | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Cette API est appelée hors ligne, après qu'un appel se soit terminé dans l'ACD JTEL. Le résultat de l'appel, et certaines statistiques concernant l'appel, sont transmis à l'instance de la force de vente. Ces données peuvent être utilisées, par exemple, pour créer un enregistrement d'activité dans SalesForce associé à l'enregistrement SalesForce concerné. Pour utiliser cette API, un terminal REST doit être fourni dans SalesForce pour que le système jtel puisse y accéder. De plus, le démon suivant doit être activé dans le système jtel : \\acd-store\shared\JTELCarrierPortal\AppServer\SalesForce\SalesForce.Daemon.REST.writeCallStatistics.r5 Les pages suivantes décrivent un exemple de mise en œuvre. DemandePOST Enregistrements de donnéesUn appel API sera effectué pour chaque ligne de données associée produite pour un appel. Cela signifie que plus d'un appel API peut être effectué pour chaque appel reçu par le système jtel, en fonction de sa configuration. Le tableau suivant le montre :
Structure des donnéesLes données sont transmises à cette API sous la forme d'une structure JSON. Les champs suivants sont prévus :
http Statut CodesLes codes de statut suivants doivent être utilisés:
|