21.1 Get Call Record List At
Retrieve a list of dispositioned calls.
Returns a maximum of 1000 records, spanning a maximum of 1 hour.
Entry point:
https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordListAtParameters:
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 |
pointInTime | Optional, a point in time that indicates the end of a 60 minute period for which the records should be retrieved. If pointInTime is omitted, then the current time will be used. The format is yyyy/MM/dd HH:mm |
Sample query:
https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordListAt?fTemplateId=37&fCampaignId=42&fDispositions=809
&apiKey=xxxxxxxxx&pointInTime=2022/07/13 10:00
Curl Example
curl "https://<server host>/servicemanager/rest/CampaignAPI/getCallRecordListAt?fTemplateId=37&fCampaignId=42&fDispositions=809&apiKey=xxxxxxxxx&pointInTime=2022/07/13 10:00"
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","callRecordId":"3984765"}
,{"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","callRecordId":"34958745"}]
,"code":0,"message":"OK"}