Creates a new asset. asset_code and asset_name are required and must be non-blank.

post/assets

Request

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

Query parameters

check_duplicate_serial_numberboolean

If true, rejects the request with 409 when another asset already has the same asset_serial_number.

Request body

Response

200

Changes

    • breaking

      removed the enum value 'DAYS' of the request property //

    • breaking

      removed the enum value 'MONTHS' of the request property //

    • breaking

      removed the enum value 'YEARS' of the request property //

    • info

      added the new optional query request parameter check_duplicate_serial_number

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

    • info

      added the new MONTHS enum value to the request property //

    • info

      added the new YEARS enum value to the request property //