
Murray Russell - 2017-02-19 15:26:11 -
In reply to message 4 from Manuel Lemos
Please forgive my ignorance. Your class makes the connection wtih Intuit QyickBooks and I can now see the access_token_secret. The QuickBooks API states to collect all customer data it requires:-
GET https://quicbooks.api.intuit.com/v3/company/123145744995499/query?query=select * from Customer
The 123145744995499 is the RealmID
I get the impression I should be passing this in some form from the callAPI method of your OAuth class and if that is correct, am having a problem with structuring the parameters.
$selectstmt = 'select * from Customer';
$url = 'https://quicbooks.api.intuit.com/v3/company/123145744995499/query?query='.$selectstmt;
$method = 'GET';
$parameters = '';
$options = '';
$response = '';
$client->callAPI($url, $method, $parameters, $options, &$response);
Can you advise how their requirement should be formatted in your OAuth callAPI method please.