Console Info Web Service

You can get configuration items and identifying data to the administrative web services using the
consoleinfo
and
event
web services.
You can get configuration items and identifying data to the administrative web services using the
consoleinfo
and
event
web services.
Consoleinfo Web Service
Local admin users can retrieve information about
NetOps Portal
console configuration using the consoleinfo web service that the API provides. You can pass this information into other web service methods, such as time zone information that is required to create business hour definitions.
Consoleinfo Web Service Example Syntax
Issue the following call to see the parameters for the
consoleinfo
web service:
http://
PC_host
:8181/pc/center/rest/consoleinfo/documentation
Available GET Methods
  • get all time zones
    Gets a list of all of the time zones that are available for use in business hour definitions:
    http://
    PC_host
    :8181/pc/center/webservice/consoleinfo/allTimezones/
    cultureID
    • cultureId
      Specifies a language (locale). Supply a language identifier from the following list:
      • en-US (English, United States)
      • ja-JP (Japanese)
      • zh-CN (Simplified Chinese)
      • fr-FR (French, France)
  • get installed language packs
    Gets a list of language packs that are installed on the server:
    http://
    PC_host
    :8181/pc/center/webservice/consoleinfo/languagepacks/cultureID
  • get time zones assigned to sites
    Retrieves a list of all of the time zones that are assigned to site groups to which the logged-in user has access:
    http://
    PC_host
    :8181/pc/center/webservice/consoleinfo/timezonesAssignedToSites
Event Web Service
You can retrieve a list of events that have been raised in your environment using the event web service.
Perform a GET to the following URL to see a list of events for the specified managed item:
http://
PC_host
:8181/pc/
eventId
/item/
itemId
  • eventId
    Event ID of the event to retrieve properties for.
  • itemId
    Item ID of the item that the event is on.
For more information, see Devices Web Service.