Thanks Camreon for the quick response. Yes this would work, actually we have only one number in our DID pools so the first API itself would be enough , the only issue is it doesn't have the Assigned, Owner type columns you have in the /api/v2/telephony/providers/edges/dids so I had to do a vlookup to add the comments from the new list to my other list to have all the fields in one list. It would have been better if this API has the comments column.
------------------------------
Philip Varghese
Lead Programmer Analyst
------------------------------
Original Message:
Sent: 12-13-2024 12:23
From: Cameron Tomlin
Subject: DID number comments
Hello Philip,
It looks like /api/v2/telephony/providers/edges/didpools/{didPoolId} endpoint pulls the comments out. But you are going to have to use the didpools endpoints.
So it would look something like this.
GET /api/v2/telephony/providers/edges/didpools/dids -> Get the ID of the specific DIDPool -> GET /api/v2/telephony/providers/edges/didpools/{didPoolId} to get the comments that you need.
Hope this helps!
------------------------------
Cameron
Online Community Manager/Moderator
Original Message:
Sent: 12-13-2024 11:26
From: Philip Varghese
Subject: DID number comments
As there is no export feature from the DID number page in Genesys cloud, I have to rely on an API (/api/v2/telephony/providers/edges/dids) to get a listing of phone numbers we have assigned to users/call routes in our organization but the comments column is missing in the API output. Since we the same number shared by multiple LOB's we have all that information in the comments field. Does anyone know of a different API or any other way to extract the comments from the numbers?
#Telephony
------------------------------
Philip Varghese
Lead Programmer Analyst
------------------------------