Assets

Create an asset

Changed on
post/assets

Request

  • Base URL
    https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage
  • URL
    https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/assets
  • Auth
    API key in header x-api-key

Request body

titlestring required
status'uninstalled' | 'installed' | 'retired' required
customer_idinteger nullable

Existing customer id.

maintenance_agreement_idinteger nullable

Existing maintenance agreement id.

asset_category_idinteger nullable

Existing asset category id.

asset_type'company' | 'customer'
is_templateboolean
tagstring
locationstring

Location string for example "Some street 1, City, State, Zip Code".

install_dateinteger nullable

Unix timestamp.

manufacturerstring

Mannufacturer name.

modelstring

Model name.

model_numberstring
serial_numberstring
model_yearinteger
model_detailsstring
warranty_expirationinteger

10 digits.

labor_warranty_expirationinteger

10 digits.

warranty_informationstring
labor_warranty_informationstring
conditionstring
issuesstring
notesstring
job_idsinteger[]

Array of existing job ids to associate the asset.

location_idinteger nullable

Existing location id.

Response

Created

errorboolean

false when the request succeeds.

responseobject

The created record.

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      removed the success response with the status

    • 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 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 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 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 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 success response with the status