Commit 52cfc855 authored by Luis Acosta's avatar Luis Acosta

Version 1.0.3

parent bf9d9629
...@@ -73,10 +73,10 @@ class Callcenter: ...@@ -73,10 +73,10 @@ class Callcenter:
return response return response
def consult_campaing(self,campaign_id,campaign_date_in,campaign_date_out): def consult_campaing(self,campaign_id,campaign_date_in,campaign_date_out):
#url_center = f"{self.url}/api/outgoingcampaigns/" url_center = f"{self.url}/api/outgoingcampaigns/"
#url_center_aditional = url_center + f"{campaign_id}/general-metrics?page=1&search&date_from='{campaign_date_in}'&date_to='{campaign_date_out}'&maxPerPage=100" url_center_aditional = url_center + f"{campaign_id}/general-metrics?page=1&search&date_from={campaign_date_in}&date_to={campaign_date_out}&maxPerPage=10000"
url_center_aditional = "https://mxcc-gruposerviandina.hiperpbx.com/api/outgoingcampaigns/90/general-metrics?page=1&search&date_from=2024-12-23&date_to=2024-12-23&maxPerPage=1000" #url_center_aditional = "https://mxcc-gruposerviandina.hiperpbx.com/api/outgoingcampaigns/90/general-metrics?page=1&search&date_from=2024-12-23&date_to=2024-12-23&maxPerPage=1000"
headers = { headers = {
"Content-Type": "application/json", "Content-Type": "application/json",
"Accept": "application/json", "Accept": "application/json",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment