Add device to vehicle

put

Add device to vehicle

This endpoint allows you to add an existing device to an existing vehicle. You can use this route with a device with no previous vehicle or a device already assigned to a different vehicle. If the device is already assigned to a different vehicle, the association will be updated. The old vehicle will no longer have a relationship with this device, and the new vehicle will from that point forward. If the vehicle already has a relationship with a different device, that association will be updated also. The old device will no longer have a relationship with this vehicle. This route will return the updated details of the device passed in.

Resource URL

https://api-sandbox.arity.com/registration/v2 /devices/{deviceId}/vehicle/{vehicleId}

Header Parameters


Name Values Description
Authorization
(required)

Access Token

Request Body

deviceId Id of the existing device null true

vehicleId Id of the existing vehicle null true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request response

  • 401
    401

    Unauthorized response

  • 500
    500

    Server Error response

Resource Summary

Security

Content Type

application/json

Category

Devices

Name Type Description
Name Type Description

Working...

© 2019 Arity, LLC. All rights reserved.  | Privacy Policy | Terms of Use | Legacy APIs