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

Does API provide this functionality? #53

Open
AkhileshDahat opened this issue Nov 24, 2015 · 0 comments
Open

Does API provide this functionality? #53

AkhileshDahat opened this issue Nov 24, 2015 · 0 comments

Comments

@AkhileshDahat
Copy link

if (isset($_REQUEST['users'])) {
        $response = $XeroOAuth->request('GET', $XeroOAuth->url('Users', 'core'), array('Where' => $_REQUEST['where']));
        if ($XeroOAuth->response['code'] == 200) {
            $users = $XeroOAuth->parseResponse($XeroOAuth->response['response'], $XeroOAuth->response['format']);
            echo "There are " . count($users->Users[0]). " users in this Xero organisation, the first one is: 
"; pr($users->Users[0]->User); } else { outputError($XeroOAuth); } }

To get the user information after connecting with xero?

@AkhileshDahat AkhileshDahat changed the title Does this API provide this functionality? Does API provide this functionality? Nov 24, 2015
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

1 participant