Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

contactpersons #46

Open
nikunjtrapasiya opened this issue Jun 19, 2015 · 3 comments
Open

contactpersons #46

nikunjtrapasiya opened this issue Jun 19, 2015 · 3 comments

Comments

@nikunjtrapasiya
Copy link

Hi Guys,

I am querying contact end point but i am not receiving contactpersons details as i do receive in API Previewer.

Also how can i query based on UpdatedDateUTC field in PHP API?

@mhlavac
Copy link

mhlavac commented Jul 9, 2015

@nikunjtrapasiya works for me, but here is how I do it:

$modifiedAfterDate = new \DateTime('2015-01-01');
$response = $xeroOAuth->request('GET', 'Contacts', 'core', [
    'page' => 1,
    'ModifiedAfter' => sprintf('DateTime(%s)', $modifiedAfterDate->format('Y,m,d'))
]);
var_dump($response);

@lionello
Copy link

Not working for me either. Tested with core API v2.0.

@alveri
Copy link

alveri commented May 16, 2017

is it possible to get Contact persons using contact name or contact id?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants