Skip to main content
1-Visitor
May 21, 2014
Solved

Get Mobile Location via V2 REST API

  • May 21, 2014
  • 5 replies
  • 3700 views

Dear Axeda folks,

we are currently trying out the V2 REST API, that is shown in https://mentor.axeda.com/.

With this, we want to replace the Groovy Scripts we are currently using, so that we do not have to maintain them, but just use the REST API.

When trying to migrate the functionality that one of our Groovy Scripts delivers, I found a point that confused me:

How do I get a Mobile Location of an Asset via the REST API?

I managed to get the location (which is fixed), but not the coordinates, the Asset is currently located at (and since we're building a tracking application, the current location of an Asset changes very often and is very importent for the application).

Does anybody know how to do this?

Thanks,

Marc

Best answer by kholbrook

Howdy Marc,

Right now we do not have MobileLocation support rolled into V2. You are free to mix up the V1 and V2 services, using the V1 ID construct as the V2 SystemID when making API calls.

We hope to support V2 MobileLocations soon.

If you are still stuck, we can help you with some example code.

Hope this helps,

-K

5 replies

kholbrook1-VisitorAnswer
1-Visitor
May 22, 2014

Howdy Marc,

Right now we do not have MobileLocation support rolled into V2. You are free to mix up the V1 and V2 services, using the V1 ID construct as the V2 SystemID when making API calls.

We hope to support V2 MobileLocations soon.

If you are still stuck, we can help you with some example code.

Hope this helps,

-K

10-Marble
May 22, 2014

One additional clarification:

In the Axeda data model we distinguish between the Location (associated with the Organization object and describing things like the address) and the MobileLocation (the geolocation) of an asset.