Skip to main content

system.mes.equipment.getEquipmentPropertyValueReferences

Description

Retrieves a list of references to an Equipment Property Values by its ID.

Permissions

This method requires the EQUIPMENT.READ.GET permission.

Syntax

system.mes.equipment.getEquipmentPropertyValueReferences(id)

Parameters

ParameterTypeNullableDescription
idStringFalseThe ULID of the equipment property value.

Returns

Returns a list of JSON objects. Each JSON object has the following properties:

NameTypeDescription
tableNameStringThe name of the table that the reference is in.
referencesList<JSON Object>List of JSON objects corresponding to references to the equipment property value.

The JSON Objects in references has the following properties:

NameTypeDescription
fkColNameStringThe name of the foreign key column.
idString (ULID)The ULID of the object that is referencing the equipment property value.

Code Examples

references = system.mes.equipment.getEquipmentPropertyValueReferences('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')
print(references)