Skip to content

Instantly share code, notes, and snippets.

@proofek
Created July 25, 2013 16:06
Show Gist options
  • Save proofek/6081235 to your computer and use it in GitHub Desktop.
Save proofek/6081235 to your computer and use it in GitHub Desktop.
Arguments passed to SugarCRM API when asked to fetch relationship details
<?php
$args = array(
'module' => 'Accounts',
'id' => '37a5710e-665f-43a5-5108-51f10f6c7daf',
'fields' => array('id', 'name'),
'link_name_to_fields' => array(
array(
'name' => 'related_user_link',
'value' => array("id", "name", "phone_work")
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment