Download OpenAPI specification:

Приватная группа объектов
| id | integer <int32> Идентификатор |
| name required | string non-empty Название |
Array of objects or null (LogExpert.Data.Unit) Объекты |
{- "id": 0,
- "name": "string",
- "objects": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
]
}
]
}{- "id": 0,
- "name": "string",
- "objects": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string",
- "is_common": true,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}
]
}| id required | integer <int32> Идентификатор |
{- "id": 0,
- "name": "string",
- "objects": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string",
- "is_common": true,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}
]
}Приватная группа геозон
| id | integer <int32> Идентификатор |
| name required | string non-empty Название |
Array of objects or null (LogExpert.Data.Geofence) Геозоны |
{- "id": 0,
- "name": "string",
- "geofences": [
- {
- "id": 0,
- "name": "string",
- "owner_id": 0,
- "description": "string",
- "accounting_unit_id": 0,
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "delete_date": "2019-08-24T14:15:22Z",
- "geometry_type": "string",
- "radius": 0,
- "area": 0.1,
- "perimeter": 0.1,
- "address_source": true,
- "line_width": 0,
- "line_color": "string",
- "fill_color": "string",
- "text_line_color": "string",
- "text_fill_color": "string",
- "text_size": 0,
- "text_latitude": 0.1,
- "text_longitude": 0.1,
- "origin_wkb": "string",
- "wkb": "string",
- "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string",
- "geofences": [
- { }
]
}
]
}
]
}{- "id": 0,
- "name": "string",
- "geofences": [
- {
- "id": 0,
- "name": "string",
- "owner_id": 0,
- "description": "string",
- "accounting_unit_id": 0,
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "delete_date": "2019-08-24T14:15:22Z",
- "geometry_type": "string",
- "radius": 0,
- "area": 0.1,
- "area_ga": 0.1,
- "perimeter": 0.1,
- "address_source": true,
- "line_width": 0,
- "line_color": "string",
- "fill_color": "string",
- "text_line_color": "string",
- "text_fill_color": "string",
- "text_size": 0,
- "text_latitude": 0.1,
- "text_longitude": 0.1,
- "origin_wkb": "string",
- "wkb": "string",
- "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string",
- "geofences": [
- { }
]
}
]
}
]
}| id required | integer <int32> Идентификатор |
{- "id": 0,
- "name": "string",
- "geofences": [
- {
- "id": 0,
- "name": "string",
- "owner_id": 0,
- "description": "string",
- "accounting_unit_id": 0,
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "delete_date": "2019-08-24T14:15:22Z",
- "geometry_type": "string",
- "radius": 0,
- "area": 0.1,
- "area_ga": 0.1,
- "perimeter": 0.1,
- "address_source": true,
- "line_width": 0,
- "line_color": "string",
- "fill_color": "string",
- "text_line_color": "string",
- "text_fill_color": "string",
- "text_size": 0,
- "text_latitude": 0.1,
- "text_longitude": 0.1,
- "origin_wkb": "string",
- "wkb": "string",
- "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string",
- "geofences": [
- { }
]
}
]
}
]
}{- "value": [
- {
- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string",
- "is_common": true,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}
]
}Транспортное средство
| id | integer <int32> Идентификатор |
| name required | string non-empty Название |
| unique_id required | string non-empty Идентификатор IMEI |
| phone_number | string or null Номер телефона |
| accounting_unit_id | integer <int32> Идентификатор учётной единицы |
| created_at | string <date-time> Дата и время создания |
| updated_at | string <date-time> Дата и время последнего обновления |
| battery_sensor required | string non-empty Имя датчика заряда аккумулятора |
| gsm_signal_sensor required | string non-empty Имя датчика уровня сигнала GSM |
| current_protocol | string or null Имя протокола |
| unit_type | string or null Тип объекта |
| icon_id | integer <int32> Идентификатор значка |
| is_active | boolean Является ли объект активным |
object (LogExpert.Data.RideDetectorSettings) Настройки детектора поездок | |
object (LogExpert.Data.DrainDetectorSettings) Настройки детектора сливов и заправок топлива | |
object (LogExpert.Data.AccountingUnit) Учётная единица | |
object (LogExpert.Data.ObjectIcon) Значок объекта | |
Array of objects or null (LogExpert.Data.CustomField) Дополнительные поля | |
Array of objects or null (LogExpert.Data.Sensor) Датчики | |
Array of objects or null (LogExpert.Data.SharedObjectsGroup) Общие группы |
{- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
]
}{- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string",
- "is_common": true,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}| id required | integer <int32> Идентификатор |
{- "id": 0,
- "name": "string",
- "unique_id": "string",
- "phone_number": "string",
- "accounting_unit_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "battery_sensor": "string",
- "gsm_signal_sensor": "string",
- "current_protocol": "string",
- "unit_type": "string",
- "icon_id": 0,
- "is_active": true,
- "ride_detector_settings": {
- "type": 0,
- "min_satellite_count": 0,
- "min_speed": 0.1,
- "max_speed": 0.1,
- "min_parking_time_seconds": 0,
- "max_track_points_distance": 0,
- "min_ride_time_seconds": 0,
- "min_ride_distance": 0,
- "gps_sensor_name": "string",
- "max_message_time_seconds": 0,
- "gps_fail_treshold_minutes": 0,
- "min_altitude": 0,
- "max_altitude": 0
}, - "drain_detector_settings": {
- "depth_count": 0,
- "drain_volume": 0,
- "drain_min_stop_seconds": 0,
- "fill_volume": 0,
- "fill_min_stop_seconds": 0,
- "max_message_time_seconds": 0,
- "use_ride_detector": true,
- "allow_fills_in_rides": true,
- "drain_norm": 0.1
}, - "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}, - "icon": {
- "id": 0,
- "name": "string",
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string",
- "is_common": true,
- "tags": [
- {
- "id": 0,
- "text": "string"
}
]
}, - "custom_fields": [
- {
- "object_id": 0,
- "name": "string",
- "value": "string"
}
], - "sensors": [
- {
- "id": 0,
- "name": "string",
- "expression": "string",
- "min": 0.1,
- "max": 0.1,
- "default_visible": true,
- "sensor_type": "string",
- "measurement_unit": "string",
- "display_expression": "string",
- "format": "string",
- "color": "string",
- "show_in_chart": true,
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}Параметры ключа
| id | integer <int32> Идентфикатор |
| key_value required | string Значение ключа |
| create_date | string <date-time> Дата создания ключа |
| expire_date | string <date-time> Дата завершения периода действия ключа |
| notes | string or null Описание |
{- "id": 0,
- "key_value": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "expire_date": "2019-08-24T14:15:22Z",
- "notes": "string"
}{- "id": 0,
- "key_value": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "expire_date": "2019-08-24T14:15:22Z",
- "notes": "string"
}| accountingUnitId | integer <int32> Идентификатор учётной единицы |
[- {
- "id": 0,
- "name": "string",
- "url": "string",
- "token": "string",
- "type": "string",
- "type_map": "string",
- "sub_domains": [
- "string"
], - "error_tile_url": "string",
- "order": 0,
- "accounting_unit_id": 0,
- "accounting_unit": {
- "id": 0,
- "name": "string",
- "show_header_caption": true,
- "header_caption": "string",
- "create_date": "2019-08-24T14:15:22Z",
- "update_date": "2019-08-24T14:15:22Z",
- "is_blocked": true
}
}
]