Legacy Dev Forum Posts

 View Only

Sign Up

Find all users with 'work_phone_2' number

  • 1.  Find all users with 'work_phone_2' number

    Posted 06-05-2025 18:08

    James_Giordano | 2022-05-02 15:47:16 UTC | #1

    I'm trying to decide the easiest way to comb through all users in our organization and create an excel list of any who have a number listed in their 'work phone 2' category that isn't an extension. When viewing on the API explorer I can see this is returned under 'addresses' as 'display' : (number)

    I have it set up to run in Python but I have concerns about my approach.

    The object returned is long. So long that I can only query for 5 users at a time and get all the information back to check through. I'm concerned about running so many requests (it would be about 400 requests @ 5 users each). It just doesn't seem like best practice.

    Does anyone know an easier way to query for this or a way to shorten the response a bit so I don't have to send as many requests?

    thanks in advance.

    James Giordano Nationwide IT


    system | 2022-06-02 15:47:24 UTC | #2

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


    This post was migrated from the old Developer Forum.

    ref: 14544