Basic Information

Detailed Information

Report Data

The Contact Datatype

The following datatype will be JSONified and returned for methods which retrieve Contact values. Currently, only GET methods are provided for Contacts.

public class Contact
{
publicUInt64ContactID; // A unique identifier for the Contact.
publicStringName; // Display Name of Contact
publicStringEmail; // Email address of Contact
publicStringPhoneNumber; // Phone Number of Contact (optional)
publicStringSMS; // Text/SMS number for Contact (optional)
publicBooleanIsDriver; // Shows as TRUE if Contact is setup to be a Driver
publicStringEIN; // EmployeeID (optional)
publicStringFOB; // FOB (null, unless FOB based drivers are in use)
publicUInt64?AssignedDeviceID; // Shows the currently assigned DeviceID, and NULL if not assigned to a vehicle
}

The Contacts Methods

The following list provides a reference for all valid /Device HTTP requests.

  • GET v1/Contact?account={account}

    Summary: Returns Contact rows for all Contacts associated with the account

    Returns: Contact rows (JSON)

    Parameters:

    • account: (Optional) If this parameter is included, the method will be run on behalf of the specified child Account (if valid). (FromUri)