Avatar

Difference between SetExceptionRuleWithConditions and Add method

0
Deepanshu Pathak

Please sign in to leave a comment.

6 comments

1
Avatar

Deepanshu,

Yes that is correct. In order to add a rule you use the Add method.

Mauricio Muniz 1 vote
0
Avatar

Hi Mauricio, thanks for the reply. 

When I created a rule via the Add method, its not visible on my geotab portal but can be accessed using Get method using rule id. Please let me know why the rule is not visible in the geotab portal?

Deepanshu Pathak 0 votes
0
Avatar

Deepanshu,

There could be many reasons, would need to see the complete entity you passed with your Add<Rule> call.

Mauricio Muniz 0 votes
0
Avatar

It was a bug from my side in the api call, rule is now visible once I changed the condition in proper format in the call.

Deepanshu Pathak 0 votes