cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Mobile Location via V2 REST API

SOLVED
Highlighted
Newbie

Get Mobile Location via V2 REST API

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

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Get Mobile Location via V2 REST API

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 5

Re: Get Mobile Location via V2 REST API

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

Re: Get Mobile Location via V2 REST API

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.

Re: Get Mobile Location via V2 REST API

Hi Kevin,

thank you very much for the fast answer!

It would great, if we could use this via the V2 API soon (can I vote for this somewhere )

Until then, it would be a possibility for us to mix V1 and V2. If you have any code samples on using this, it would be great if you could provide them to us.

Thanks,

Marc

Re: Get Mobile Location via V2 REST API

Hi Mark

V1 SOAP that works with MobileLocation is located under: https://[YOUR-URL].axeda.com/webservices/services/MobileLocationService?wsdl

Hth

M

Re: Get Mobile Location via V2 REST API

For completeness:

V1 WSDLs - check this URL for list of available WSDLs

https://[YOUR-URL].axeda.com/webservices/services

V2 WADL

https://[YOUR-URL].axeda.com/services/v2/rest?_wadl