MaterialAssembly
Resource
Materials
Module
Endpoints | URI | Access Control | Description |
---|---|---|---|
save | POST /api/MaterialAssembly/save |
Admin or Module WRITE | |
find | GET /api/MaterialAssembly/find |
Admin or Module READ | |
get | GET /api/MaterialAssembly/get |
Admin or Module READ | |
save-batch | POST /api/MaterialAssembly/save-batch |
Admin or Module WRITE | |
delete | POST /api/MaterialAssembly/delete |
Admin or Module WRITE | |
compileCachedRelations | GET /api/MaterialAssembly/compileCachedRelations |
Endpoint level permissions |
Property | Type | Description |
---|---|---|
id |
number | |
slug |
string | |
description |
string | |
unit_type |
string | |
price_per_assembly |
number | |
price_per_unit |
number | |
price_per_segment |
number | |
labour_hrs_per_assembly |
number | |
labour_hrs_per_unit |
number | |
labour_hrs_per_segment |
number | |
note_unit |
string | |
note_linear |
string | |
note_segments |
string | |
created_at |
datetime | |
updated_at |
datetime | |
updated_by |
number |
Setting | |
---|---|
Pagination Limit (when page parameter is set) |
None |
Default Sort Order |
description ASC |
Related Resource | Key | Relationship to MaterialAssembly | Property |
---|---|---|---|
Material | material_id |
Owns Many | Material |
MaterialAssemblyItem | assembly_id |
Owns Many | MaterialAssemblyItem |
AssemblyTag | tag_id |
Owns Many | AssemblyTag |