CheckCredentials()

Abstract

The CheckCredentials() API function is an XmlHttp function to check that the current username, password and token combination are still valid.

API Address

https://api.tracker-rms.com/WebAPI/XmlHttpCheckCredentials.aspx

Request Format

The input format XML for this function is as follows:

<?xml version="1.0"?>
<TrackerRMS>
    <WebAPI>
        <CheckCredentials>
            <UserCredentials>
                <SecurityToken></SecurityToken>
                <Username></Username>
                <Password></Password>
            </UserCredentials>
        </CheckCredentials>
    </WebAPI>
</TrackerRMS>
Parameter Notes
<SecurityToken> This will be the 40 character security token obtained from the LogonUser() function
<Username> The username is typically the email address for the user in the format name@domain.com
<Password> The password will be the same as their web based password and can contain a combination of upper case, lower case and alpha-numeric characters

Response Format

The function will return the standard RequestStatus section (see RequestStatus section) depending on the success of the API call with 0 (zero) signifying a valid set of credentials.

<?xml version="1.0"?>
<TrackerRMS>
    <WebAPI>
        <RequestStatus>
            <ReturnCode></ReturnCode>
            <ReturnDescription></ReturnDescription>
            <ReturnRecordCount></ReturnRecordCount>
        </RequestStatus>
    </WebAPI>
</TrackerRMS>