Hey guys!
I was following the documentation (PHP composer) and I was able to retrieve user details using this construction:
$response = $client->request(Client::METHOD_GET, 'User/' . $id);
However it returns everything, for instance, related opportunities, can I limit and pull first name and phone only?
I was trying this:
$response = $client->request(Client::METHOD_GET, 'User/' . $id, [
'select' => 'id', 'firstName', 'phoneNumber'
]);
But it still returns everything, any ideas?
Thanks
I was following the documentation (PHP composer) and I was able to retrieve user details using this construction:
$response = $client->request(Client::METHOD_GET, 'User/' . $id);
However it returns everything, for instance, related opportunities, can I limit and pull first name and phone only?
I was trying this:
$response = $client->request(Client::METHOD_GET, 'User/' . $id, [
'select' => 'id', 'firstName', 'phoneNumber'
]);
But it still returns everything, any ideas?
Thanks
Comment