This doesn’t actually create a new location, it just sends location information to region admins. Please send a region or lat/lon combo to get suggestions to the right people.
Param name | Description |
---|---|
location_name
required |
Name of new location Validations:
|
region_id
optional |
ID of the region that the location belongs in Validations:
|
lat
optional |
Latitude Validations:
|
lon
optional |
Longitude Validations:
|
location_street
optional |
Street address of new location Validations:
|
location_city
optional |
City of new location Validations:
|
location_state
optional |
State of new location Validations:
|
location_zip
optional |
Zip code of new location Validations:
|
location_phone
optional |
Phone number of new location Validations:
|
location_website
optional |
Website of new location Validations:
|
location_type
optional |
Type of location Validations:
|
location_operator
optional |
Machine operator of new location Validations:
|
location_zone
optional |
Machine operator of new location Validations:
|
location_comments
optional |
Comments Validations:
|
location_machines
optional |
List of machines at new location Validations:
|
location_machines_ids
optional |
List of machine ids at new location Validations:
|
This will also return a list of machines at each location
Param name | Description |
---|---|
region
required |
Name of the Region you want to see events for Validations:
|
by_location_name
optional |
Name of location to search for Validations:
|
by_location_id
optional |
Location ID to search for Validations:
|
by_machine_id
optional |
Machine ID to find in locations Validations:
|
by_ipdb_id
optional |
IPDB ID to find in locations Validations:
|
by_opdb_id
optional |
OPDB ID to find in locations Validations:
|
by_machine_name
optional |
Find machine name in locations Validations:
|
by_city_id
optional |
City to search for Validations:
|
by_state_id
optional |
State to search for Validations:
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
by_zone_id
optional |
Zone ID to search by Validations:
|
by_operator_id
optional |
Operator ID to search by Validations:
|
by_type_id
optional |
Location type ID to search by Validations:
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
by_is_stern_army
optional |
Send only locations labeled as Stern Army Validations:
|
no_details
optional |
Omit lmx/condition data from pull Validations:
|
with_lmx
optional |
Include location machine details such as comments Validations:
|
regionless_only
optional |
Show only regionless locations Validations:
|
Param name | Description |
---|---|
id
required |
ID of location Validations:
|
description
optional |
Description of location Validations:
|
website
optional |
Website of location Validations:
|
phone
optional |
Phone number of location Validations:
|
location_type
optional |
ID of location type Validations:
|
operator_id
optional |
ID of the operator Validations:
|
This sends you the closest location to your lat/lon (defaults to within 50 miles). It includes a list of machines at the location.
Param name | Description |
---|---|
lat
required |
Latitude Validations:
|
lon
required |
Longitude Validations:
|
by_type_id
optional |
Location type ID to search by Validations:
|
by_machine_id
optional |
Machine ID to find in locations Validations:
|
by_operator_id
optional |
Operator ID to search by Validations:
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
max_distance
optional |
Closest location within “max_distance” miles, with a max of 500 Validations:
|
no_details
optional |
Omit data that app does not need from pull Validations:
|
send_all_within_distance
optional |
Send all locations within max_distance param, or 50 miles. Validations:
|
This sends locations within the sw_corner and ne_corner bounding box. It includes a list of machines at the location.
Param name | Description |
---|---|
swlat
required |
SW_Latitude Validations:
|
swlon
required |
SW_Longitude Validations:
|
nelat
required |
NE_Latitude Validations:
|
nelon
required |
NE_Longitude Validations:
|
by_type_id
optional |
Location type ID to search by Validations:
|
by_machine_id
optional |
Machine ID to find in locations, returns all versions in group Validations:
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version Validations:
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
by_operator_id
optional |
Operator ID to search by Validations:
|
user_faved
optional |
User ID of Faved Locations Validations:
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
no_details
optional |
Omit data that app does not need from pull Validations:
|
This sends you the closest location to your address (defaults to within 50 miles). It includes a list of machines at the location.
Param name | Description |
---|---|
address
required |
Address Validations:
|
max_distance
optional |
Closest location within “max_distance” miles, max 500 Validations:
|
send_all_within_distance
optional |
Send all locations within max_distance param, or 50 miles. Validations:
|
no_details
optional |
Omit data that app does not need from pull Validations:
|
manufacturer
optional |
Locations with machines from this manufacturer Validations:
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
Param name | Description |
---|---|
id
required |
ID of location Validations:
|
no_details
optional |
Omit lmx/condition data from pull Validations:
|
Param name | Description |
---|---|
id
required |
ID of location Validations:
|
machines_only
optional |
Simple list of only machine names Validations:
|
Param name | Description |
---|---|
name
required |
city/state name part Validations:
|
Param name | Description |
---|---|
name
required |
name to fuzzy search with Validations:
|
Fetch top 10 cities by number of locations
Fetch top 10 cities by number of machines
Fetch a count of each location type
Fetch countries by number of locations