Constants¶
- class terminusgps.wialon.constants.WialonMonthDayMask(*values)¶
Wialon day of the month mask.
Usage:
# First of the month >> WialonMonthDayMask.DAY_1 > 1 # 16th day of the month >> WialonMonthDayMask.DAY_16 > 32768
- class terminusgps.wialon.constants.WialonMonthMask(*values)[source]¶
Wialon month mask.
- JANUARY = 1¶
January.
- FEBRUARY = 2¶
February.
- MARCH = 4¶
March.
- APRIL = 8¶
April.
- MAY = 16¶
May.
- JUNE = 32¶
June.
- JULY = 64¶
July.
- AUGUST = 128¶
August.
- SEPTEMBER = 256¶
September.
- OCTOBER = 512¶
October.
- NOVEMBER = 1024¶
November.
- DECEMBER = 2048¶
December.
- class terminusgps.wialon.constants.WialonWeekDayMask(*values)[source]¶
Wialon day of the week mask.
- MONDAY = 1¶
Monday.
- TUESDAY = 2¶
Tuesday.
- WEDNESDAY = 4¶
Wednesday.
- THURSDAY = 8¶
Thursday.
- FRIDAY = 16¶
Friday.
- SATURDAY = 32¶
Saturday.
- SUNDAY = 64¶
Sunday.
- class terminusgps.wialon.flags.AccessFlag(*values)[source]¶
Access flags for Wialon API calls.
- VIEW_ITEM_BASIC = 1¶
View this item’s basic properties
- VIEW_ITEM_DETAILED = 2¶
View this item’s detailed properties
- MANAGE_ITEM_ACCESS = 4¶
Manage access to this item
- DELETE_ITEM = 8¶
Delete this item
- RENAME_ITEM = 16¶
Rename this item
- VIEW_CUSTOM_FIELDS = 32¶
View this item’s custom fields
- MANAGE_CUSTOM_FIELDS = 64¶
Manage this item’s custom fields
- MANAGE_UNMENTIONED_FIELDS = 128¶
Manage this item’s unmentioned properties
- MANAGE_ICON = 256¶
Manage this item’s icon
- QUERY_REPORTS = 512¶
Query this item’s reports or messages
- MANAGE_ACL = 1024¶
Manage this item’s ACL propagated objects
- MANAGE_ITEM_LOG = 2048¶
Manage this item’s log
- VIEW_ADMIN_FIELDS = 4096¶
View this item’s administrative fields
- MANAGE_ADMIN_FIELDS = 8192¶
Manage this item’s administrative fields
- VIEW_ATTACHED_FILES = 16384¶
View this item’s attached files
- MANAGE_ATTACHED_FILES = 32768¶
Manage this item’s attached files
- UNIT_MANAGE_CONNECTIVITY = 1048576¶
Manage this unit/group’s connectivity settings
- UNIT_MANAGE_SENSORS = 2097152¶
Manage this unit/group’s sensors
- UNIT_MANAGE_COUNTERS = 4194304¶
Manage this unit/group’s counters
- UNIT_DELETE_MESSAGES = 8388608¶
Delete this unit/group’s messages
- UNIT_EXECUTE_COMMANDS = 16777216¶
Execute this unit/group’s commands
- UNIT_REGISTER_EVENTS = 33554432¶
Register this unit/group’s events
- UNIT_VIEW_CONNECTIVITY = 67108864¶
View this unit/group’s connectivity settings
- UNIT_VIEW_SERVICE_INTERVALS = 268435456¶
View this unit/group’s service intervals
- UNIT_MANAGE_SERVICE_INTERVALS = 536870912¶
Manage this unit/group’s service intervals
- UNIT_IMPORT_MESSAGES = 1073741824¶
Import this unit/group’s messages
- UNIT_EXPORT_MESSAGES = 2147483648¶
Export this unit/group’s messages
- UNIT_VIEW_COMMANDS = 17179869184¶
View this unit/group’s commands
- UNIT_MANAGE_COMMANDS = 34359738368¶
Manage this unit/group’s commands
- UNIT_MANAGE_TRIP_DETECTOR = 274877906944¶
Manage this unit/group’s trip detector and fuel consumption
- UNIT_MANAGE_ASSIGNMENTS = 549755813888¶
Manage this unit/group’s job, notification, route, and retranslator assignments
- USER_MANAGE_ACCESS_RIGHTS = 1048576¶
Manage this user’s access rights
- USER_ACT_AS_OTHER = 2097152¶
Can assume the identity of this user (login as)
- USER_MANAGE_FLAGS = 4194304¶
Manage this user’s access flags
- USER_VIEW_PUSH_MESSAGES = 8388608¶
View this user’s push messages
- USER_MANAGE_PUSH_MESSAGES = 16777216¶
Manage this user’s push messages
- RETRANSLATOR_MANAGE_PROPERTIES = 1048576¶
Manage this retranslator’s properties (including start/stop)
- RETRANSLATOR_MANAGE_UNITS = 33554432¶
Manage this retranslator’s available units
- RESOURCE_VIEW_NOTIFICATIONS = 1048576¶
View this resource’s notifications
- RESOURCE_MANAGE_NOTIFICATIONS = 2097152¶
Manage this resource’s notifications
- RESOURCE_VIEW_POIS = 4194304¶
View this resource’s points of interest
- RESOURCE_MANAGE_POIS = 8388608¶
Manage this resource’s points of interest
- RESOURCE_VIEW_GEOFENCES = 16777216¶
View this resource’s geofences
- RESOURCE_MANAGE_GEOFENCES = 33554432¶
Manage this resource’s geofences
- RESOURCE_VIEW_JOBS = 67108864¶
View this resource’s jobs
- RESOURCE_MANAGE_JOBS = 134217728¶
Manage this resource’s jobs
- RESOURCE_VIEW_REPORT_TEMPLATES = 268435456¶
View this resource’s report templates
- RESOURCE_MANAGE_REPORT_TEMPLATES = 536870912¶
Manage this resource’s report templates
- RESOURCE_VIEW_DRIVERS = 1073741824¶
View this resource’s drivers
- RESOURCE_MANAGE_DRIVERS = 2147483648¶
Manage this resource’s drivers
- RESOURCE_MANAGE_ACCOUNT = 4294967296¶
Manage this resource’s account
- RESOURCE_VIEW_ORDERS = 8589934592¶
View this resource’s orders
- RESOURCE_MANAGE_ORDERS = 17179869184¶
Manage this resource’s orders
- RESOURCE_VIEW_TRAILERS = 17592186044416¶
View this resource’s trailers
- RESOURCE_MANAGE_TRAILERS = 35184372088832¶
Manage this resource’s trailers
- ROUTE_MANAGE_ROUTE = 1048576¶
Manage this route’s properties
- FULL_ACCESS = 1152921504606846975¶
Sets all possible access flags to an item
- class terminusgps.wialon.flags.DataFlag(*values)[source]¶
Data flags for Wialon API calls.
- RESOURCE_BASE = 1¶
This resource’s basic properties
- RESOURCE_CUSTOM_PROPERTIES = 2¶
This resource’s custom properties
- RESOURCE_BILLING_PROPERTIES = 4¶
This resource’s billing properties
- RESOURCE_CUSTOM_FIELDS = 8¶
This resource’s custom fields
- RESOURCE_MESSAGES = 32¶
This resource’s messages
- RESOURCE_GUID = 64¶
This resource’s GUID
- RESOURCE_ADMIN_FIELDS = 128¶
This resources administrative fields
- RESOURCE_DRIVERS = 256¶
This resource’s drivers
- RESOURCE_JOBS = 512¶
This resource’s jobs
- RESOURCE_NOTIFICATIONS = 1024¶
This resource’s notifications
- RESOURCE_POIS = 2048¶
This resouce’s points of interest
- RESOURCE_GEOFENCES = 4096¶
This resource’s geofences
- RESOURCE_REPORT_TEMPLATES = 8192¶
This resource’s report templates
- RESOURCE_DRIVER_ATTACHABLE_UNITS = 16384¶
This resource’s units allowed for driver attachment
- RESOURCE_DRIVER_GROUPS = 32768¶
This resource’s driver groups
- RESOURCE_TRAILERS = 65536¶
This resource’s trailers
- RESOURCE_TRAILER_GROUPS = 131072¶
This resource’s trailer groups
- RESOURCE_TRAILER_ATTACHABLE_UNITS = 262144¶
This resource’s units allowed for trailer attachment
- RESOURCE_ORDERS = 524288¶
This resource’s orders
- RESOURCE_GEOFENCE_GROUPS = 1048576¶
This resource’s geofence groups
- RESOURCE_TAGS = 2097152¶
This resource’s tags (passengers)
- RESOURCE_TAG_ATTACHABLE_UNITS = 4194304¶
This resource’s units allowed for tag attachment
- RESOURCE_TAG_GROUPS = 8388608¶
This resource’s tag groups (passengers)
- RESOURCE_ALL = 4611686018427387903¶
All possible resource data flags
- RETRANSLATOR_BASE = 1¶
This retranslator’s basic properties
- RETRANSLATOR_CUSTOM_PROPERTIES = 2¶
This retranslator’s custom properties
- RETRANSLATOR_BILLING_PROPERTIES = 4¶
This retranslator’s billing properties
- RETRANSLATOR_GUID = 64¶
This retranslator’s GUID
- RETRANSLATOR_ADMIN_FIELDS = 128¶
This retranslator’s admin fields
- RETRANSLATOR_CONFIGURATION = 256¶
This retranslator’s state and configuration
- RETRANSLATOR_UNITS = 512¶
This retranslator’s bound units
- RETRANSLATOR_ALL = 4611686018427387903¶
All possible retranslator data flags
- ROUTE_BASE = 1¶
This route’s basic properties
- ROUTE_CUSTOM_PROPERTIES = 2¶
This route’s custom properties
- ROUTE_BILLING_PROPERTIES = 4¶
This route’s billing properties
- ROUTE_GUID = 64¶
This route’s GUID
- ROUTE_ADMIN_FIELDS = 128¶
This route’s administrative fields
- ROUTE_CONFIGURATION = 256¶
This route’s configuration
- ROUTE_CHECKPOINTS = 512¶
This route’s checkpoints
- ROUTE_SCHEDULES = 1024¶
This route’s schedules
- ROUTE_ROUNDS = 2048¶
This route’s rounds
- ROUTE_ALL = 4611686018427387903¶
All possible route data flags
- UNIT_BASE = 1¶
This unit’s basic properties
- UNIT_CUSTOM_PROPERTIES = 2¶
This unit’s custom properties
- UNIT_BILLING_PROPERTIES = 4¶
This unit’s billing properties
- UNIT_CUSTOM_FIELDS = 8¶
This unit’s custom fields
- UNIT_IMAGE = 16¶
This unit’s image/icon
- UNIT_MESSAGES = 32¶
This unit’s messages
- UNIT_GUID = 64¶
This unit’s GUID
- UNIT_ADMIN_FIELDS = 128¶
This unit’s administrative fields
- UNIT_ADVANCED_PROPERTIES = 256¶
This unit’s advanced properties
- UNIT_CURRENT_MOMENT_COMMANDS = 512¶
This unit’s available for current moment commands
- UNIT_LAST_MESSAGE = 1024¶
This unit’s last message and position
- UNIT_SENSORS = 4096¶
This unit’s sensors
- UNIT_COUNTERS = 8192¶
This unit’s counters
- UNIT_MAINTENANCE = 32768¶
This unit’s maintenance
- UNIT_REPORT_CONFIGURATION = 131072¶
This unit’s report configuration, trip detector, and fuel consumption
- UNIT_AVAILABLE_COMMANDS = 524288¶
This unit’s available commands
- UNIT_MESSAGE_PARAMETERS = 1048576¶
This unit’s message parameters
- UNIT_CONNECTION_STATUS = 2097152¶
This unit’s connection status
- UNIT_POSITION = 4194304¶
This unit’s position
- UNIT_PROFILE_FIELDS = 8388608¶
This unit’s profile files
- UNIT_ALL = 4611686018427387903¶
All possible unit data flags
- GROUP_BASE = 1¶
This group’s basic properties
- GROUP_CUSTOM_PROPERTIES = 2¶
This group’s custom properties
- GROUP_BILLING_PROPERTIES = 4¶
This group’s billing properties
- GROUP_CUSTOM_FIELDS = 8¶
This group’s custom fields
- GROUP_IMAGE = 16¶
This group’s image/icon
- GROUP_GUID = 64¶
This group’s GUID
- GROUP_ADMIN_FIELDS = 128¶
This group’s administrative fields
- GROUP_ALL = 4611686018427387903¶
All possible group data flags
- USER_BASE = 1¶
This user’s basic properties
- USER_CUSTOM_PROPERTIES = 2¶
This user’s custom properties
- USER_BILLING_PROPERTIES = 4¶
This user’s billing properties
- USER_CUSTOM_FIELDS = 8¶
This user’s custom fields
- USER_MESSAGES = 32¶
This user’s messages
- USER_GUID = 64¶
This user’s GUID
- USER_ADMIN_FIELDS = 128¶
This user’s administrative fields
- USER_OTHER_PROPERTIES = 256¶
This user’s other properties
- USER_NOTIFICATIONS = 512¶
This user’s notifications
- USER_ALL = 4611686018427387903¶
All possible user data flags
- class terminusgps.wialon.flags.SettingsFlag(*values)[source]¶
User settings flags for Wialon API calls.
- USER_DISABLED = 1¶
This user is disabled
- USER_CANNOT_CHANGE_PASSWORD = 2¶
This user cannot change their password
- USER_CAN_CREATE_ITEMS = 4¶
This user can create objects
- USER_CANNOT_CHANGE_SETTINGS = 16¶
This user cannot change settings
- USER_CAN_SEND_SMS = 32¶
This user can send SMS messages
- class terminusgps.wialon.flags.TokenFlag(*values)[source]¶
Token flags for Wialon API calls.
- ONLINE_TRACKING = 256¶
Online tracking
- VIEW_ACCESS = 512¶
View access to most data
- MANAGE_NONSENSITIVE = 1024¶
Modification of non-sensitive data
- MANAGE_SENSITIVE = 2048¶
Modification of sensitive data
- MANAGE_CRITICAL = 4096¶
Modification of critical data, including message deletion
- COMMUNICATION = 8192¶
Modification of communication data
- MANAGE_ALL = -1¶
Unlimited operation as authorized user