Download OpenAPI specification:

| unit_id required | integer <int32> Идентификатор объекта |
| begin | string <date-time> Начало периода |
| end | string <date-time> Окончание периода |
| geocode_address | boolean Геокодировать адрес |
| include_points | boolean Включить точки событий |
| SessionId | any |
{- "value": [
- {
- "begin": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "duration": "00:00:00",
- "begin_point": {
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "mileage": 0.1,
- "address": "string"
}, - "end_point": {
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "mileage": 0.1,
- "address": "string"
}, - "type": "string",
- "mileage": 0.1,
- "max_speed": 0.1,
- "points": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "mileage": 0.1
}
]
}
], - "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
}
}| lat | number <double> Широта |
| lon | number <double> Долгота |
| address_flags | string Строка из цифр, определяющих порядок компонентов адреса в результирующей адресной строке. Необязательный, значение по умолчанию: 56432 |
| address_details | integer <int32> Если значение равно 1, включать в ответ все компоненты, возвращаемые в свойстве address. Необязательный, значение по умолчанию: 0 |
| short_types | integer <int32> Управляет сокращением/удалением имён типов компонентов адреса. 1 - сокращать (улица -> ул. и т.п.) 0 - не сокращать. Необязательный, значение по умолчанию: 0 |
| debug | integer <int32> Возвращать дополнительно все данные, которые вернул Nominatim |
| debug_nominatim | integer <int32> Возвращать дополнительно все данные, которые вернул Nominatim с ключем Debug |
| SessionId | any |
| address_flags | string Строка из цифр, определяющих порядок компонентов адреса в результирующей адресной строке. Необязательный, значение по умолчанию: 56432 |
| address_details | integer <int32> Если значение равно 1, включать в ответ все компоненты, возвращаемые в свойстве address. Необязательный, значение по умолчанию: 0 |
| short_types | integer <int32> Управляет сокращением/удалением имён типов компонентов адреса. 1 - сокращать (улица -> ул. и т.п.) 0 - не сокращать. Необязательный, значение по умолчанию: 0 |
| debug | integer <int32> Возвращать дополнительно все данные, которые вернул Nominatim |
| SessionId | any |
Координаты точек
[- [
- 0.1
]
]| SessionId | any |
{- "value": [
- {
- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}
]
}
]
}| SessionId | any |
Приватная группа объектов
| 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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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> Идентификатор |
| SessionId | any |
{- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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> Идентификатор |
| SessionId | any |
Приватная группа объектов
| kind | integer <int32> (Microsoft.AspNetCore.OData.Deltas.DeltaItemKind) Enum: 0 1 2 3 4 |
object (System.Type) | |
object (System.Type) |
{- "kind": 0,
- "structured_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}, - "expected_clr_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}
}0{- "value": [
- {
- "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": [
- { }
]
}
]
}
]
}
]
}| SessionId | any |
Приватная группа геозон
| 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> Идентификатор |
| SessionId | any |
{- "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> Идентификатор |
| SessionId | any |
Приватная группа геозон
| kind | integer <int32> (Microsoft.AspNetCore.OData.Deltas.DeltaItemKind) Enum: 0 1 2 3 4 |
object (System.Type) | |
object (System.Type) |
{- "kind": 0,
- "structured_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}, - "expected_clr_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}
}0| SessionId | any |
Параметры для создания трека
| id | string or null <uuid> Идентификатор трека |
| unit_id | integer <int32> Идентификатор объекта |
| begin | string <date-time> Начало периода |
| end | string <date-time> Конец периода |
| use_ride_detector | boolean Использовать детектор поездок |
| fill_gaps | boolean Достраивать трек при разрывах |
| color | string or null Основной цвет трека |
| show_stops_in_tracks | boolean or null Отображать значки остановок |
| show_parkings_in_tracks | boolean or null Отображать значки стоянок |
| stroke_width | integer or null <int32> Толщина линии |
| draw_arrows | boolean or null Отрисовывать стрелки |
| periods | Array of strings or null[ items <date-time >[ items <date-time > ] ] Периоды, которые нужно окрашивать другим цветом (AlternateColor) |
| alternate_color | string or null Альтернативный цвет для окрашивания частей трека, задаваемых в Periods |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "unit_id": 0,
- "begin": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "use_ride_detector": true,
- "fill_gaps": true,
- "color": "string",
- "show_stops_in_tracks": true,
- "show_parkings_in_tracks": true,
- "stroke_width": 0,
- "draw_arrows": true,
- "periods": [
- [
- "2019-08-24T14:15:22Z"
]
], - "alternate_color": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "bounds": [
- 0.1
], - "stops": [
- [
- null
]
], - "parkings": [
- [
- null
]
], - "rides": [
- [
- null
]
], - "points_count": 0,
- "mileage": 0.1,
- "chart_items": [
- "string"
], - "anomalies": [
- [
- null
]
], - "sensors_with_errors": [
- "string"
]
}| id | string <uuid> Идентификатор трека |
| page | integer <int32> Номер страницы |
| size | integer <int32> Размер страницы |
| SessionId | any |
[- {
- "index": 0,
- "lat": 0.1,
- "lon": 0.1,
- "timestamp": "2019-08-24T14:15:22Z",
- "insert_date_time": "2019-08-24T14:15:22Z",
- "altitude": 0,
- "fictive": true,
- "satellite_count": 0,
- "speed": 0,
- "sensors": [
- [
- null
]
]
}
]| id | string <uuid> Идентификатор трека |
| width | integer <int32> Ширина области графика. Если 0 - возвращаются все точки |
| sensors | Array of strings Названия графиков, информацию о которых нужно вернуть |
| from | number <double> Начальная точка графика |
| to | number <double> Конечная точка графика |
| SessionId | any |
[- [
- null
]
]| id | string <uuid> Идентификатор трека |
| width | integer <int32> Ширина окна |
| height | integer <int32> Высота окна |
| bbox | Array of numbers <double> [ items <double > ] Ограничивающая рамка (BBOX) |
| SessionId | any |
[- [
- null
]
]| SessionId | any |
Параметры для обновления трека
| id | string <uuid> Идентификатор трека |
| visible | boolean or null Является ли трек видимым |
| color | string or null Основной цвет трека |
| periods | Array of strings or null[ items <date-time >[ items <date-time > ] ] Периоды, которые нужно окрашивать другим цветом (AlternateColor) |
| second_color | string or null Дополнительный цвет трека |
| alternate_color | string or null Альтернативный цвет для окрашивания частей трека, задаваемых в Periods |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "visible": true,
- "color": "string",
- "periods": [
- [
- "2019-08-24T14:15:22Z"
]
], - "second_color": "string",
- "alternate_color": "string"
}[- 0.1
]| SessionId | any |
Параметры для обновления частей трека
| id | string <uuid> Идентификатор трека |
| visible | boolean or null Является ли трек видимым |
| color | string or null Основной цвет трека |
Array of objects (LogExpert.Data.UpdateTrackPartsPeriod) Периоды, которые должны быть выделены другим цветом |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "visible": true,
- "color": "string",
- "periods": [
- {
- "begin": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "color": "string",
- "solid": true,
- "width": 0
}
]
}[- 0.1
]| id required | string <uuid> Идентификатор трека |
| SessionId | any |
Индексы удаляемых точек
[- 0
]{- "success": true,
- "rebuild": true
}| point | Array of numbers <double> [ items <double > ] Координаты точки |
| bounds | Array of numbers <double> [ items <double > ] Границы области |
| width | number <double> Ширина области |
| height | number <double> Высота области |
| accountingUnitId | integer <int32> Учётная единица |
| SessionId | any |
{- "tracks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "index": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "speed": 0
}
], - "stops": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "index": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "duration": "00:00:00"
}
], - "parkings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "index": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "duration": "00:00:00"
}
], - "geofences": [
- {
- "id": 0,
- "name": "string",
- "accounting_unit_name": "string"
}
]
}| point | Array of numbers <double> [ items <double > ] |
| bounds | Array of numbers <double> [ items <double > ] |
| width | number <double> |
| height | number <double> |
| SessionId | any |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "index": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lon": 0.1,
- "duration": "00:00:00",
- "type": "string"
}| SessionId | any |
Параметры
| unit_id | integer <int32> Идентификатор объекта |
| data | string Данные в формате Wialon |
{- "unit_id": 0,
- "data": "string"
}0| id required | string <uuid> Идентификатор трека |
| SessionId | any |
Индексы точек трека
[- 0
]{- "success": true,
- "rebuild": true,
- "data": "string"
}| objectId | integer <int32> Идентификатор объекта |
| begin | string <date-time> Начало периода |
| end | string <date-time> Окончание периода |
| useRideDetector | boolean Использовать детектор поездок |
| trackId | string <uuid> Идентификатор трека |
| SessionId | any |
"string"| SessionId | any |
{- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
], - "shared_groups": [
- {
- "id": 0,
- "accounting_unit_id": 0,
- "name": "string"
}
], - "check_valid_field": true
}
]
}| SessionId | any |
Транспортное средство
| 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> Дата и время последнего обновления |
| deleted_at | string or null <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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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> Идентификатор |
| SessionId | any |
{- "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",
- "deleted_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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "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> Идентификатор |
| SessionId | any |
Транспортное средство
| kind | integer <int32> (Microsoft.AspNetCore.OData.Deltas.DeltaItemKind) Enum: 0 1 2 3 4 |
object (System.Type) | |
object (System.Type) |
{- "kind": 0,
- "structured_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}, - "expected_clr_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}
}{- "value": 0
}| id required | integer <int32> Идентификатор транспортного средства |
| SessionId | any |
дополнительное поле
| object_id | integer <int32> Идентификатор объекта |
| name required | string non-empty Имя |
| value required | string Значение |
{- "object_id": 0,
- "name": "string",
- "value": "string"
}{- "value": 0
}| id required | integer <int32> Идентификатор транспортного средства |
| SessionId | any |
{- "value": {
- "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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}
}| id required | integer <int32> Идентификатор транспортного средства |
| SessionId | any |
Датчик транспортного средства
| id | integer <int32> Идентификатор |
| name required | string non-empty Название |
| expression required | string non-empty Формула |
| min | number or null <double> Минимальное значение |
| max | number or null <double> Максимальное значение |
| default_visible | boolean Показывать в окне статистики |
| sensor_type required | string non-empty Тип |
| measurement_unit | string or null Единица измерения |
| display_expression | string or null Формула выводимого значения |
| format | string or null Строка форматирования результата |
| color | string or null Цвет на графике в треках |
| show_in_chart | boolean Отображать по умолчанию при построении графика в треках |
| save_last_valid_value | boolean Запоминать последнее правильное значение |
| created_at | string <date-time> Дата и время создания |
| deleted_at | string or null <date-time> Дата и время удаления |
Array of objects or null (LogExpert.Data.SensorsFunctionItem) Тарировка |
{- "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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}{- "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,
- "save_last_valid_value": true,
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "function": [
- {
- "x": 0.1,
- "y": 0.1
}
]
}| id required | integer <int32> Идентификатор транспортного средства |
| sensorId required | integer <int32> Идентификатор датчика транспортного средства |
| SessionId | any |
Датчик транспортного средства
| kind | integer <int32> (Microsoft.AspNetCore.OData.Deltas.DeltaItemKind) Enum: 0 1 2 3 4 |
object (System.Type) | |
object (System.Type) |
{- "kind": 0,
- "structured_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}, - "expected_clr_type": {
- "member_type": 1,
- "assembly": { },
- "module": { },
- "declaring_type": { },
- "declaring_method": { },
- "reflected_type": { },
- "underlying_system_type": { },
- "generic_parameter_attributes": 0,
- "attributes": 0,
- "struct_layout_attribute": { },
- "type_initializer": { },
- "type_handle": {
- "value": { }
}, - "base_type": { }
}
}{- "value": 0
}| id required | integer <int32> Идентификатор транспортного средства |
| SessionId | any |
Данные датчиков в формате WLP
"string"{- "value": 0
}| sensorId | integer <int32> Идентификатор датчика объекта |
| groupId | integer <int32> Идентификатор общей группы объектов |
| overwriteSensors | boolean Перезаписать существующие датчики |
| SessionId | any |
{- "value": "string"
}| SessionId | any |
Параметры ключа
| expired_at | string or null <date-time> Дата и время окончания действия ключа |
| notes | string or null Текстовое описание ключа |
{- "expired_at": "2019-08-24T14:15:22Z",
- "notes": "string"
}{- "id": 0,
- "key_value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "expired_at": "2019-08-24T14:15:22Z",
- "notes": "string"
}| id required | integer <int32> Идентификатор ключа |
| SessionId | any |
{- "id": 0,
- "key_value": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "expired_at": "2019-08-24T14:15:22Z",
- "notes": "string"
}Производится пересечение между геометриями из множества А со всеми геометриями из множества B. Если геомтрии пересекаются вычисляются разницы A-B B-A и пересечение.
| SessionId | any |
Данные и параметры
object (LogExpert.WebApi.LogExpertModels.SpatialDifferenceRequestData) Множества геометрий A и B | |
object (LogExpert.WebApi.LogExpertModels.SpatialDifferenceRequestParams) Параметры выполнения пространственной разницы |
{- "data": {
- "a": [
- "string"
], - "b": [
- "string"
]
}, - "params": {
- "spatial_difference": true,
- "spatial_intersections": true
}
}[- {
- "result": "string"
}
]| SessionId | any |
Json объект {"data" : [ "wkb в base64"] }
| data | Array of strings Геозоны в формате wkb в base64 строках |
{- "data": [
- "string"
]
}{- "result": "string"
}| SessionId | any |
Список геозон wkb в base64
| data | Array of strings Геозоны в формате wkb в base64 строках |
{- "data": [
- "string"
]
}[- {
- "area": 0.1,
- "perimeter": 0.1,
- "center": {
- "x": 0.1,
- "y": 0.1
}, - "is_valid": true,
- "is_empty": true
}
]| accountingUnitId | integer <int32> Идентификатор учётной единицы |
| SessionId | any |
[- {
- "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
}
}
]| SessionId | any |
[- {
- "id": 0,
- "display_name": "string",
- "parameters": [
- {
- "name": "string",
- "display_name": "string",
- "type": "string",
- "default_value": {
- "null_value": 0,
- "has_null_value": true,
- "number_value": 0.1,
- "has_number_value": true,
- "string_value": "string",
- "has_string_value": true,
- "bool_value": true,
- "has_bool_value": true,
- "struct_value": {
- "fields": {
- "property1": { },
- "property2": { }
}
}, - "list_value": {
- "values": [
- { }
]
}, - "kind_case": 0
}
}
]
}
]| SessionId | any |
[- {
- "report_type": 0,
- "reports": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "period": {
- "begin": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "done": true,
- "details": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "icon": {
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string"
}, - "unit_name": "string",
- "accounting_unit_name": "string",
- "done": true,
- "is_empty_result": true
}
]
}
]
}
]| timestamp | string <date-time> Опорная дата и время. Метод вернёт отчёты, запущенные после этого значения. |
| SessionId | any |
[- 0
]| id required | string <uuid> Идентификатор задания на выполнение отчёта. Guid |
| SessionId | any |
{- "create_date": "2019-08-24T14:15:22Z",
- "period": {
- "begin": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "done": true,
- "details": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "icon": {
- "x": 0,
- "y": 0,
- "size": 0,
- "icon_file": "string"
}, - "unit_name": "string",
- "accounting_unit_name": "string",
- "done": true,
- "is_empty_result": true
}
]
}Метод создает асинхронную задачу для формирования отчета. Для успешного выполнения необходимо указать в теле запроса следующий параметр:
Указать хотя бы один объект в массиве ObjectIds
Указать существующий тип отчета
Предоставить параметры с обязательным полем "Period"
Указать корректный временной период (начало раньше окончания)
Указать валидный часовой пояс в параметрах
Пример тела запроса:
{
"report_type": 3,
"unit_ids": [4, 8, 15, 16, 23, 42, 122006],
"parameters": {
"build_track": false,
"location_type": "Address",
"period": {
"begin": "2024-01-01T00:00:00",
"end": "2024-01-31T23:59:59"
},
"time_zone": "03:00:00"
}
}
| SessionId | any |
Параметры для создания задачи отчета
| report_type | integer <int32> Идентификатор типа отчёта |
| unit_ids | Array of integers <int32> [ items <int32 > ] Идентификаторы объектов |
object Параметры отчёта |
{- "report_type": 0,
- "unit_ids": [
- 0
], - "parameters": {
- "property1": null,
- "property2": null
}
}{- "success": true,
- "task_id": "string",
- "detail_ids": [
- "string"
], - "error": "string",
- "create_date_time": "2019-08-24T14:15:22Z"
}Этот метод позволяет инициировать процесс пересоздания сводного отчета. Операция выполняется асинхронно и может быть отменена через cancellation token.
Пример запроса: PUT /api/reports/summary/3fa85f64-5717-4562-b3fc-2c963f66afa6
| id required | string <uuid> Идентификатор отчета (GUID), который необходимо перестроить |
| SessionId | any |
| id required | string <uuid> Идентификатор задачи. |
| SessionId | any |
{- "state": "string",
- "report_type": 0,
- "is_summary": true,
- "data": null,
- "duration": "00:00:00",
- "post_processing_time": "00:00:00",
- "build_track": true,
- "location_type": "string",
- "time_zone": "00:00:00",
- "errors": null
}Этот метод позволяет инициировать процесс пересоздания детального отчета. Операция выполняется асинхронно и может быть отменена через cancellation token. Возвращает объект с результатом операции и идентификатором задачи.
Пример запроса: PUT /api/reports/Detail/3fa85f64-5717-4562-b3fc-2c963f66afa6
Пример успешного ответа: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
| id required | string <uuid> Идентификатор детального отчета (GUID), который необходимо перестроить |
| SessionId | any |
| id required | string <uuid> Идентификатор задачи. |
| SessionId | any |
{- "state": "string",
- "report_type": 0,
- "is_summary": true,
- "data": null,
- "duration": "00:00:00",
- "post_processing_time": "00:00:00",
- "build_track": true,
- "location_type": "string",
- "time_zone": "00:00:00",
- "object_id": 0
}Этот метод выполняет полную очистку всех отчетов, принадлежащих текущему аутентифицированному пользователю. Операция необратима - все данные отчетов будут безвозвратно удалены из системы.
Пример запроса: DELETE /v2/reports/All
Требуется аутентификация пользователя.
| SessionId | any |
| SessionId | any |
{- "value": [
- {
- "id": 0,
- "lat": 0.1,
- "lon": 0.1,
- "state": "LostConnection",
- "state_begin_time": "2019-08-24T14:15:22Z",
- "color": "Red",
- "battery": 0.1,
- "gsm_signal": 0.1,
- "sensors": {
- "dynamic_properties": {
- "property1": null,
- "property2": null
}
}, - "last_connection_time": "2019-08-24T14:15:22Z",
- "object_time": "2019-08-24T14:15:22Z",
- "last_valid_time": "2019-08-24T14:15:22Z",
- "last_point_time": "2019-08-24T14:15:22Z",
- "speed": 0.1,
- "alt": 0.1,
- "heading": 0.1,
- "sats": 0,
- "last_points": [
- {
- "lat": 0.1,
- "lon": 0.1
}
], - "raw_sensors": {
- "dynamic_properties": {
- "property1": null,
- "property2": null
}
}
}
]
}| id required | integer <int32> |
| SessionId | any |
{- "id": 0,
- "lat": 0.1,
- "lon": 0.1,
- "state": "LostConnection",
- "state_begin_time": "2019-08-24T14:15:22Z",
- "color": "Red",
- "battery": 0.1,
- "gsm_signal": 0.1,
- "sensors": {
- "dynamic_properties": {
- "property1": null,
- "property2": null
}
}, - "last_connection_time": "2019-08-24T14:15:22Z",
- "object_time": "2019-08-24T14:15:22Z",
- "last_valid_time": "2019-08-24T14:15:22Z",
- "last_point_time": "2019-08-24T14:15:22Z",
- "speed": 0.1,
- "alt": 0.1,
- "heading": 0.1,
- "sats": 0,
- "last_points": [
- {
- "lat": 0.1,
- "lon": 0.1
}
], - "raw_sensors": {
- "dynamic_properties": {
- "property1": null,
- "property2": null
}
}
}