User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

GUIDE: Add users and devices using SOAP

Tue Jul 30, 2013 6:27 pm

Add users and devices using SOAP based on User Templates

Documentation and .NET C# sample code can be found in the SOAP Platform Kit which is downloadable from here
http://forum.gpsgate.com/topic.asp?TOPIC_ID=8097

Download the SOAP platform kit and open the Visual Studio solution. You can run the form in debug mode to see what is happening. The form accesses SOAP web services in a local installation (if you don't have a local server installation, you should be able to change the four different Web Service Reference URLs in the SOAP project to the server) of GpsGate Server according the the documentation of the SOAP platform kit.

0. After successfully building the Visual Studio solution, run the form project in debug mode. This will open a Windows Form.

1. Add a user with user template (select the user template that the new user will have)
1.1. Go to the form which lets you Add User with template.
1.2. Select the user template that the user will have. Typically this will be the Device user template.
1.3. Enter user info.
1.4 Click Save.

2. Add a device to the user
2.1. Go the the Add Device form.
2.2. Select the user template that contains the user created in step 1, this will fetch the newly created user which will be selectable in the list.
2.3. Select the user.
2.4. Select a device definition.
2.5. Enter device info
2.6. Click Save.

Note that there are also forms that let you list the existing User Templates and Device Definitions in the application.

You should now be able to see the newly created user if you log in to the VehicleTracker application using a browser. If you right click the user and select Edit, it should have the User Type you selected and the device.

Related topics

Useful topics for GpsGate Server developers
http://forum.gpsgate.com/topic.asp?TOPIC_ID=8097

GpsGate Support

zdenek.hynek
Posts: 1
Joined: Wed Jun 11, 2014 4:14 pm
Contact: Website

RE: GUIDE: Add users and devices using SOAP

Wed Jun 11, 2014 4:15 pm

Since adding users and devices is already in place, would be possible to also add support for removing users from given application via SOAP?

User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Add users and devices using SOAP

Wed Jun 11, 2014 4:18 pm

We will consider this for coming updates.

If you have a customer case depending on this feature, please contact support@ gpsgate.com for a further discussion.

Regards,
Johan

GpsGate Support

Victoria
Posts: 13
Joined: Thu Jan 29, 2015 2:52 pm
Location: Israel
Contact: Website

RE: GUIDE: Add users and devices using SOAP

Thu Jan 29, 2015 2:53 pm

Hello,

I have encountered the need to update and remove users via SOAP.
Is it possible?
I would like to do this via SOAP PHP.

Thank you,
Victoria

User avatar
johan
GpsGate
Posts: 15404
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: GUIDE: Add users and devices using SOAP

Thu Jan 29, 2015 3:26 pm

Please take a look at "SOAP Platform Kit" here:
topic.asp?TOPIC_ID=8097

Regards,
Johan

GpsGate Support

Victoria
Posts: 13
Joined: Thu Jan 29, 2015 2:52 pm
Location: Israel
Contact: Website

RE: GUIDE: Add users and devices using SOAP

Mon Feb 09, 2015 12:38 am

Hello Johan,

I looked over the SOAP API documentation (SOAP Web Service Reference) and I couldn't find an option to edit/update users - am I missing something?

Also, after I perform login via SOAP, I would like to have a link to redirect from our website to the GGS vehicle tracker - how can we do that?

Thank you very much for your help!
Victoria

Return to “GpsGate for Developers”