Commit 3d1b81d2 authored by Luis Acosta's avatar Luis Acosta

se adiciona camp agente

parent 27792f80
......@@ -20,7 +20,7 @@ class Callcenter:
def search_campaing(self,id_campaign):
url_center = f"{self.url}/api/outgoingcampaigns/{id_campaign}"
print(f"url: {url_center}")
#print(f"url: {url_center}")
headers = {
"Content-Type": "application/json",
"Accept": "application/json",
......@@ -43,6 +43,7 @@ class Callcenter:
"data": campaign_data
}
#return url_center,headers,payload
response = requests.post(url_center, headers=headers, json=payload, verify=False)
return response.content
......
This diff is collapsed.
......@@ -121,67 +121,78 @@ def validate_keys(data):
def find_name_position(name):
dictionary = {
"2017" : "Paucar Tapia Dennis Andres",
"2018" : "Hurtado Tocache Mayra Biviana",
"2019" : "Bermeo Cajamarca Tania Marcela ",
"2020" : "Sojos Bermeo Lourdes Maricela",
"2021" : "Robles Guerra Jhoanna Maricela",
"2022" : "Ortega Leon Maria Daniela",
"2023" : "Peralta Jaramillo Michelle Catalina",
"2024" : "Zambrano Santiak Maria Dolores ",
"2025" : "Bravo Andrade Willy Luis",
"2026" : "Barbecho Arias Alba Janneth",
"2027" : "Calderon Sucuzhanay Eliza Katherine",
"2028" : "Jara Caceres Virginia Carolina",
"2030" : "Sanchez Zhagnay Angel Marcelo",
"2031" : "Gomez Ochoa Cristian Gabriel",
"2032" : "Leon Duenas Valeria Estefania ",
"2033" : "Cardenas Torres Madelyne Coraima",
"2034" : "Samaniego Gonzaga Camila Nicole ",
"2035" : "Suarez Bacuilima Andres Santiago",
"2037" : "Tapia Penaloza Andreina De Los Angeles",
"2038" : "Flores Lopez Christian Nicolas ",
"2040" : "Faican Vasquez Jennifer Eliana",
"2041" : "Villa Torres Joseline Andrea ",
"2042" : "Penafiel Rodas Karen Salome ",
"2043" : "Jaramillo Gonzaga Evelin Lizbeth ",
"2044" : "Gabriela Elizabeth Ochoa Fajardo",
"2045" : "Christopher Brian Chang Tapia",
"2046" : "Maria Guadalupe Arias Asmal",
"2047" : "Christian Adrian Lopez Durazno",
"2050" : "Matute Segarra Miriam Viviana ",
"2051" : "Arevalo Jara Gabriela Alexandra",
"2052" : "Araujo Segovia Erika Patricia",
"2053" : "Cabrera Arteaga Andreina Estefania",
"2054" : "Caguana Laime Jhoanna Maribel",
"2055" : "Crespo Pizarro Paola Fernanda",
"2056" : "Esparza Ayala Pablo Andres",
"2057" : "Espana Marcia",
"2058" : "Mendoza Avila Andres Fabricio",
"2059" : "Naula Cardenas Paola Cecibel",
"2060" : "Nieto Guerrero Rolando Estuardo",
"2061" : "Ordonez Plaza Arturo Xavier",
"2062" : "Parra Reyes Andres Remigio",
"2063" : "Ramon Rodas Katherine Fernanda",
"2064" : "Rodriguez Rodriguez Paul Esteban",
"2065" : "Romero Calero Stefania Magdalena",
"2066" : "Tenezaca Maza Adriana Nube",
"2067" : "Uzhca Gonzalez Jessica Karina",
"2068" : "Velez Arcentales Jenny Isabel",
"2069" : "Yanez Arevalo Maria Belen",
"2070" : "Baculima Bueno Jessica Priscila",
"2071" : "Bermeo Zuna Diego Alejandro",
"2072" : "Carchi Ordonez Gabriela Elizabeth",
"2073" : "Lata Sinchi Ana Lucia",
"2074" : "Maita Robles John Christian",
"2075" : "Mejia Lojano Gloria Beatriz",
"2076" : "Morales Figueroa Miriam Susana",
"2077" : "Murillo Pinos Ana Lucia",
"2078" : "Romero Carpio Joseline Lorena",
"2079" : "Ulloa Vintimilla Hernan Marcelo",
"2080" : "Valdivieso Aviles Jessica Daniela",
"2081" : "Vasquez Sari Tatiana Cecibel",
"2082" : "Vivar Rivadeneira Susana Elizabeth"
"2052":"EARAUJO",
"2051":"GAREVALO",
"2070":"JPBACULIMA",
"2026":"ABARBECHO",
"2019":"TMBERMEO",
"2071":"DABERMEO",
"2025":"WBRAVO",
"2053":"AECABRERA",
"2054":"JCAGUANA",
"2027":"ECALDERON",
"2072":"GCARCHI",
"2033":"MCARDENAS",
"2047":"CALOPEZ",
"2045":"CCHANG",
"2055":"PFCRESPO",
"2057":"MESPANA",
"2056":"PESPARZA",
"2040":"JFAICAN",
"2038":"CNFLORES",
"2044":"GEOCHOA",
"2031":"CGGOMEZ",
"2018":"MHURTADO",
"2028":"VJARA",
"2043":"EJARAMILLO",
"2073":"ALATA",
"2032":"VLEON",
"2074":"JMAITA",
"2046":"MGARIAS",
"2050":"MMATUTE",
"2075":"GMEJIA",
"2058":"AMENDOZA",
"2076":"MMORALES",
"2077":"ALMURILLO",
"2059":"PNAULA",
"2060":"RENIETO",
"2061":"XORDONEZ",
"2022":"MDORTEGA",
"2062":"aparra",
"2017":"DPAUCAR",
"2042":"KPENAFIEL",
"2023":"MCPERALTAJ",
"2063":"KRAMON",
"2021":"JROBLES",
"2064":"PRODRIGUEZ",
"2065":"SROMERO",
"2078":"JJROMERO",
"2034":"CSAMANIEGO",
"2030":"ASANCHEZ",
"2020":"LSOJOS",
"2035":"ASSUAREZ",
"2037":"ATAPIA",
"2066":"ATENEZACA",
"2079":"HULLOA",
"2067":"JUZHCA",
"2080":"DVALDIVIESO",
"2081":"TVASQUEZ",
"2068":"IVELEZ",
"2041":"JAVILLA",
"2082":"SVIVAR",
"2069":"MBYANEZ",
"2024":"MDZAMBRANO",
"2096":"GAANDRADE",
"2097":"S/N",
"2098":"ECARDENAS",
"2099":"BBENAVIDES",
"2100":"KPAUZHI",
"2101":"AGUANUCHI",
"2102":"PCARPIO",
"2103":"MBOCHOA",
"2104":"CCANDO",
"2095":"BPLOPEZ",
"4050":"Test Indurama"
}
for key, value in dictionary.items():
if value == name:
......
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