system.mes.location.getAllLocations
Description
Retrieves a list of all Locations records in the system.
Syntax
system.mes.location.getAllLocations()
Parameters
Parameter | Type | Description |
---|---|---|
None | - | This method does not take any parameters. |
Returns
Returns a list of JSON objects representing all locations.
Code Examples
# Retrieve all locations
all_locations = system.mes.location.getAllLocations()
# Output the list of locations
print(all_locations)