Skip to main content

Get a restricted zone by ID

GET 

/v1/restricted-zones/:id

Retrieve a single restricted zone by its ID

Request

Path Parameters

    id stringrequired

    Restricted zone ID

Responses

Restricted zone found successfully

Schema
    _id stringrequired

    The ID of the restricted zone

    zoneName stringrequired

    The name of the restricted zone

    geo objectrequired
    type stringrequired
    coordinates number[]required

    Array of rings for the polygon. Each ring is an array of [longitude, latitude] pairs. The first and last point must be the same.

    activate booleanrequired

    Whether the restricted zone is active

    createdDate date-timerequired

    The created date of the restricted zone

    latestUpdate date-timerequired

    The latest update date of the restricted zone

Loading...