I've been trying to Generate Billing Reports for a Specific Provider on Odesk API using PHP. I tried using the URL below with authentication:
https://www.odesk.com/gds/finreports/v2/providers/12345/billings?tq=SELECT amount
WHERE date >= '2009-10-01' AND date <= '2009-10-31'&tqx=out:json
This always gives me a 401 Unauthorized
error. I'm not sure what I'm doing wrong or if there are additional steps that I need to perform. Any suggestion would be much appreciated.