This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:item:add_log_record [28/01/2013 07:01] zuve |
en:sidebar:remoteapi:apiref:item:add_log_record [13/02/2013 07:05] alek |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Logging ====== | ====== Logging ====== | ||
- | To add log record use command **item/add_log_record**: | + | To add a log record, use the command **item/add_log_record**: |
<code javascript> | <code javascript> | ||
svc=item/add_log_record¶ms={"itemId":<long>, | svc=item/add_log_record¶ms={"itemId":<long>, | ||
Line 15: | Line 15: | ||
| action | action (see the list below) | | | action | action (see the list below) | | ||
| newValue | new value | | | newValue | new value | | ||
- | | oldValue | ald value | | + | | oldValue | old value | |
List of available actions: | List of available actions: | ||
Line 29: | Line 29: | ||
* **update_unit_milcounter** (update mileage counter value); | * **update_unit_milcounter** (update mileage counter value); | ||
* **update_unit_bytecounter** (update GPRS traffic counter value); | * **update_unit_bytecounter** (update GPRS traffic counter value); | ||
- | * **update_unit_ehcounter** (update engone hours counter value); | + | * **update_unit_ehcounter** (update engine hours counter value); |
* **update_unit_uid**; | * **update_unit_uid**; | ||
- | * **update_unit_hw** (update hardware type); | + | * **update_unit_hw** (update device type); |
- | * **update_unit_hw_cfg** (update hardware configuration); | + | * **update_unit_hw_cfg** (update device configuration); |
- | * **update_unit_fuel_cfg** (update fuel concumption configuration); | + | * **update_unit_fuel_cfg** (update fuel consumption configuration); |
* **update_unit_trip_cfg** (update trip detection configuration); | * **update_unit_trip_cfg** (update trip detection configuration); | ||
* **create_sensor**; | * **create_sensor**; | ||
Line 55: | Line 55: | ||
* **bind_unit_driver**; | * **bind_unit_driver**; | ||
* **unbind_unit_driver**; | * **unbind_unit_driver**; | ||
+ | * **bind_unit_trailer**; | ||
+ | * **unbind_unit_trailer**; | ||
* **update_unit_report_cfg** (update parameters used in reports); | * **update_unit_report_cfg** (update parameters used in reports); | ||
* **update_msgs_filter_cfg** (update filtration of unit position information in messages); | * **update_msgs_filter_cfg** (update filtration of unit position information in messages); | ||
Line 65: | Line 67: | ||
* **delete_user_notify**; | * **delete_user_notify**; | ||
* **create_group**; | * **create_group**; | ||
- | * **units_group** (add/remove units into group); | + | * **units_group** (add/remove units to/from unit group); |
* **update_driver_units** (update the list of auto attachable units for drivers); | * **update_driver_units** (update the list of auto attachable units for drivers); | ||
+ | * **update_trailer_units** (update the list of auto attachable units for trailers); | ||
* **create_resource**; | * **create_resource**; | ||
* **create_zone**; | * **create_zone**; | ||
Line 85: | Line 88: | ||
* **update_driver**; | * **update_driver**; | ||
* **delete_driver**; | * **delete_driver**; | ||
+ | * **create_trailer**; | ||
+ | * **update_trailer**; | ||
+ | * **delete_trailer**; | ||
* **create_drivers_group**; | * **create_drivers_group**; | ||
* **update_drivers_group**; | * **update_drivers_group**; | ||
* **delete_drivers_group**; | * **delete_drivers_group**; | ||
+ | * **create_trailers_group**; | ||
+ | * **update_trailers_group**; | ||
+ | * **delete_trailers_group**; | ||
* **create_report** (create report template); | * **create_report** (create report template); | ||
* **update_report** (update report template); | * **update_report** (update report template); | ||
Line 95: | Line 104: | ||
* **create_retranslator**; | * **create_retranslator**; | ||
* **update_retranslator**; | * **update_retranslator**; | ||
- | * **units_retranslator** (add units for tertranslation); | + | * **units_retranslator** (add units for retranslation); |
* **switch_retranslator**; | * **switch_retranslator**; | ||
* **create_route**; | * **create_route**; |
|