SevenShores\Hubspot\Resources\Contacts::getBatchByIds PHP Method

getBatchByIds() public method

This method will also return you much of the HubSpot lead "intelligence" for each requested contact record. The endpoint accepts many query parameters that allow for customization based on a variety of integration use cases.
See also: http://developers.hubspot.com/docs/methods/contacts/get_batch_by_vid
public getBatchByIds ( array $vids, array $params = [] ) : Response
$vids array Array of visitor IDs
$params array Array of optional parameters ['property', 'propertyMode', 'formSubmissionMode', 'showListMemberships', 'includeDeletes']
return SevenShores\Hubspot\Http\Response
    function getBatchByIds($vids, $params = [])
    {
        $endpoint = "https://api.hubapi.com/contacts/v1/contact/vids/batch/";
        $params['vid'] = $vids;
        $queryString = build_query_string($params);
        return $this->client->request('get', $endpoint, [], $queryString);
    }