Always get 204 when trying to get Related Record with PHP API
Hi everyone,
we have the following problem. We have the following Lookup Field for the Leads:
The API name for the related list is defined as "hafner_list":
A test lead looks like this:
When I use the PHP SDK as here:
$id = "357036000000258721"; // id of Testendverbraucher
$relatedId = "357036000000258720"; // id of Max Hafner
$operations = new RelatedRecordsOperations('hafner_list', 'Leads');
$headerInstance = new HeaderMap();
$record = $operations->getRelatedRecord($relatedId, $id, $headerInstance);
I always get a 204 error.
What am I doing wrong?