Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notifications are returned from a JOC Cockpit instance. Notifications can be selected by Controller ID and date.

Note that by default notificationss notifications are purged from the database after one day.

The following REST Web Service API resources are used:

* /monitoring/notifications

...

-DateFrom <DateTime>
Specifies the date starting from which audit log entries notifications should be returned.
Consider that a UTC date has to be provided.

Default: Begin Beginning of the current day as a UTC date

...

-RelativeDateFrom <String>
Specifies a relative date starting from which notifications should be returned, for example

* -1s, -2s: one second ago, two seconds ago
* -1m, -2m: one minute ago, two minutes ago
* -1h, -2h: one hour ago, two hours ago
* -1d, -2d: one day ago, two days ago
* -1w, -2w: one week ago, two weeks ago
* -1M, -2M: one month ago, two months ago
* -1y, -2y: one year ago, two years ago

Optionally a time offset can be specified, e.g. -1d+02:00, as otherwise midnight UTC is assumed.
Alternatively a timezone offset can be added, e.g. by using -1d+TZ, that . This is calculated by the cmdlet
for the timezone that is specified with the -Timezone parameter.

This parameter takes precedence over the -DateFrom parameter.

...