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