Skip to content

# Flags

class terminusgps.wialon.flags.AccessFlag(*values)

  Access flags for Wialon API calls.

  Access Flags Reference

  DELETE_ITEM = 8

    Delete this item

  FULL_ACCESS = 1152921504606846975

    Sets all possible access flags to an item

  MANAGE_ACL = 1024

    Manage this item’s ACL propagated objects

  MANAGE_ADMIN_FIELDS = 8192

    Manage this item’s administrative fields

  MANAGE_ATTACHED_FILES = 32768

    Manage this item’s attached files

  MANAGE_CUSTOM_FIELDS = 64

    Manage this item’s custom fields

  MANAGE_ICON = 256

    Manage this item’s icon

  MANAGE_ITEM_ACCESS = 4

    Manage access to this item

  MANAGE_ITEM_LOG = 2048

    Manage this item’s log

  MANAGE_UNMENTIONED_FIELDS = 128

    Manage this item’s unmentioned properties

  QUERY_REPORTS = 512

    Query this item’s reports or messages

  RENAME_ITEM = 16

    Rename this item

  RESOURCE_MANAGE_ACCOUNT = 4294967296

    Manage this resource’s account

  RESOURCE_MANAGE_DRIVERS = 2147483648

    Manage this resource’s drivers

  RESOURCE_MANAGE_GEOFENCES = 33554432

    Manage this resource’s geofences

  RESOURCE_MANAGE_JOBS = 134217728

    Manage this resource’s jobs

  RESOURCE_MANAGE_NOTIFICATIONS = 2097152

    Manage this resource’s notifications

  RESOURCE_MANAGE_ORDERS = 17179869184

    Manage this resource’s orders

  RESOURCE_MANAGE_POIS = 8388608

    Manage this resource’s points of interest

  RESOURCE_MANAGE_REPORT_TEMPLATES = 536870912

    Manage this resource’s report templates

  RESOURCE_MANAGE_TRAILERS = 35184372088832

    Manage this resource’s trailers

  RESOURCE_VIEW_DRIVERS = 1073741824

    View this resource’s drivers

  RESOURCE_VIEW_GEOFENCES = 16777216

    View this resource’s geofences

  RESOURCE_VIEW_JOBS = 67108864

    View this resource’s jobs

  RESOURCE_VIEW_NOTIFICATIONS = 1048576

    View this resource’s notifications

  RESOURCE_VIEW_ORDERS = 8589934592

    View this resource’s orders

  RESOURCE_VIEW_POIS = 4194304

    View this resource’s points of interest

  RESOURCE_VIEW_REPORT_TEMPLATES = 268435456

    View this resource’s report templates

  RESOURCE_VIEW_TRAILERS = 17592186044416

    View this resource’s trailers

  RETRANSLATOR_MANAGE_PROPERTIES = 1048576

    Manage this retranslator’s properties (including start/stop)

  RETRANSLATOR_MANAGE_UNITS = 33554432

    Manage this retranslator’s available units

  ROUTE_MANAGE_ROUTE = 1048576

    Manage this route’s properties

  UNIT_DELETE_MESSAGES = 8388608

    Delete this unit/group’s messages

  UNIT_EXECUTE_COMMANDS = 16777216

    Execute this unit/group’s commands

  UNIT_EXPORT_MESSAGES = 2147483648

    Export this unit/group’s messages

  UNIT_IMPORT_MESSAGES = 1073741824

    Import this unit/group’s messages

  UNIT_MANAGE_ASSIGNMENTS = 549755813888

    Manage this unit/group’s job, notification, route, and retranslator assignments

  UNIT_MANAGE_COMMANDS = 34359738368

    Manage this unit/group’s commands

  UNIT_MANAGE_CONNECTIVITY = 1048576

    Manage this unit/group’s connectivity settings

  UNIT_MANAGE_COUNTERS = 4194304

    Manage this unit/group’s counters

  UNIT_MANAGE_SENSORS = 2097152

    Manage this unit/group’s sensors

  UNIT_MANAGE_SERVICE_INTERVALS = 536870912

    Manage this unit/group’s service intervals

  UNIT_MANAGE_TRIP_DETECTOR = 274877906944

    Manage this unit/group’s trip detector and fuel consumption

  UNIT_REGISTER_EVENTS = 33554432

    Register this unit/group’s events

  UNIT_VIEW_COMMANDS = 17179869184

    View this unit/group’s commands

  UNIT_VIEW_CONNECTIVITY = 67108864

    View this unit/group’s connectivity settings

  UNIT_VIEW_SERVICE_INTERVALS = 268435456

    View this unit/group’s service intervals

  USER_ACT_AS_OTHER = 2097152

    Can assume the identity of this user (login as)

  USER_MANAGE_ACCESS_RIGHTS = 1048576

    Manage this user’s access rights

  USER_MANAGE_FLAGS = 4194304

    Manage this user’s access flags

  USER_MANAGE_PUSH_MESSAGES = 16777216

    Manage this user’s push messages

  USER_VIEW_PUSH_MESSAGES = 8388608

    View this user’s push messages

  VIEW_ADMIN_FIELDS = 4096

    View this item’s administrative fields

  VIEW_ATTACHED_FILES = 16384

    View this item’s attached files

  VIEW_CUSTOM_FIELDS = 32

    View this item’s custom fields

  VIEW_ITEM_BASIC = 1

    View this item’s basic properties

  VIEW_ITEM_DETAILED = 2

    View this item’s detailed properties

