Contract / Events
Change driver by creating a driver change event
This method changes the driver by creating a driver change event and optionally saves an odometer record.
This method requires the ContractEvents:ChangeDriver permission to be associated with your role.
For accessing the API a valid token must be passed in all the queries in the 'Authorization' header.
A valid token is generated by the API and returned by the /authenticate method by supplying a valid username and password.
The following syntax must be used in the 'Authorization' header :
Bearer aaaaaa/bbbbbb.ccccccc.ddddddBody
application/json
JSON payload
[gl_posting_classes]completed_flag_default where posting_class_code = 'DRIVER'
Available options:
yes, noForeign key to fm_contract_event_actions table
Example:
100000Response
application/vnd.catch-e-api.v1+json
Success