API Reference

Generate Driver QR Code

Use to generate an access token and secret key for the Driver App QR Code login of a specified driver.

When generating the QR, "access_token" should be represented as "token", example for QR JSON:

{
"token": "0ce8d3a5-fdbb-4022-98e7-8afe8a85b463",
"secret": "5e15089c-b68d-4460-ae1b-02b94323211d",
"region": "us-east-4-gcp"
}

OUTPUT PARAMS

success

boolean

Indicates whether the service completed successfully. The values are:

  • false - the service failed.
  • true - the service succeeded.

message

string

A descriptive message indicating success or the reason for failure.

rc

Int32

The return code of the service.

access_token

GUID

The access token this driver can use for logging into the driver app by QR code.

secret

GUID

The secret key this driver can use for logging into the driver app by QR code.

Language