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:
|