Legacy Dev Forum Posts

 View Only

Sign Up

Delete contacts based on a conditions

  • 1.  Delete contacts based on a conditions

    Posted 06-05-2025 18:07

    puneeth | 2024-03-13 12:06:51 UTC | #1

    Hi,

    We wanted delete contacts based on business conditions. Could you please let me know if you support an endpoint to meet the requirements?

    Regards, Puneeth


    Dieguit0 | 2024-03-13 13:25:26 UTC | #2

    Me parece que necesitas 2 endpoint.

    1. filtrar contactos externos por la condición requerida.

    /api/v2/externalcontacts/contacts

    Parameter

    Location

    Description

    pageSize

    query

    (integer) Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000)

    pageNumber

    query

    (integer) Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000)

    q

    query

    (string) User supplied search keywords (no special syntax is currently supported)

    sortOrder

    query

    (string) The External Contact field to sort by. Any of: firstName, lastName, middleName, title. Direction: asc, desc. e.g. "firstName:asc", "title:desc"

    expand

    query

    (array) which fields, if any, to expand. Valid values: externalOrganization, externalDataSources

    1. eliminar el contacto que encontraste.

    /api/v2/externalcontacts/contacts/{contactId}

    Parameter

    Location

    Description

    contactId

    path

    (string, required) ExternalContact ID


    puneeth | 2024-03-14 13:25:57 UTC | #3

    Thank you for you response. Unfortunately, your proposed solution does not fit our requirement.


    tim.smith | 2024-03-14 13:34:37 UTC | #4

    Those are the endpoints for working with external contacts. You would fetch contacts, evaluate the business logic you desire in your application, and delete the contacts you desire based on that logic.


    system | 2024-04-14 13:34:37 UTC | #5

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