Assets

Replace an asset

Replaces one asset with another for the specified work order, or when the work order has no asset, attaches it.
<br />Successful response returns AssetId and information about asset validation. <br />Note: A work order and an asset should belong to the same trade and location. <br />Note: This method cannot be used if a work order has more than one asset attached.

put/assets/workorders/{workorderId}/attach

Request

Path parameters

workorderIdinteger required

Unique numeric identifier of the work order you want to assign an asset to. To retrieve IDs of work orders, use the GET /workorders method.

Request body

AssetIdinteger

Unique numeric identifier of the asset you want to attach to a work order.

Response

The ID of the asset attached to the work order is in the response.

AssetIdinteger

ID of the asset that was attached to the work order

ValidationRequiredboolean

Indicates whether or not this asset requires validation

AssetValidatedboolean

The current validation status of this asset

Changes

No recorded changes to this operation across all 1 revision of this API.