Constants

class terminusgps.wialon.constants.WialonProfileField(*values)[source]

Valid profile ids for Wialon objects.

Profile field reference.

AXLES = 'axles'

Axles.

BRAND = 'brand'

Brand.

CARGO_TYPE = 'cargo_type'

Cargo type.

CARRYING_CAPACITY = 'carrying_capacity'

Carrying capacity, in tons.

COLOR = 'color'

Color.

DEPTH = 'depth'

Depth, in mm.

EFFECTIVE_CAPACITY = 'effective_capacity'

Effective capacity.

ENGINE_DISPLACEMENT = 'engine_displacement'

Engine displacement, in cm.

ENGINE_MODEL = 'engine_model'

Engine model.

ENGINE_POWER = 'engine_power'

Engine power, in kW.

GROSS_VEHICLE_WEIGHT = 'gross_vehicle_weight'

Gross vehicle weight.

HEIGHT = 'height'

Height, in mm.

MODEL = 'model'

Model.

PRIMARY_FUEL_TYPE = 'primary_fuel_type'

Primary fuel type.

REGISTRATION_PLATE = 'registration_plate'

Registration plate.

VEHICLE_CLASS = 'vehicle_class'

Vehicle Type.

VEHICLE_TYPE = 'vehicle_type'

Comment.

VIN = 'vin'

Vin number.

WIDTH = 'width'

Width, in mm.

YEAR = 'year'

Year.

class terminusgps.wialon.constants.WialonMeasurementUnit(*values)[source]

A Wialon measurement unit.

Wialon measurement unit reference

IMPERIAL = 2

Imperial measurement system.

METRIC = 0

Metric system.

US = 1

US measurement system.

class terminusgps.wialon.constants.WialonItemsType(*values)[source]

Wialon item types for Wialon API calls.

Wialon Item Types Reference

HARDWARE = 'avl_hw'

A hardware type.

RESOURCE = 'avl_resource'

A resource.

RETRANSLATOR = 'avl_retranslator'

A retranslator.

ROUTE = 'avl_route'

A route.

UNIT = 'avl_unit'

A unit.

UNIT_GROUP = 'avl_unit_group'

A unit group.

USER = 'user'

A user.

class terminusgps.wialon.constants.WialonItemProperty(*values)[source]

Wialon item properties for Wialon API calls.

Wialon Item Property Reference

ACCOUNT_BALANCE = 'sys_account_balance'

Current account balance.

ACCOUNT_BLOCKED = 'sys_account_disabled'

Whether or not the account is blocked.

ACCOUNT_BLOCKED_TIME = 'rel_account_disabled_mod_time'

Time (UNIX timestamp) the account was last blocked.

ACCOUNT_DAYS = 'sys_account_days'

Number of days on the account.

ACCOUNT_DEALER_RIGHTS = 'sys_account_enable_parent'

Whether or not the account has dealer rights.

ACCOUNT_ID = 'sys_billing_account_guid'

Account id.

ACCOUNT_NAME = 'rel_billing_account_name'

Account name.

ACCOUNT_NUM_UNITS = 'rel_account_units_usage'

Number of units in the account.

ACCOUNT_PARENT_NAME = 'rel_billing_parent_account_name'

Parent account name for the account.

ACCOUNT_PLAN_NAME = 'rel_billing_plan_name'

Billing plan assigned to the account.

ADMIN_FIELD_NAME = 'rel_adminfield_name'

Admin field name.

ADMIN_FIELD_NAME_VALUE = 'rel_adminfield_name_value'

Admin field name/value, format: 'name:value'.

ADMIN_FIELD_VALUE = 'rel_adminfield_value'

Admin field value.

CREATION_TIME = 'rel_creation_time'

Time (UNIX timestamp) the object was created.

CREATOR_ID = 'sys_user_creator'

Creator user id.

CREATOR_NAME = 'rel_user_creator_name'

Creator user name.

CUSTOM_FIELD_NAME = 'rel_customfield_name'

Custom field name.

CUSTOM_FIELD_NAME_VALUE = 'rel_customfield_name_value'

Custom field name/value, format: 'name:value'.

CUSTOM_FIELD_VALUE = 'rel_customfield_value'

Custom field value.

GROUP_NUM_UNITS = 'rel_group_unit_count'

Number of units in the group.

HARDWARE_ID = 'rel_hw_type_id'

Hardware id.

HARDWARE_NAME = 'rel_hw_type_name'

Hardware name.

HARDWARE_STATE = 'sys_comm_state'

Hardware state.

ID = 'sys_id'

Object id.

LAST_LOGIN_TIME = 'login_date'

Time (UNIX timestamp) the user last logged in.

LAST_MESSAGE_TIME = 'rel_last_msg_date'

Time (UNIX timestamp) of the last message.

NAME = 'sys_name'

Object name.

PHONE = 'sys_phone_number'

Object phone number.

PHONE2 = 'sys_phone_number2'

Secondary (optional) object phone number.

PROFILE_FIELD = 'profilefield'

Profile field.

PROFILE_FIELD_NAME = 'rel_profilefield_name'

Profile field name.

PROFILE_FIELD_NAME_VALUE = 'rel_profilefield_name_value'

Profile field name/value, format: 'name:value'

PROFILE_FIELD_VALUE = 'rel_profilefield_value'

Profile field value.

RESOURCE_IS_ACCOUNT = 'rel_is_account'

Whether or not the resource is an account.

RETRANSLATOR_ENABLED = 'retranslator_enabled'

Whether or not a retranslator is enabled.

UNIQUE_ID = 'sys_unique_id'

Object unique id.

terminusgps.wialon.constants.ACCESSMASK_RESOURCE_BASIC: int = 17604054880353

Basic resource permissions

terminusgps.wialon.constants.ACCESSMASK_UNIT_BASIC: int = 3540009843

Basic unit permissions

terminusgps.wialon.constants.ACCESSMASK_UNIT_MIGRATION: int = 9437197

Unit migration permissions