Get the list of Edges and their Status

Hello All,

I need to display list of edges for a particular org on a web page.
How do I this? Do I have to keep polling for the xml for at regular interval, parse the xml packets and display the details? Or, is there any straight forward method to do this without parsing?

Thank you.

Hi Suresh,
You should be able to get the information through the Platform API:
GET /api/v2/telephony/providers/edges
https://developer.mypurecloud.com/api/rest/v2/telephonyprovidersedge/#get-api-v2-telephony-providers-edges
Then poll regularly to get the status

I am not aware of any notification for Edge status, you can check the topics here:
https://developer.mypurecloud.com/api/rest/v2/notifications/index.html

Thanks fro the reply jcp. Will you have any code samples that makes an API call? for instance if I choose to create the page using .NET, do I have to install Visual studio?

Hi Suresh,
Have a look into the developer-tools https://developer.mypurecloud.com/developer-tools/#/ (note you may have to change the top domain name to match your region)
In the code editor section there is some documentation on running the Get Edges request. I don't think there is documentation specificaly for .NET but the one available should help with the coding.

https://developer.mypurecloud.com/api/rest/client-libraries/javascript-noborder/TelephonyProvidersEdgeApi.html#edgeentitylisting_gettelephonyprovidersedges_opts_

Cheers,

Jean-Christophe

Thank you Jean. I am still trying to make a connection to PureCloud.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.