Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  DID number comments

    Posted 12-13-2024 11:26
    No replies, thread closed.

    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
    ------------------------------


  • 2.  RE: DID number comments
    Best Answer

    Posted 12-13-2024 12:24
    No replies, thread closed.

    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
    ------------------------------



  • 3.  RE: DID number comments

    Posted 12-13-2024 13:17
    No replies, thread closed.

    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
    ------------------------------