Routes
Assets
Fields
Attach Field to Asset
This request attaches a Suggested Field to an Asset. The field and asset must belong to the same location.
For example, let's say I have an Asset called Truck - 001. This Truck doesn't have any Fields attached to it, but I want to track its Make so I can set that this Truck is a Dodge. This is the request I would use to attach the Make Field to the Truck and then I would use the Update Asset Field Value request to set it to Dodge.
| Parameter | Type | Required | Description |
|---|---|---|---|
| locationID | Int | Required | The ID of the Location the Asset exists at. |
| fieldID | Int | Required | The ID of the existing Field to add to the Asset. |
put/v2/assets/{assetID}/fields
Request
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Attach Field to Asset
Changes
No recorded changes to this operation across all 4 revisions of this API.