Legacy Dev Forum Posts

 View Only

Sign Up

Get all ContacLists with PureCloud API

  • 1.  Get all ContacLists with PureCloud API

    Posted 06-05-2025 18:13

    Jose_Ramirez | 2018-05-15 18:38:43 UTC | #1

    Hello guys, I'm not getting all the contactList created with or whithout sdk. It always return the same data whithout filters and changing pageNumber, and the filters arent working, I tried Contains, BeginsWith, etc,. I want to retrieved all the contactlists that begins or contains a date in yyyymmdd format.

    I'm using this api [/api/v2/outbound/contactlists]

    I want to get all the contactlists because I need it for the campaigns results.

    Thanks for the help.


    tim.smith | 2018-05-16 13:05:28 UTC | #2

    I just tested GET /api/v2/outbound/contactlists and specifying the pageNumber query param is working correctly for me. Can you provide a correlation ID of you getting page 1 and one for getting page 2 please?


    Jose_Ramirez | 2018-05-16 13:33:34 UTC | #3

    HI,

    I tried GET /api/v2/outbound/contactlists?includeImportStatus=true&includeSize=true&pageSize=100&pageNumber=10

    and

    GET /api/v2/outbound/contactlists?includeImportStatus=true&includeSize=true&pageSize=100&pageNumber=1&filterType=Contains&name=20180509

    The first one no matther the pageNumber it always return the same data and the second one I get the next data

    { "entities": [], "pageSize": 100, "pageNumber": 1, "total": 0, "selfUri": "/api/v2/outbound/contactlists?pageSize=100&pageNumber=1", "firstUri": "/api/v2/outbound/contactlists?pageSize=100&pageNumber=1", "lastUri": "/api/v2/outbound/contactlists?pageSize=100&pageNumber=1", "pageCount": 0 }

    Thanks


    system | 2018-06-16 13:33:37 UTC | #4

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