본문으로 바로가기

MyGeotab SDK Filter Exception Event Search on an array of ruleIds

DBene-1858
원글 작성자

Hey Guys,

 

We're trying to limit the amount of exception data requested for a given fleet in our solution and was wondering if there is way to filter exception event searches using a ruleId array. So something like this:

 

api.call("Get", { "typeName": "ExceptionEvent", "search" : { "fromDate": "2025-03-22T16:30:00.000Z", "toDate": "2025-03-22T18:00:00.000Z", "ruleSearch": { "id": ["aqCjVZJKxTEWVQ4tGfMDD_w", "RuleJackrabbitStartsId", "a5dUhU3z0Q0yI4DdmZPI3nQ", "adA08bZw-kUiSFflNEnikIw"], }, }, }, function(result) { console.log("Done: ", result); }, function(e) { console.error("Failed:", e); });

Not sure what is the proper way of achieving this as we're not looking to filter based on baseType or Groups but based on a set of ruleIds (that includes both custom and stock ruleIds)

대화에 참여하기

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

최고 답변

You'll want to do each rule in a multicall. Let me know if that's what you're looking for!

답글 1개

You'll want to do each rule in a multicall. Let me know if that's what you're looking for!

여전히 궁금한 점이 있으신가요?