GET /api/v1/region/:region/location_machine_xrefs.json
Get all machines at locations in a single region

Supported Formats

json

Params

Param name Description
region
required

Name of the Region you want to see machines for

Validations:

  • Must be a String

limit
optional

Limit the number of results that are returned

Validations:

  • Must be a Integer


GET /api/v1/location_machine_xrefs/:id.json
Get info about a single lmx

Supported Formats

json

Params

Param name Description
id
required

LMX id

Validations:

  • Must be a Integer


POST /api/v1/location_machine_xrefs.json
Find or create a machine at a location

Supported Formats

json

Params

Param name Description
location_id
required

Location ID to add machine to

Validations:

  • Must be a Integer

machine_id
required

Machine ID to add to location

Validations:

  • Must be a Integer

condition
optional

Notes on machine’s condition

Validations:

  • Must be a String


PUT /api/v1/location_machine_xrefs/:id.json
Update a machine's condition at a location

Supported Formats

json

Params

Param name Description
id
required

LMX id

Validations:

  • Must be a Integer

condition
required

Notes on machine’s condition

Validations:

  • Must be a String


DESTROY /api/v1/location_machine_xrefs/:id.json
Remove a machine from a location

Supported Formats

json

Params

Param name Description
id
required

LMX id

Validations:

  • Must be a Integer


GET /api/v1/location_machine_xrefs/top_n_machines.json
Show the top N machines on location

Supported Formats

json

Params

Param name Description
n
optional

Number of machines to show

Validations:

  • Must be a String


GET /api/v1/location_machine_xrefs/most_recent_by_lat_lon.json
Returns the most recently added machines near transmitted lat/lon

This sends you the most recent machines added near your lat/lon (defaults to within 50 miles).

Supported Formats

json

Params

Param name Description
lat
required

Latitude

Validations:

  • Must be a String

lon
required

Longitude

Validations:

  • Must be a String

max_distance
optional

Closest location within “max_distance” miles, with a max of 500

Validations:

  • Must be a String


PUT /api/v1/location_machine_xrefs/:location_machine_xref_id/ic_toggle.json
Toggle a machine's Insider Connected status

Supported Formats

json

Params

Param name Description
location_machine_xref_id
required

LMX id

Validations:

  • Must be a Integer

ic_enabled
optional

Sets the Insider Connected status for this machine

Validations:

  • Must be one of: true, false, 1, 0.