1
Samples of using SmarterTrack API from a WindowsForm dot Net application
Question asked by Edhy Rijo - 11/2/2023 at 6:34 AM
Answered
Hi, I need to be able to create SmarterTrack users with their API, but I cannot find any sample code to do this from a WindowsForm dot Net application.
I have reviewed the documentation and some of the threads I have been able to find but so far no sample code on using any of the API calls like CreateUser2, etc.
I would appreciate anybody to just share some sample code in VB.NET or C# or share some links where I can get more information.
Thanks in advance for your help.


2 Replies

Reply to Thread
0
Adriel Blick Replied
To create SmarterTrack users with their API, you need to use the web service methods that are available in the SmarterTrack installation. One of the methods that you can use to create a user is CreateUser2, which takes a username, password, email address, display name, and other optional parameters, and returns a user ID and a success flag.

0
Tony Scholz Replied
Employee Post Marked As Answer
To review the API you can go to Settings -> API Documentation. This should lead you to your installs version of the API. Here is an up to date example ( https://portal.smartertools.com/Services2/

As Adriel mentioned the CreateUser2 option will work for this. 

Thank you
Tony Scholz System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com

Reply to Thread