路网数字化服务 DRIS-创建即时交通事件:请求示例

时间:2024-01-02 08:31:52

请求示例

POST https://{endpoint}/v1/{project_id}/immediate-event
Content-Type:application/json
X-Auth-Token:********
Instance-Id:********

{
  "send_config" : {
    "channel" : {
      "by_lte_pc5" : false,
      "by_lte_uu" : false
    },
    "target_list" : {
      "target_rsu_ids" : [ "rsu0123456789" ],
      "target_obu_ids" : [ "obu0123456789" ]
    }
  },
  "immediate_event" : {
    "time_stamp" : "2015-12-12T12:12:12.356Z",
    "event_class" : "traffic sign",
    "event_type" : 39,
    "event_source" : "internet",
    "event_source_id" : 123456789,
    "event_confidence" : 100,
    "event_position" : {
      "lat" : 40.1234567,
      "lon" : 116.1234567,
      "ele" : 1000
    },
    "event_radius" : 1000,
    "event_description" : 123456789,
    "event_priority" : 3,
    "coordinate" : "WGS84",
    "reference_paths" : [ {
      "active_path" : [ {
        "lat" : 40.1234567,
        "lon" : 116.1234567,
        "ele" : 1000
      }, {
        "lat" : 50.1234567,
        "lon" : 136.1234567,
        "ele" : 1000
      } ],
      "path_radius" : 1000
    } ]
  }
}
support.huaweicloud.com/api-v2x/v2x_04_0081.html