Events method

GET /v1/Event/ByParcelNo/{parcelNo}

Get events using a parcel number and time period

Uri parameters

Name Description Type Additional description
parcelNo The parcel number Required
from Time period start. Default 100 days ago. date-time
to Time period end. Default now date-time
page Page number to retrieve. Zero based int32 Default = 0
pageSize Number of events to retrieve. Inclusive between 1-100 int32 Default = 50

Body parameters

None

Request sample:

None

Response sample:

200

{
  "pageNo": 0,
  "pageSize": 10,
  "hasPrevious": false,
  "hasNext": true,
  "page": [],
  "nextUrl": "/v1/event/ByParcelNo/370726545000000170?from=2023-06-10 10:40:11Z&to=2023-09-18 10:40:11Z&page=1&pageSize=10",
  "previousUrl": null
}

400

{
  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
  "title": "One or more validation errors occured",
  "state": 400,
  "traceId": null,
  "errors": {
    "request": [
      "The parcel number cannot be empty"
    ]
  }
}

401

Access denied

403

Forbidden