Create Asset Action

Changed on

Records 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.

post/assets/{asset_uid}/actions

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/assets/{asset_uid}/actions
  • Auth
    API key in header x-api-key

Path parameters

asset_uidstring required

Request body

Response

200

type'success'
messagestring

Changes

    • breaking

      the / request property type changed from array to object

    • 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_REPAIR enum value to the request property /

    • info

      added the new OFFLINE enum value to the request property /

    • info

      added the new ONLINE enum 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