Materials
The API gives the ability to get all material measurement units.
Tenant id (uuid v4)
Returned when the rate limit is exceeded
The API gives the ability to create a new material and specify material properties.
Scenarios for processing the received data
π All required + optional parameters were passed
The system creates material in the system.
UI
Newly created material is added to the Materials page to the {Category} tab and {Subcategory} section, which were passed in the βCREATE a materialβ request.
If
category_namewasn't specified in the request, then material is added to the βWithout categoryβ tab on the Materials page.If
subcategory_namewasn't specified in the request, then material is added to the {Category} tab which was passed in the βCREATE a materialβ request, but added to the βWithout subcategoryβ section on the Materials page.
Tenant id (uuid v4)
Name of the material
Premium Steel RodUUID of the measurement unit for this material
550e8400-e29b-41d4-a716-446655440000External identifier for the material from supplier or other system
MAT-2024-001Detailed description of the material
High-grade steel rod with corrosion resistance, suitable for constructionUUID of the material category
550e8400-e29b-41d4-a716-446655440001UUID of the material subcategory
550e8400-e29b-41d4-a716-446655440002UUID of the material supplier
550e8400-e29b-41d4-a716-446655440003Delivery time information for the material
{"value":3,"unit":"h"}Purchase price of the material in base currency
25.99Current actual price of the material in base currency
28.5Array of material characteristic UUIDs (max 10)
["550e8400-e29b-41d4-a716-446655440004","550e8400-e29b-41d4-a716-446655440005"]Array of tag UUIDs for categorization and filtering
["550e8400-e29b-41d4-a716-446655440006","550e8400-e29b-41d4-a716-446655440007"]Returned when the rate limit is exceeded
Material ID
Tenant id (uuid v4)
Photo url
https://example.com/photos/material-photo.jpgReturned when the rate limit is exceeded
The API gives the ability to update materials properties. Any parameters not provided will be left unchanged.
Material ID
Tenant id (uuid v4)
Name of the material
Premium Steel RodUUID of the measurement unit for this material
550e8400-e29b-41d4-a716-446655440000External identifier for the material from supplier or other system
MAT-2024-001Detailed description of the material
High-grade steel rod with corrosion resistance, suitable for constructionUUID of the material category
550e8400-e29b-41d4-a716-446655440001UUID of the material subcategory
550e8400-e29b-41d4-a716-446655440002UUID of the material supplier
550e8400-e29b-41d4-a716-446655440003Delivery time information for the material
{"value":3,"unit":"h"}Purchase price of the material in base currency
25.99Current actual price of the material in base currency
28.5Status of the material
ACTIVEPossible values: Returned when the rate limit is exceeded
The API gives the ability to add parameter to material.
Material ID
Tenant id (uuid v4)
Returned when the rate limit is exceeded
The API gives the ability to remove parameter from material.
Material ID
Parameter ID
Tenant id (uuid v4)
Returned when the rate limit is exceeded
The API gives the ability to update material parameter value.
Material ID
Parameter ID
Tenant id (uuid v4)
Unique identifier of the parameter value to update
b86fa12a-76fc-46f5-8a3e-bf39e7be4c4eReturned when the rate limit is exceeded
The API gives the ability to add tag to material.
Material ID
Tenant id (uuid v4)
Array of tag UUIDs for categorization and filtering
["550e8400-e29b-41d4-a716-446655440006","550e8400-e29b-41d4-a716-446655440007"]Returned when the rate limit is exceeded
The API gives the ability to remove tag from material.
Material ID
Tag ID
Tenant id (uuid v4)
Returned when the rate limit is exceeded
Last updated