Business Hours (REST)

The AppMon Server offers several RESTful interfaces to manage business hours. You can use Business Hours in schedule configuration.

GET Business Hours list

Produces a list of all business hours in the specified System Profile.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/profiles//businesshours
  • AppMon 2018 April https://{server}:8021/api/v3/profiles//businesshours
  • AppMon 2018 October https://{server}:8021/api/v4/profiles//businesshours

PUT Business Hours definition

Creates business hours with the specified name and parameters in the specified System Profile. If such business hours entry already exists, it will be overwritten.

The request consumes application/json.

PUT
  • AppMon 2017 May https://{server}:8021/api/v2/profiles//businesshours/{businesshoursname}
  • AppMon 2018 April https://{server}:8021/api/v3/profiles//businesshours/{businesshoursname}
  • AppMon 2018 October https://{server}:8021/api/v4/profiles//businesshours/{businesshoursname}

GET Business Hours definition

Inquires specified business hours entry from the specified System Profile.

The request produces application/json.

GET
  • AppMon 2017 May https://{server}:8021/api/v2/profiles//businesshours/{businesshoursname}
  • AppMon 2018 April https://{server}:8021/api/v3/profiles//businesshours/{businesshoursname}
  • AppMon 2018 October https://{server}:8021/api/v4/profiles//businesshours/{businesshoursname}

DELETE Business Hours definition

Deletes specified business hours entry from the specified System Profile.

DELETE
  • AppMon 2017 May https://{server}:8021/api/v2/profiles//businesshours/{businesshoursname}
  • AppMon 2018 April https://{server}:8021/api/v3/profiles//businesshours/{businesshoursname}
  • AppMon 2018 October https://{server}:8021/api/v4/profiles//businesshours/{businesshoursname}