Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Bulk load non-sequential DID ranges and numbers

    Posted 09-04-2024 17:52

    Hello, Has anyone had to load a large number of DIDs into Genesys Cloud that are not in sequence.   I am look in for a way to leverage the Developer Tool to add very large numbers of DIDs from a file and to avoid human errors in typos.  

    post  /api/v2/telephony/providers/edges/didpools
    Thank you


    #Telephony

    ------------------------------
    Lisa Schifilliti
    ------------------------------


  • 2.  RE: Bulk load non-sequential DID ranges and numbers
    Best Answer

    Top 25 Contributor
    Posted 30 days ago
    Edited by Cameron Tomlin 30 days ago

    Hi Lisa,

    I recommend you do it in Postman and utilize the Runner feature: 
    Test your API using the Collection Runner | Postman Learning Center
    Run collections using imported data | Postman Learning Center

    1. Import Genesys Postman collection Postman (genesys.cloud)
    2. Find the didPools API and configure the body like this:
      {
        "name": "{{name}}",
        "startPhoneNumber": "+{{startPhoneNumber}}",
        "endPhoneNumber": "+{{endPhoneNumber}}",
        "comments":"{{name}}",
        "provider":""
      }
    3. Create a csv file to match the variables in Postman above:
    4. Click the didPools parent folder of the API endpoint and click 'Run'
    5. Deselect All API endpoints first and select the POST request for didPool only
    6. Upload your csv file under Run Configuration > Data File

           7. Click Run

    Note: you can add the phone numbers without the '+' character as you can include it in the request body.

    Numbers must include the country code.



    ------------------------------
    Niel Vicente
    DAMAC Properties Co. LLC
    ------------------------------



  • 3.  RE: Bulk load non-sequential DID ranges and numbers

    Posted 27 days ago

    Hi Niel, Appreciate your detailed response.  I'm going to give it a try.  

    Thanks again, Lisa



    ------------------------------
    Lisa Schifilliti
    Northwell Health
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources