Back to oDesk.com » Love the way you work.

Welcome to the oDesk Community! Connect here with fellow clients, contractors, and oDesk staff. Please review our Usage Policy.

API Integration

Use webservices APIs to build your own oDesk applications

GDS error

I am trying to get financial report by this code

$url = "http://www.odesk.com/gds/finreports/v2/provider_companies/117428/earnings?tq=SELECT amount where date >='2014-03-21'&tqx=out:json"

but it's showing me error

object(stdClass)#2 (3) {
["version"]=>
string(3) "0.6"
["status"]=>
string(5) "error"
["errors"]=>
array(1) {
[0]=>
object(stdClass)#3 (2) {
["reason"]=>
string(12) "unauthorized"
["message"]=>
string(16) "401 Unauthorized"
}
}
}

Can any one help me please?

Vote Result

----------
Score: 0.0, Votes: 0