-
Notifications
You must be signed in to change notification settings - Fork 0
Contacts
Michael Newman edited this page Jul 15, 2017
·
5 revisions
See Contacts at Xero Developer for more information.
see the home page for application setup.
$xero->contacts()->get();$contactId = '7f01ac80-bd2a-4aad-acaa-80b4b606ae49';
$xero->contacts()->get($contactId);$xml = '
<Contacts>
<Contact>
...
</Contact>
</Contacts>
';
$xero->contacts()->create($xml)$contactId = '7f01ac80-bd2a-4aad-acaa-80b4b606ae49';
$xml = '
<Contacts>
<Contact>
...
</Contact>
</Contacts>
';
$xero->contacts()->update($contactId, $xml);$xero->contacts()->modifiedAfter('2017-03-28T12:00:00')->get();$xero->contacts()->where('Name.contains("pty")')->get();//Ascending
$xero->contacts()->order('Name')->get();
//Descending
$xero->contacts()->order('Name', 'DESC')->get();$xero->contacts()->page(1)->get();$ids = '595eed82-68e5-11e7-907b-a6006ad3dba0, 595ef016-68e5-11e7-907b-a6006ad3dba0'
$xero->contacts()->ids($ids)->get();$xero->contacts()->includeArchived()->get();$xero->contacts()->summarizeErrors()->create();