class terminusgps.wialon.flags.DataFlag(*values)

  Data flags for Wialon API calls.

  Data Flags Reference

  GROUP_ADMIN_FIELDS = 128

    This group’s administrative fields

  GROUP_ALL = 4611686018427387903

    All possible group data flags

  GROUP_BASE = 1

    This group’s basic properties

  GROUP_BILLING_PROPERTIES = 4

    This group’s billing properties

  GROUP_CUSTOM_FIELDS = 8

    This group’s custom fields

  GROUP_CUSTOM_PROPERTIES = 2

    This group’s custom properties

  GROUP_GUID = 64

    This group’s GUID

  GROUP_IMAGE = 16

    This group’s image/icon

  RESOURCE_ADMIN_FIELDS = 128

    This resources administrative fields

  RESOURCE_ALL = 4611686018427387903

    All possible resource data flags

  RESOURCE_BASE = 1

    This resource’s basic properties

  RESOURCE_BILLING_PROPERTIES = 4

    This resource’s billing properties

  RESOURCE_CUSTOM_FIELDS = 8

    This resource’s custom fields

  RESOURCE_CUSTOM_PROPERTIES = 2

    This resource’s custom properties

  RESOURCE_DRIVERS = 256

    This resource’s drivers

  RESOURCE_DRIVER_ATTACHABLE_UNITS = 16384

    This resource’s units allowed for driver attachment

  RESOURCE_DRIVER_GROUPS = 32768

    This resource’s driver groups

  RESOURCE_GEOFENCES = 4096

    This resource’s geofences

  RESOURCE_GEOFENCE_GROUPS = 1048576

    This resource’s geofence groups

  RESOURCE_GUID = 64

    This resource’s GUID

  RESOURCE_JOBS = 512

    This resource’s jobs

  RESOURCE_MESSAGES = 32

    This resource’s messages

  RESOURCE_NOTIFICATIONS = 1024

    This resource’s notifications

  RESOURCE_ORDERS = 524288

    This resource’s orders

  RESOURCE_POIS = 2048

    This resouce’s points of interest

  RESOURCE_REPORT_TEMPLATES = 8192

    This resource’s report templates

  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_TRAILERS = 65536

    This resource’s trailers

  RESOURCE_TRAILER_ATTACHABLE_UNITS = 262144

    This resource’s units allowed for trailer attachment

  RESOURCE_TRAILER_GROUPS = 131072

    This resource’s trailer groups

  RETRANSLATOR_ADMIN_FIELDS = 128

    This retranslator’s admin fields

  RETRANSLATOR_ALL = 4611686018427387903

    All possible retranslator data flags

  RETRANSLATOR_BASE = 1

    This retranslator’s basic properties

  RETRANSLATOR_BILLING_PROPERTIES = 4

    This retranslator’s billing properties

  RETRANSLATOR_CONFIGURATION = 256

    This retranslator’s state and configuration

  RETRANSLATOR_CUSTOM_PROPERTIES = 2

    This retranslator’s custom properties

  RETRANSLATOR_GUID = 64

    This retranslator’s GUID

  RETRANSLATOR_UNITS = 512

    This retranslator’s bound units

  ROUTE_ADMIN_FIELDS = 128

    This route’s administrative fields

  ROUTE_ALL = 4611686018427387903

    All possible route data flags

  ROUTE_BASE = 1

    This route’s basic properties

  ROUTE_BILLING_PROPERTIES = 4

    This route’s billing properties

  ROUTE_CHECKPOINTS = 512

    This route’s checkpoints

  ROUTE_CONFIGURATION = 256

    This route’s configuration

  ROUTE_CUSTOM_PROPERTIES = 2

    This route’s custom properties

  ROUTE_GUID = 64

    This route’s GUID

  ROUTE_ROUNDS = 2048

    This route’s rounds

  ROUTE_SCHEDULES = 1024

    This route’s schedules

  UNIT_ADMIN_FIELDS = 128

    This unit’s administrative fields

  UNIT_ADVANCED_PROPERTIES = 256

    This unit’s advanced properties

  UNIT_ALL = 4611686018427387903

    All possible unit data flags

  UNIT_AVAILABLE_COMMANDS = 524288

    This unit’s available commands

  UNIT_BASE = 1

    This unit’s basic properties

  UNIT_BILLING_PROPERTIES = 4

    This unit’s billing properties

  UNIT_CONNECTION_STATUS = 2097152

    This unit’s connection status

  UNIT_COUNTERS = 8192

    This unit’s counters

  UNIT_CURRENT_MOMENT_COMMANDS = 512

    This unit’s available for current moment commands

  UNIT_CUSTOM_FIELDS = 8

    This unit’s custom fields

  UNIT_CUSTOM_PROPERTIES = 2

    This unit’s custom properties

  UNIT_GUID = 64

    This unit’s GUID

  UNIT_IMAGE = 16

    This unit’s image/icon

  UNIT_LAST_MESSAGE = 1024

    This unit’s last message and position

  UNIT_MAINTENANCE = 32768

    This unit’s maintenance

  UNIT_MESSAGES = 32

    This unit’s messages

  UNIT_MESSAGE_PARAMETERS = 1048576

    This unit’s message parameters

  UNIT_POSITION = 4194304

    This unit’s position

  UNIT_PROFILE_FIELDS = 8388608

    This unit’s profile files

  UNIT_REPORT_CONFIGURATION = 131072

    This unit’s report configuration, trip detector, and fuel consumption

  UNIT_SENSORS = 4096

    This unit’s sensors

  USER_ADMIN_FIELDS = 128

    This user’s administrative fields

  USER_ALL = 4611686018427387903

    All possible user data flags

  USER_BASE = 1

    This user’s basic properties

  USER_BILLING_PROPERTIES = 4

    This user’s billing properties

  USER_CUSTOM_FIELDS = 8

    This user’s custom fields

  USER_CUSTOM_PROPERTIES = 2

    This user’s custom properties

  USER_GUID = 64

    This user’s GUID

  USER_MESSAGES = 32

    This user’s messages

  USER_NOTIFICATIONS = 512

    This user’s notifications

  USER_OTHER_PROPERTIES = 256

    This user’s other properties

class terminusgps.wialon.flags.SettingsFlag(*values)

  User settings flags for Wialon API calls.

  User Settings Flags Reference

  USER_CANNOT_CHANGE_PASSWORD = 2

    This user cannot change their password

  USER_CANNOT_CHANGE_SETTINGS = 16

    This user cannot change settings

  USER_CAN_CREATE_ITEMS = 4

    This user can create objects

  USER_CAN_SEND_SMS = 32

    This user can send SMS messages

  USER_DISABLED = 1

    This user is disabled

class terminusgps.wialon.flags.TokenFlag(*values)

  Token flags for Wialon API calls.

  Token Flags Reference

  COMMUNICATION = 8192

    Modification of communication data

  MANAGE_ALL = -1

    Unlimited operation as authorized user

  MANAGE_CRITICAL = 4096

    Modification of critical data, including message deletion

  MANAGE_NONSENSITIVE = 1024

    Modification of non-sensitive data

  MANAGE_SENSITIVE = 2048

    Modification of sensitive data

  ONLINE_TRACKING = 256

    Online tracking

  VIEW_ACCESS = 512

    View access to most data