Constructors

Methods

  • Retrieve a contact by its ID (contactId) or by a unique property (idProperty). You can specify what is returned using the properties query parameter. Retrieve a contact

    Parameters

    • contactId: string

      The ID of the contact to retrieve.

    • Optionalproperties: string[]

      A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • OptionalpropertiesWithHistory: string[]

      A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • Optionalassociations: string[]

      A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • OptionalidProperty: string

      The name of a property whose values are unique for this object type

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<SimplePublicObjectWithAssociations>

  • Retrieve a contact by its ID (contactId) or by a unique property (idProperty). You can specify what is returned using the properties query parameter. Retrieve a contact

    Parameters

    • contactId: string

      The ID of the contact to retrieve.

    • Optionalproperties: string[]

      A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • OptionalpropertiesWithHistory: string[]

      A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • Optionalassociations: string[]

      A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • OptionalidProperty: string

      The name of a property whose values are unique for this object type

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<SimplePublicObjectWithAssociations>>

  • Retrieve all contacts, using query parameters to specify the information that gets returned. Retrieve contacts

    Parameters

    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionalproperties: string[]

      A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • OptionalpropertiesWithHistory: string[]

      A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.

    • Optionalassociations: string[]

      A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<CollectionResponseSimplePublicObjectWithAssociationsForwardPaging>

  • Retrieve all contacts, using query parameters to specify the information that gets returned. Retrieve contacts

    Parameters

    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionalproperties: string[]

      A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.

    • OptionalpropertiesWithHistory: string[]

      A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.

    • Optionalassociations: string[]

      A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.

    • Optionalarchived: boolean

      Whether to return only results that have been archived.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<CollectionResponseSimplePublicObjectWithAssociationsForwardPaging>>

  • Update a contact by ID (contactId) or unique property value (idProperty). Provided property values will be overwritten. Read-only and non-existent properties will result in an error. Properties values can be cleared by passing an empty string. Update a contact

    Parameters

    Returns Promise<SimplePublicObject>