Start a new topic

Chrometa Intergration with Euphoria

Good day Euphoria,


Can you please assist my Chrometa developer with integrating with Euphoria,


 

Hi Karabo,

Can you please open a ticket with Euphoria with the following request:

We are following the instructions here support.euphoria.co.za to get the list of calls (action name is GetCallRecordings). The returned result lists all calls for the key/tenant and does not take into account the extension in the filter. We would like to get a list by extension, or at least get the extension ID in the returned result. Here is the call we are making and the response from Euphoria API: 

curl --location --request POST 'https://api.euphoria.co.za/files/1010107057/api/Euphoria.Api.aspx' \ 

--header 'Content-Type: application/xml' \ 

--data-raw '<?xml version="1.0" encoding="UTF-8"?> 

<XML>

<Tenant>

  <Name></Name>

  <Auth></Auth> 

</Tenant>

<ActionName>GetInboundCallingHistory</ActionName>

<pageSize>100</pageSize> 

<startAt>0</startAt> 

<startDate>2021-04-14</startDate> 

<endDate>2021-04-14</endDate> 

 

</XML>

' 

 

The result: 

 

<?xml version='1.0' encoding='UTF-8'?>
<XML LastID="170450342" TotalRows="14">
<CDR>
<uID><![CDATA[170562945]]></uID>
<DialedDID><![CDATA[0280501027]]></DialedDID>
<Duration><![CDATA[81]]></Duration>
<CallerID><![CDATA[+27834978275]]></CallerID>
<StartTime><![CDATA[2021-04-14 14:11:27]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170544875]]></uID>
<DialedDID><![CDATA[0280501022]]></DialedDID>
<Duration><![CDATA[102]]></Duration>
<CallerID><![CDATA[+27836453928]]></CallerID>
<StartTime><![CDATA[2021-04-14 13:09:43]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170533376]]></uID>
<DialedDID><![CDATA[0280501022]]></DialedDID>
<Duration><![CDATA[46]]></Duration>
<CallerID><![CDATA[+27283163105]]></CallerID>
<StartTime><![CDATA[2021-04-14 12:33:55]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170512257]]></uID>
<DialedDID><![CDATA[0280501028]]></DialedDID>
<Duration><![CDATA[183]]></Duration>
<CallerID><![CDATA[+27715301023]]></CallerID>
<StartTime><![CDATA[2021-04-14 11:26:37]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170489787]]></uID>
<DialedDID><![CDATA[0280501022]]></DialedDID>
<Duration><![CDATA[115]]></Duration>
<CallerID><![CDATA[+27283161973]]></CallerID>
<StartTime><![CDATA[2021-04-14 10:18:17]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170473595]]></uID>
<DialedDID><![CDATA[0280501028]]></DialedDID>
<Duration><![CDATA[73]]></Duration>
<CallerID><![CDATA[+27284255380]]></CallerID>
<StartTime><![CDATA[2021-04-14 09:29:30]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170473097]]></uID>
<DialedDID><![CDATA[0280501028]]></DialedDID>
<Duration><![CDATA[83]]></Duration>
<CallerID><![CDATA[+27284255380]]></CallerID>
<StartTime><![CDATA[2021-04-14 09:27:44]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170468398]]></uID>
<DialedDID><![CDATA[0280501022]]></DialedDID>
<Duration><![CDATA[0]]></Duration>
<CallerID><![CDATA[+27283130136]]></CallerID>
<StartTime><![CDATA[2021-04-14 09:14:40]]></StartTime>
<Status><![CDATA[4]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450558]]></uID>
<DialedDID><![CDATA[0280501024]]></DialedDID>
<Duration><![CDATA[5]]></Duration>
<CallerID><![CDATA[+27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:12:39]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450519]]></uID>
<DialedDID><![CDATA[0280501027]]></DialedDID>
<Duration><![CDATA[5]]></Duration>
<CallerID><![CDATA[+27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:12:27]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450483]]></uID>
<DialedDID><![CDATA[0280501023]]></DialedDID>
<Duration><![CDATA[5]]></Duration>
<CallerID><![CDATA[+27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:12:14]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450440]]></uID>
<DialedDID><![CDATA[0280501022]]></DialedDID>
<Duration><![CDATA[7]]></Duration>
<CallerID><![CDATA[+27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:12:00]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450385]]></uID>
<DialedDID><![CDATA[0280501028]]></DialedDID>
<Duration><![CDATA[7]]></Duration>
<CallerID><![CDATA[+27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:11:45]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
<CDR>
<uID><![CDATA[170450342]]></uID>
<DialedDID><![CDATA[27871330238]]></DialedDID>
<Duration><![CDATA[17]]></Duration>
<CallerID><![CDATA[27871488676]]></CallerID>
<StartTime><![CDATA[2021-04-14 08:11:19]]></StartTime>
<Status><![CDATA[1]]></Status>
</CDR>
 </XML>


Hi,


Please can you confirm exactly what you are trying to achieve, then I can see what API call will be the best for you.


Thank you

Hi Divan Le Roux,


Thank you for your reply,


We would like to integrate our software called Chrometa with Euphoria,



Chrometa is a tracking application, we would like some assistance with tracking calls from Euphoria,


I can arrange a session with my developer so that we can accomplish this task,


This could be a great offering for Euphoria as well should we get this right,


Hope to hear from you soon,

HI 


Thank you for the reply,


We use a time tracking Application called Chrometa,


We need to be able to track the Euphoria calls and adding this into our Application,


The API we sent is from our Chrometa Dev who requires someone from Euphoria who can help us with tracking data from Euphoria,

Hi,


As discussed in the private ticket we created, you can use the API call "GetCallDetailRecords" that will return a list of inbound/outbound calls for a specific extension. Please see below example:


<?xml version="1.0" encoding="UTF-8"?>
<XML>
<Tenant>
<Name></Name>
<Auth></Auth>
</Tenant>
<ActionName>GetCallDetailRecords</ActionName>
<pageSize>30</pageSize>
<startAt>0</startAt>
<startDate>2022-07-21 00:00:00</startDate>
<endDate>2022-07-21 23:59:59</endDate>
<extension>100</extension>
</XML>


Thank you

Login or Signup to post a comment