associateVehicleId API Endpoint

This section lists the APIs needed to associate a vehicle Id to a beacon's unique UUID. Before proceeding, please note the following:

Refer to Zendrive Server APIs for an understanding of how Zendrive server APIs are organized.

associateVehicleId PUT API Details

PUT URL: https://api.zendrive.com/v1/beacon

Beacons can be created and configured with a unique ID using the HTTP PUT method.

Headers

Name
Type
Description

Authorization*

String

API KEY <APIKEY>

Content-Type*

String

application/json

Request Body

Name
Type
Description

uuid*

String

beacon uuid

major*

String

beacon major version

minor*

String

beacon minor version

vehicle id*

String

Associated vehicle (if existing)

{
    // Response
}

associateVehicleId GET API Details

GET URL: https://api.zendrive.com/<v1>/beacon

Beacons configured with a unique ID can be retrieved using the HTTP GET method.

Headers

Name
Type
Description

Authorization*

String

API KEY <APIKEY>

Content-Type*

String

application/json

Request Body

Name
Type
Description

uuid*

String

Unique beacon Id

major*

String

Beacon major version

minor*

String

Beacon minor version

{
    // “uuid”:“uuid1”
       “major”:1
       “minor”:
       “vehicle_id”:”vehicle1_id”
    //
}

Response Body

{
    // “uuid”:“uuid1”
       “major”:1
       “minor”:
       “vehicle_id”:”vehicle1_id”
    //
}

Was this helpful?