Get a work zone

get

/rest/ofscMetadata/v1/workZones/{label}

This operation retrieves the attributes of the specified work zone.

Request

Path Parameters
  • Minimum Length: 1
    Maximum Length: 255
    The label of the work zone.
Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : Work Zone
Type: object
Title: Work Zone
Show Source
Nested Schema : Keys
Type: array
Title: Keys
Show Source
Nested Schema : Shapes
Type: array
Title: Shapes
Show Source

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top

Examples

The following example shows how to get a specific work zone by submitting a GET request on the REST resource.

Example of Request Header

The following shows an example of the request header.

GET /rest/ofscMetadata/v1/workZones/ROB_DAS

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
        "status":"active",
        "workZoneLabel":"ROB_DAS",
        "workZoneName": "ROB_DAS",
        "travelArea":"label",
        "keys":["KHRK","LVIV"],
        "shapes":["REG11","REG3","REG13"]  
}
Back to Top