Hi Chris,
The API should now be enabled on the Sandbox server. Sorry for the
inconvenience.
Kind regards,
GraemeOn 27 July 2012 19:48, Chris Dean admin@digitaltactics.co.uk wrote:
Hi I’m trying to get up and running quickly, so have followed the quick
start guide and am using the oauth playground to fire some operations at the
APII seem to be getting some strange results (app is authorized and api access
is turned on in my sandbox account)A GET call to https://api.sandbox.freeagent.com/v2/company - works
A POST call to https://api.freeagent.com/v2/timeslips with
{ “timeslips”:[
{
“url”:“https://api.freeagent.com/v2/timeslips/2”,
“user”:“https://api.freeagent.com/v2/users/1”,
“project”:“https://api.freeagent.com/v2/projects/1”,
“task”:“https://api.freeagent.com/v2/tasks/1”,
“dated_on”:“2011-08-15”,
“hours”:“12.0”,
“updated_at”:“2011-08-16T13:32:00Z”,
“created_at”:“2011-08-16T13:32:00Z”
}
]}Gives
{“errors”:{“error”:{“message”:“API access is disabled for this company”}}}
Anyone know why? What am I doing wrong?
–
You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/freeagent_api/-/iRFSppQzsVUJ.
To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.
Graeme Boyd
Senior Software Engineer
Web. freeagent.com Blog. freeagent.com/blog
Twitter. @freeagent Facebook. facebook.com/freeagentapp
40 Torphichen Street, Edinburgh, EH3 8JB
FreeAgent Central Ltd. Registered in sunny Scotland SC316774