How can I retrieve all the phone numbers for a contact using the PHP object-oriented API? I'm only seeing the primary phone available in the API explorer. I want to be able to create a directory of everyone in a certain group, including all their phone numbers, with labels like "home", "work", "mobile".
My query currently looks like this:
$api->Contact->Get(array( 'group' => 6, 'sequential' => 1, 'rowCount' => 100, 'return' => 'custom_4,display_name,email,phone,'. 'street_address,city,state_province,postal_code', 'sort'=>'custom_4,last_name,first_name'));