21.0 Get Call Record List
Retrieve a list of dispositioned calls.
Note: this end point will ONLY return calls made in the last hour and last 1000 records.
Entry point:
https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordListParameters:
Parameter | Description |
fTemplateId | Campaign Template id See 16.0 Get Campaign Template List to obtain Template Id's |
fCampaignId | optional - Campaign id. Leave blank to retrieve all calls for a given CampaignTemplate. See 17.0 Get Campaign List to obtain a list of campaign Id's. |
fAllocationId | optional - Allocation id. Leave blank to retrieve all call for a given Campaign. See 18.0 Get Allocation List to obtain a list of allocations. |
fDispositions | list of dispositions. Comma separated list of Disposition id's to filter by. At least one disposition id must be supplied. See 19.0 Get Disposition List to obtain a list of dispositions. |
apiKey | api key provided by Noojee Support |
Sample query:
https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordList?fTemplateId=37&fCampaignId=42&fDispositions=809
&apiKey=xxxxxxxxxx
Curl Example
curl "https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordList?fTemplateId=37&fCampaignId=42&fDispositions=809&apiKey=xxxxxxxxxx"
Sample success response:
{"type":"Call Records"
,"entities":[{"njAgentEMail":"support@noojee.com.au","njCampaignName":"Jan16a","njPriority":"4","njAgent":"A gent1"
,"njExternalLeadId":"40","njCallDuration":"10","FirstPhone":"0392515291","njCallDate":"Fri Mar 17 15:06:47 AEDT 2017"
,"City":"Melbourne","Name":"Unichurch Books","njDisposition":"Sale","State":"NSW","njAllocationName":"Jan16","PostCode":"3000"
,"njDialedNumber":"0392515291","njCallBackDate":"Fri Mar 17 15:06:57 AEDT 2017","StreetAddress":"130 Little Collins S"
,"njLeadId":"384357","njUniqueCallId":"1489723602.18"}
,{"njAgentEMail":"support@noojee.com.au","njCampaignName":"Jan16a","njPriority":"4","njAgent":"A gent1"
,"njExternalLeadId":"27","njCallDuration":"19","FirstPhone":"0393261285","njCallDate":"Fri Mar 17 15:05:59 AEDT 2017"
,"City":"Ascot Vale","Name":"Leiela Pty Limited","njDisposition":"Sale","State":"VIC","njAllocationName":"Jan16","PostCode":"3630"
,"njDialedNumber":"0393261285","njCallBackDate":"Fri Mar 17 15:06:19 AEDT 2017","StreetAddress":"126 Union Rd","njLeadId":"384329"
,"njUniqueCallId":"1489723556.13"}]
,"code":0,"message":"OK"}