I'm newbie on A.C API/SDK. I'm looking for solution for connecting my future C# dev. to my ActiveCollab self hosted install.
I finding a API on GitHub:https://github.com/sfarbota/c-sharp-activecollab-feather-sdk But i think the cod it not write for the self Hosted !?
Any body have a samples of code for doing that ?
best thanks for your help.
JB Baron
I'm trying that: in example project, in main fn from programm.cs:
private static void Main(string[] args)
{
//Put the new value
ConfigurationManager.AppSettings["CloudInstanceID"] = "";
ConfigurationManager.AppSettings["ApiKey"]="";
Client.apiVersion = "5";
Client.url = "http://my.AC-SelfHosted.fr/" + ConfigurationManager.AppSettings["CloudInstanceID"];
Client.key = ConfigurationManager.AppSettings["ApiKey"];
//i'm trying with IssuToken (like AC SDK)
Client.IssueToken("myUser@Email-login.com", "My_Pasw", "Client Name", "Vendor Name", false);
var users = Client.GetJson(Client.Get("users"));
foreach (KeyValuePair<string, object> user in users)
{...}
But it not working, the debug return error in Post fn from Connector.cs.