MyGeotab 5.7 has a new API that is incompatible with previous versions of the API. When 5.7 is released the documentation for the new API will be made available. Currently only beta testers are on servers running 5.7 and they should have been notified of this. What server and database are you on?
I have an existing .NET application built on SDK 2012.11.21. Looks like some methods are no longer working, such as GetDevices, because I get an exception saying that the method cannot be found. The sample application provided also gives the same result:
WebServerInvoker exception in a call to 'GetDevice': 'The method "GetDevice" could not be found. Verify the method name and ensure all method parameters are included.'
at Geotab.Checkmate.Web.WebServerInvoker.CheckForError(String method, Dictionary`2 jsonResponse)
at Geotab.Checkmate.Web.WebServerInvoker.Invoke(String method, Type returnType, Object parameters)
at Geotab.Checkmate.API.CallImpl[T](String method, Type type, Object parameters)
at Geotab.Checkmate.API.Call[T](String method, Object parameters)
at GetLogsSample.GetLogsForm1.getDeviceButton_Click(Object sender, EventArgs e) in C:\Code\GeotabSDK57\Example_3_GetLogs\GetLogsForm1.cs:line 85
Are you in the process of updating the server and SDK? Thanks!
Please sign in to leave a comment.
Thanks for replying Nathan. I'm using one of your test databases called "Geotabdemo55". I believe this database was moved to a 5.7 server, explaining why my app no longer works. I'm working on a POC that stores Geotab data inside a mobile database running alongside a vehicle dashboard written in C#. This allows the vehicle's driver to see any relevant information in real-time and does not necessitate a permanent connection to headquarters.
I may just wait until 5.7 is released to update my application.
in addition to waiting you can take a look at the new SDK documentation here: https://my3.geotab.com/sdk/
Though some of these documents may change before release the core concepts of the new API will not and the objects should not change.