Skip to main content
Omnitracs Knowledge Base

Force Driver Logoff

forceDriverLogoff

DEPRECATED

 

This web service is deprecated and was disabled on 8/19/2017. All calls to the service will return exception 001.

 

Given a driver ID and optional company ID, this web service logs off the specified driver.

void forceDriverLogoff(string companyId, string driverId) throws WSException

  • companyId: (optional) A string of maximum length 10 that specifies the unique company identifier. If no company is specified, the company of the authorized user will be used.
  • driverId: A string of maximum length 10 that specifies the unique driver identifier.

 

Authorization Requirements

 

The credentials supplied with this method call (as specified in the accompanying WS-Security header) must be authorized to the following application(s) and their associated role-based permissions.

Required Application Licenses
- Remote Integration

Required User Permissions
- Can use QTRACS
- Can set up drivers
- Can see drivers

Customer integrators are authorized to their own company's data only. 

 

Sample XML Request

 

Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.

<soap:Body>

   <forceDriverLogoff>

      <companyId>MYCOMPANY</companyId>

      <driverId>JSMITH</driverId>

   </forceDriverLogoff>

</soap:Body>

 

 

Sample XML Response

 

<soapenv:Body>

   <p861:forceDriverLogoffResponse xmlns:p861="http://websvcs.qtracswebws"/>

</soapenv:Body>

 

Exceptions

 

001 Unknown Error. (Force Logoff operation no longer supported)
003 Company not authorized for integration.
004 User not authorized.
005 Invalid company id.
006 Invalid driver id.
007 Driver not logged onto vehicle.
008 Delete driver action pending.
009 Global/Driver login not enabled.

  • Was this article helpful?