Assign pending telematics device
POST/v2/assets/:assetId/pending-telematics-devices
Assign a pending telematics device category to an existing asset.
A pending telematics device is a category (e.g. KIN) rather than a specific device type - a category covers one or more physical device types (e.g. KIN, KIN2).
If the asset is not found, a 404 error is returned.
A pending telematics device and an attached telematics device are mutually exclusive - if the target asset already has an attached telematics device, a 400 error is returned.
The operation is idempotent - assigning a device that is already pending has no additional effect.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Pending telematics device was successfully assigned.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Internal server error