Skip to content

Using batch_api to retrieve companies #434

@gmhawash

Description

@gmhawash

This is by far the worst documentation I've ever encountered. I have been unable to figure out how to use the batch api to retrieve the list of companies and their properties.

I want to get the list of all companies and get two properties from them, customer and name.

Here is what I am doing:

client.crm.companies.batch_api.read({body: {properties: %w(customer name)}})

No matter what I try, I am getting a success response but no results.

I did something similar with the basic_api using get_all and that used to work.

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions