post deprecated
https://{domainname}/endpoint/dailer/data/preview/download
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Use this API to get the dial status data for an outbound campaign.
Note:
Domain Name for In Ccaas: campaigndatahub.cloudagent.ozonetel.com
To access this API, pass all the following parameters. (* are mandatory)
| Parameter | Description |
|---|---|
| fromDate | Provide the date in the format (YYYY-MM-DD HH:MM:SS) |
| toDate | Provide the date in the format (YYYY-MM-DD HH:MM:SS) |
| sortby | Pass this parameter as "0" (Zero) - If passed as zero the API fetches all the campaign data. Pass a "1" - If passed as one, the API responds considering the created date of data for the campaign. Pass "2" - If passed as two, the API responds considering the updated date of the data of the campaign. |
| status* |
|
| dialstatus* |
|
| dispositions* |
|
| campaignName* | Provide the campaign name |
| userName* | Your CloudAgent account username |
| callBackUrl* | Give the callback URL |
Note
- Data can be fetched for a single campaign at a time.
- Allows 1 request fro 15 minutes.
Possible Responses
| Passing Invalid apiKey Key | "{""status"": ""error"", ""message"": ""apiKey is invalid"", ""uniqueId"": """"}" |
| Passing Invalid apiKey Value | {"status": "error","message": "Authentication failed","uniqueId": ""} |
| Missing apiKey key | "{""status"": ""error"", ""message"": ""apiKey is invalid"", ""uniqueId"": """"}" |
| Missing apiKey Value | {"status": "error","message": "apiKey is invalid","uniqueId": ""} |
| Passing Invalid userName Key | {"status": "error","message": "userName is invalid","uniqueId": ""} |
| Passing Invalid userName Value | {"status": "error","message": "Authentication failed","uniqueId": ""} |
| Missing userName key | {"status": "error","message": "userName is invalid","uniqueId": ""} |
| Missing userName Value | {"status": "error","message": "userName is invalid","uniqueId": ""} |
| Passing Invalid CampaignName Key | "{""status"": ""error"",""message"": ""campaignName is invalid"", ""uniqueId"": """"}" |
| Passing Invalid CampaignName Value | "{""status"": ""error"",""message"": ""campaignName is invalid"", ""uniqueId"": """"}" |
| Missing Campaign Name Key | "{""status"": ""error"",""message"": ""campaignName is invalid"", ""uniqueId"": """"}" |
| Missing Campaign Name Value | "{""status"": ""error"",""message"": ""campaignName is invalid"", ""uniqueId"": """"}" |
| Passing Invalid callBackUrl Key | "{""status"": ""error"",""message"": ""callBackUrl cannot be empty (OR) it should contain ‘http://test.com/’ or 'https://test.com/"", ""uniqueId"": """"}" |
| Passing Invalid callBackUrl Value | "{""status"": ""error"",""message"": ""callBackUrl cannot be empty (OR) it should contain ‘http://test.com/’ or 'https://test.com/"", ""uniqueId"": """"}" |
| Missing callBackUrl Key | "{""status"": ""error"",""message"": ""callBackUrl cannot be empty (OR) it should contain ‘http://test.com/’ or 'https://test.com/"", ""uniqueId"": """"}" |
| Missing callBackUrl Value | "{""status"": ""error"",""message"": ""callBackUrl cannot be empty (OR) it should contain ‘http://test.com/’ or 'https://test.com/"", ""uniqueId"": """"}" |
