Service Parameters for the data look up service are -
•PBX Id
•Org Id
•Data Look Up Id
•Caller Id/Called Id/IVR Id
•PBX Token
Output - Json String. For ex : {“FirstName” : “Marc”}
To get the Data from SF that can be used inside the PBX DataLookup call has to be used from the PBX:
/api/DataLookup/<PBXId><OrgId>/?lookupid=<Lookupid>&callerid=<callerId>&calledid=<calledId>&ivrid=<IVRId>
Parameters:
The first parameter in the path <PBXId><OrgId> is the PBXId joined whith the OrgId (without a blank or separator).
The LookupId is optional and has to be added as a URL-parameter in the form ?lookupid=<LookupId>.
If a LookupId is used, this lookupId has to be registered inside ACD (using the PBXConf call). Otherwise the default Lookup for this PBX will be used.
The parameters calledid, callerid and ivrid are optional, but at least one has to be used.
To call DataLookup a PBX-Token has to be used. The PBX-Token can be requested inside ACDPortal and has to match the PBX it has been issued for.
The Token has to be delivered in the call either as a URL-Param in the form ?token=<theToken> or in the HTTP Header as Bearer Authorization:
Authorization: Bearer <theToken>
Online help - Create PBX Token