Entity Templates

Create Entity from Template

Changed on
post/v1/templates/{id}/create-item

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

Template ID

Request body

descriptionstring
entityTypeIdstring

EntityTypeID is the entity type selected by the user. When set it takes precedence; when empty the repository falls back to the group's default.

locationIdstring nullable
namestring required
parentIdstring required
quantitynumber
tagIdsstring[]

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