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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Get Mobile Location via V2 REST API

marcm1
1-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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

5 REPLIES 5

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

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.

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

mredel
1-Newbie
(To:marcm1)

Hi Mark

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

Hth

M

mredel
1-Newbie
(To:mredel)

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

Top Tags