Move Vehicle API
Manage vehicles and their associated hardware devices in the MOVE SDK. This includes creating, editing, deleting vehicles and managing device assignments like Bluetooth or Beacon hardware.
Create Vehicle
Endpoint
POST /v20/vehicleDescription Create a new vehicle in the specified project.
Query Parameters
projectId(string, required): Project to which the vehicle is assigned
Headers
Authorization(string, required): Bearer JWT
Request Body
{
"name": "Fleet Car A",
"props": {
"color": "white",
"plate": "ABC-1234"
}
}Response
Get Vehicle
Endpoint
Description Retrieve details for a vehicle by its UUID.
Path Parameters
vehicleId(string, required): UUID of the vehicle
Query Parameters
projectId(string, required)
Headers
Authorization(string, required)
Response
Edit Vehicle
Endpoint
Description Update the metadata of a vehicle (not its devices).
Path Parameters
vehicleId(string, required): UUID
Query Parameters
projectId(string, required)
Request Body
Response
Delete Vehicle
Endpoint
Description Deletes a vehicle and all related data. This action is irreversible.
Path Parameters
vehicleId(string, required): UUID
Query Parameters
projectId(string, required)
Headers
Authorization(string, required)
Response
Http Response Code: 201
Add / Update Vehicle Devices
Endpoint
Description Assign or update hardware devices for the vehicle. This can be either Bluetooth (BT) or Beacon (BEACON) devices.
Allowed type values:
type values:BTBEACON
Path Parameters
vehicleId(string, required): UUID
Query Parameters
projectId(string, required)
Headers
Authorization(string, required)
Request Body
BEACON: uuid, major and minor
BT: only Device Id
Response
Remove Device
Endpoint
Description Unassigns a specific device from the vehicle.
Query Parameters
projectId(string, required)device(string, required): ID of the device to remove
Path Parameters
vehicleId(string, required): UUID
Headers
Authorization(string, required)
Response
Returns vehicle without deleted device
Last updated