This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:sidebar:remoteapi:apiref:item:add_log_record [29/01/2013 06:59] 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 67: | 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); | * **update_trailer_units** (update the list of auto attachable units for trailers); | ||
Line 104: | 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**; |
|