GetAuthentication Token


DRTrack APIs are built using Microsoft Windows Communication Foundation (WCF) framework that is SOAP based and implements WS-Security standards.

The service includes a full of set of APIs for data regarding orders, accounts, routes, and more. You can view the full WSDL here .

A unique URL is provided for each customer to access the service.

Testing the Service #

To test the DRTrack service, you will need to create a client and use it to call the service.

class Test
    static void Main()
        DRTrackWebServiceClient client = new DRTrackWebServiceClient();
        // Use the 'client' variable to call operations on the service.
        // Always close the client.

Authentication #

Each API call must include an authentication token.

The GetAuthenticationToken API returns a token that is valid for 24 hours and can be used for all requests within that timeframe.

GetAuthenticationToken Request Parameters #

Name Description Type
username The username for the account.
password The password for the account.
applicationName The name of the Trimble MAPS application. (e.g. DRTrack)

Note: Please contact if you are a current DRTrack customer and you don’t know these required parameters.

Sample GetAuthenticationToken Method #

public string token { get; set; }
public Authentication GetAuthenticationObj()
            AuthenticationResponseEnvelope response = wc.GetAuthenticationToken("username", "password", "applicationName");
            if (response != null && response.authenticationField != null)
                MyToken = response.authenticationField.authenticationTokenField;
                if (response.responseStatusField != null && response.responseStatusField.errorField != null)
                    var error = response.responseStatusField.errorField.FirstOrDefault();
                    if (error != null)
                        MessageBox.Show(error.codeField + error.messageField);
            return new Authentication
                authenticationTokenField = MyToken

Sample XML Request #

<?xml version="1.0" encoding="utf-8"?>
<GetAuthenticationToken xmlns:xsi=>

Sample XML Response #

<?xml version="1.0" encoding="utf-8"?>
<AuthenticationResponseEnvelope xmlns:xsd="" xmlns:xsi="">
  <ExtensionData />
    <ExtensionData />
Last updated March 24, 2021.