Create Asset Action
Changed onRecords an action against an asset (e.g. INSTALL, REMOVE, REPLACE, a status change). This is what populates Asset History. REPLACE creates two history rows: a REMOVE on this asset and an INSTALL on meta_data.replaced_asset.
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/assets/{asset_uid}/actions
- AuthAPI key in header x-api-key
Path parameters
Request body
Response
200
Changes
- breaking
the
/request property type changed fromarraytoobject - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
/ - info
added the new
NEED_REPAIRenum value to the request property/ - info
added the new
OFFLINEenum value to the request property/ - info
added the new
ONLINEenum value to the request property/ - info
removed the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking