I am attempting to use PHP-SDK to convert a lead to a contact. I see in the EntityAPIHandler there is a convertRecord function. I am unable to get it to work. I assume I need to use APIResponse as opposed to BulkAPIResponse. I need to get the New contact ID back so I can update the database for next sync operation.
Here is what I have but is prob way off as I am getting a url error
$record = APIRequest::convertRecord( "Leads", $LeadID );
$responseIns = $record->convertRecord($LeadID, $row['OwnerId'] );
print $responseIns ;
Anyone else done this and have an example I can build off of?
Thanks,