Change Performance Extract Driver
changeExtractDriver
Change a SensorTRACS performance extract's associated driver.
void changeExtractDriver(AssetIdentifier vehicle, String dataEndTS, String currentDriverId, String newDriverId) throws WSException
- vehicle: An AssetIdentifier containing the SCAC and ID of the vehicle whose extract is to be changed.
- dataEndTS: A string that contains the extract's timestamp expressed in the following format in GMT timezone: yyyy-mm-ddThh:mm:ssZ.
- currentDriverId: A string containing the current driver identifier of the performance extract you wish to change.
- newDriverId: A string containing the driver identifier you wish to associate to the performance extract.
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 Performance Monitoring
- Can maintain setup/configuration
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.
|
Sample XML Response
An empty response conveys success. If there was an error, an exception would have been thrown.
|
Exceptions
001 Unknown Error.
002 Required field not specified.
003 Company not authorized for integration.
004 User is not authorized.
005 Vehicle invalid.
006 Extract Date invalid.
007 Current Driver ID invalid.
008 New Driver ID invalid.
009 No extract found for specified parameters.