Attribute
An Attribute is a custom field that records a measurable or descriptive detail of a resource: the noise level of a work environment, the load capacity of a forklift, the size of a PPE item.
Each attribute carries a name, a value and a unit of measure (unit_of_measure_id), and is
attached to a single resource through entity_id and entity_type — a person, a piece of
equipment, a work environment, or a substance.
Use this API to:
- Record details of a resource that its standard fields do not cover
- Find all attributes of a resource (filter by
entity_id) - Update a measured value after an inspection
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Section titled “Operations” POST /v2/attribute/index
Returns a paginated and filterable list of attributes for a given entity.
Use POST to allow complex filters via JSON payload.
The entity_id parameter is required and can be provided as a query parameter or in the request body.
Query Parameters
Section titled “Query Parameters ”The ID of the entity to retrieve attributes for. Required.
Request Body
Section titled “Request Body ”Parameters for searching attributes
object
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}Example
{ "filter": { "name": "Room Size" }, "per-page": 50, "page": 1}Responses
Section titled “ Responses ”List of attributes
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}Example
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}Headers
Section titled “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/attribute/view/{id}
Retrieve a single attribute by its unique ID.
Path Parameters
Section titled “Path Parameters ”The ID of the attribute to retrieve
Responses
Section titled “ Responses ”Attribute found
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
Example
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}Attribute not found
create
Section titled “create” POST /v2/attribute/create
Create a new attribute for an entity.
Request Body required
Section titled “Request Body required ”The attribute to create
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
Example
{ "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}Responses
Section titled “ Responses ”Attribute created successfully
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
Example
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Room Size", "description": "The room size", "entity_id": "569bc3c7-ead1-41e8-85ab-fdccf7085c5f", "entity_type": "WORK_ENVIRONMENT", "unit_of_measure_id": "M3", "value": "50"}update
Section titled “update” PUT /v2/attribute/update/{id}
Update an existing attribute by its unique ID.
Path Parameters
Section titled “Path Parameters ”The ID of the attribute to update
Request Body required
Section titled “Request Body required ”The updated attribute
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
Example
{ "name": "Updated Room Size", "value": "60"}Responses
Section titled “ Responses ”Attribute updated successfully
object
The ID of the entity this attribute is associated with.
The type of the entity this attribute is associated with.
Example
{ "attribute_id": "123e4567-e89b-12d3-a456-426655440000", "name": "Updated Room Size", "value": "60"}Attribute not found
delete
Section titled “delete” DELETE /v2/attribute/delete/{id}
Delete an attribute by its unique ID.
If force=true, all related entities will also be deleted.
Path Parameters
Section titled “Path Parameters ”The ID of the attribute to delete
Query Parameters
Section titled “Query Parameters ”Force the deletion of the entity and all related entities
Responses
Section titled “ Responses ”Attribute deleted successfully
If force=false, the operation is interrupted and the list of connected entities that will be deleted in case of confirmation (force=true) is returned
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.