Discussion for FogBugz Plugin developers
I tried to use an ActionToken from the Plugin API with the hope of being able to simply pass it on to a Web API call, but alas I get "Not logged on". It was a long shot!
Is there any way of being able to get a token that works for the Web API from within the Plugin API that I can then pass on to my Web API using swf? It seems a bit of a waste to have to go through the Web API logon cmd to get a token when I already have a CPerson.
Also, is there a function I can call to get the absolute URL of the Web API handler (api.asp), and maybe its version details, without having to work out the base URL, grab api.xml, parse it, and then start calling the Web API?
Thursday, May 14, 2009
Thanks David, much appreciated.
Saturday, May 16, 2009
With being able to get a valid token for the user to use via the Web API, and knowing the baseUrl as mentioned in another thread, we're pretty much set as it's dead easy to then grab baseUrl + "api.xml" to get the Web API config and start using it with a valid token.
Thanks for implementing these two features.
Thursday, May 21, 2009
This topic is archived. No further replies will be accepted.Other recent topics