function getContacts($params = array())
{
- $response = $this->XeroOAuth->request('GET', $this->XeroOAuth->url('Contacts', 'core'), $params, '', 'json');
-
+ $response = $this->XeroOAuth->request('GET', $this->XeroOAuth->url('Contacts', 'core'), $params, '', 'xml');
+ print_R($response);exit;
if (empty($this->XeroOAuth->response['code']) || $this->XeroOAuth->response['code'] != 200) {
throw new Exception('Xero Error: ' . $this->XeroOAuth->response['response']);
}