GetAuthentication Token


DRTrack Web Services includes a full of set of APIs for data regarding orders, accounts, and route information. A unique URL is provided for each customer to access the service. Please contact if you are a current DRTrack customer and don’t know your company’s unique URL.

The GetAuthenticationToken API validates User identification info with our Billing and Licensing system. It returns a token that is valid for 24 hours and can be used for all requests within that timeframe.

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.


Each API call must include an authentication token.

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 September 1, 2021.