Solved it myself. But now I have a new question.
This works:
curl -X POST "https://api.clarizen.com/V2.0/services/data/query" -H "Authorization: ApiKey MyKey" -H "Content-Type: application/json" -d '{
"q": "SELECT ProjectAssignment, Date, WorkItem.SYSID, WorkItem.Name, User.Name, User.RevenueRegularRate FROM RLTimePhaseMonthly",
"paging": {
"offset": 0,
"limit": 10
}
But this doesn’t (contains a WHERE filter):
curl -X POST "https://api.clarizen.com/V2.0/services/data/query" -H "Authorization: ApiKey MyKey" -H "Content-Type: application/json" -d '{
"q": "SELECT ProjectAssignment, Date, WorkItem.SYSID, WorkItem.Name, User.Name, User.RevenueRegularRate FROM RLTimePhaseMonthly WHERE User.RevenueRegularRate > 0",
"paging": {
"offset": 0,
"limit": 10
}
}'
Anyone know why????