Custom Route Extension API Developer's Guide

Block a Road

Block a sequence of road links for your fleet using the following GET request. In this case, the sequence is a bridge in Frankfurt, Germany.

 GET http://cre.cit.api.here.com/2/overlays/upload.json
  ?map_name=OVERLAYBLOCKROAD
  &overlay_spec=[{"op":"override","shape":[[50.10765,8.68774],[50.10914,8.68771]],"layer":"LINK_ATTRIBUTE_FCN","data":{"VEHICLE_TYPES":"0"}}]
  &storage=readonly
  &app_id={YOUR_APP_ID}
  &app_code={YOUR_APP_CODE}
The response indicates whether the map overlay was submitted successfully.
{
  "layers": [
    "LINK_FC3",
    "LINK_ATTRIBUTE_FC3",
    "ROAD_ADMIN_FC3",
    "ROAD_GEOM_FC3"
    ],
    "response_code": "201 Created"
}