Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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
Solved! Go to Solution.
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
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
Hi Mark
V1 SOAP that works with MobileLocation is located under: https://[YOUR-URL].axeda.com/webservices/services/MobileLocationService?wsdl
Hth
M
For completeness:
V1 WSDLs - check this URL for list of available WSDLs
https://[YOUR-URL].axeda.com/webservices/services
V2 WADL