Hi all,
I'm using FME to connect to this SDK with a httpcaller transformer. However, if I want to retrieve the ExceptionEvent (where rules are broken), i need to include additional information in my GET.
This is my current get: https://my42.geotab.com/apiv1/Get?ExceptionEventSearch={"database":"xxx","userName":"pwiles@stars.ca","password":"xxx"}
I get a error when trying to use this GET. The error that is returned is the following:
_response_body (encoded: UTF-8): {"error":{"message":"The method \\\\u0022Get\\\\u0022 could not be found. Verify the method name and ensure all method parameters are included.","code":-32601,"data":{"id":"11773710-4ab7-4507-b527-4ad8508f3ea5","type":"MissingMethodException","requestIndex":0},"name":"JSONRPCError","errors":[{"message":"The method \\\\u0022Get\\\\u0022 could not be found. Verify the method name and ensure all method parameters are included.","name":"MissingMethodException"}]},"jsonrpc":"2.0","requestIndex":0}
If I had rules in place for these exceptions and wanted to retrieve the three rule names in the last 5 minutes, how would I write this statement above?
These are the rule names:
TEST ECC: CORP Possible Accident
ECC: CORP Airbag Deployed detected
ECC: CORP Possible Accident ECC
Attached is my workspace that includes the broken Httpcaller.
Geotab's API reference documentation is located in the following location:
https://my.geotab.com/sdk/#/api
Thanks for your time,
Paul