路网数字化服务 DRIS-查询历史交通事件列表:响应示例

时间:2024-12-03 15:41:25

响应示例

状态码: 200

OK

{
  "count" : 1,
  "events" : [ {
    "event_id" : 11111,
    "event_source_type" : "RSU",
    "event_source_id" : 2,
    "esn" : "2102312ETX10K7000037",
    "area_code" : 568,
    "event_class" : "AbnormalTraffic",
    "event_type" : 100,
    "cross_id" : 1111,
    "event_description" : "交通事故",
    "event_level" : 1,
    "event_params" : {
      "speed" : "60"
    },
    "event_position" : {
      "lat" : 40.1234567,
      "lon" : 116.1234567,
      "ele" : 1000
    },
    "event_position_name" : "深圳深南大道",
    "reference_paths" : [ {
      "active_path" : [ {
        "lat" : 40.1234567,
        "lon" : 116.1234567,
        "ele" : 1000
      } ],
      "path_radius" : 100
    } ],
    "note" : "交通事件信息",
    "event_status" : "Invalid",
    "event_confidence" : 1,
    "event_ex_info" : {
      "participants" : [ {
        "ptc_type" : "unknown",
        "plate_no" : "粤B12345",
        "speed" : 3000,
        "vehicle_class" : 54,
        "gat_vehicle_class" : "k33",
        "track_id" : 123456789,
        "lane_no" : 1,
        "target_rects" : [ {
          "camera_code" : "abcd",
          "camera_ip" : "127.0.0.1",
          "target_pos" : [ {
            "left_top_x" : 10,
            "left_top_y" : 10,
            "right_bottom_x" : 5,
            "right_bottom_y" : 5
          } ],
          "time_stamp_diff" : 1664507548437
        } ],
        "start_time" : 1664507548437
      } ],
      "congestion_info" : {
        "level" : 0,
        "length" : 200,
        "start_point" : {
          "lat" : 40.1234567,
          "lon" : 116.1234567,
          "ele" : 1000
        },
        "end_point" : {
          "lat" : 40.1234567,
          "lon" : 116.1234567,
          "ele" : 1000
        },
        "speed" : 10,
        "start_time" : 1664507548437,
        "congestion_lanes_info" : [ {
          "laneid" : 1,
          "level" : 0,
          "length" : 200,
          "speed" : 10,
          "start_time" : 1664507548437,
          "start_point" : {
            "lat" : 40.1234567,
            "lon" : 116.1234567,
            "ele" : 1000
          },
          "end_point" : {
            "lat" : 40.1234567,
            "lon" : 116.1234567,
            "ele" : 1000
          }
        } ]
      },
      "data_source" : {
        "radar" : [ 0 ],
        "camera" : [ 1 ]
      },
      "camera_list" : [ {
        "id" : 0,
        "ip" : "127.0.0.1"
      } ]
    },
    "rsu_id" : [ "b58efc27-a6e5-4bca-9d12-c76ecfe3f102" ],
    "start_time" : "2019-08-28T16:32:24Z",
    "end_time" : "2019-08-28T16:32:24Z"
  } ]
}
support.huaweicloud.com/api-v2x/v2x_04_0069.html