Entities Attachments

Create Entity Attachment

Changed on
post/v1/entities/{id}/attachments

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header Authorization

Path parameters

idstring required

Entity ID

Request body multipart/form-data

filestring binary required

File attachment

typestring

Type of file

primaryboolean

Is this the primary attachment

namestring required

name of the file including extension

Response

Created

archivedboolean
assetIdstring
createdAtstring
descriptionstring
idstring
imageIdstring nullable
insuredboolean
itemCountnumber

Container-specific (populated when querying locations)

lifetimeWarrantyboolean

Warranty

locationIdstring nullable

LocationID is set only when this entity has its own location, nil when inherited. Same name as the EntityUpdate field so a GET/PUT round trip doesn't pin an inherited location or drop an explicit one.

manufacturerstring
modelNumberstring
namestring
notesstring

Extras

purchaseDatestring

Purchase

purchaseFromstring
purchasePricenumber
quantitynumber
serialNumberstring
soldDatestring

Sold

soldNotesstring
soldPricenumber
soldTostring
syncChildEntityLocationsboolean
thumbnailIdstring nullable
totalPricenumber
updatedAtstring
warrantyDetailsstring
warrantyExpiresstring

Changes