본문으로 바로가기

MyGeotab API: Add zoneType instead of zone while adding new custom Rule

bikiran
원글 작성자

While adding a new custom rule through the MyGeotab dashboard, we have the option to add "Zone" or "Zone Type" associated with the new rule.
사용자가 업로드한 이미지 1

However, using the MyGeotab API, it seems only adding a "zone" while defining the "condition" of the rule is supported.

사용자가 업로드한 이미지 2

How to add "zoneType" instead of "zone" in the "condition" of a new custom rule through MyGeotab API?

대화에 참여하기

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

최고 답변

bikiran
원글 작성자

[SOLVED]
Replacing the "zone" object with a "zoneType" object in the API call, does the job.
Perhaps the API documentation missed mentioning the "zoneType" parameter for the "condition" object.

답글 2개

bikiran
원글 작성자

[SOLVED]
Replacing the "zone" object with a "zoneType" object in the API call, does the job.
Perhaps the API documentation missed mentioning the "zoneType" parameter for the "condition" object.

EishiFUN
커뮤니티 관리자

@bikiran Thank you for following up when you found the answer. We appreciate this contribution to the communities collective knowledge. Please feel free to reach out if you ever have any other questions.

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