Skip to main content

system.mes.location.getLocationPropertyValueReferences

Description

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

Syntax

system.mes.location.getLocationPropertyValueReferences(id)

Parameters

ParameterTypeDescription
idStringThe ULID of the location property value to retrieve.

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 location 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 location property value.

Code Examples

# Retrieve the references for the location property value specified
property_value_references = system.mes.location.getLocationPropertyValueReferences('01JJ7AFN0V-ZZS5XSAR-05CGEXBW')

# Output the location property value references
print(property_value_references)