Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Get All Information Messages

    Use this API to retrieve all information messages present in Junos Space Service Now. An information message contains vulnerabilities in a device running Junos OS.

    URI

    https://[host]/api/juniper/servicenow/information-management/informationMessages (HTTP method = GET)

    Consumes

    None

    Produces

    • application/vnd.juniper.servicenow.information-management.informationMessages +xml;version=1
    • application/vnd.juniper.servicenow.information-management.informationMessages +json;version=1

    Response Elements

    Element

    Type

    Description

    uri

    String

    URI of the collection of information messages

    size

    Integer

    Number of records in the information message

    informationMesage

    informationMesage

    An information message in the collection

    href

    String

    Link to the message

    uri

    String

    URI of the message

    key

    Integer

    ID of the message

    organizationName

    String

    Name of the organization that received the message

    title

    String

    Title of the message

    issueDate

    String

    Date and time the message was issued by Juniper Support System (JSS)

    owner

    String

    User to whom the message is assigned for action

    Sample Output

    Sample XML Output

    <informationMessages uri="/api/juniper/servicenow/information-management/informationMessages" size="2">
    	<informationMessage href= "/api/juniper/servicenow/information-management/informationMessages/1" uri="/api/juniper/servicenow/information-management/informationMessages/1" key="1">
    		<organizationName/>
    		<issueDate>2015-03-23 11:21:50 IST</issueDate>
    		<owner>super</owner>
    	</informationMessage>
    	<informationMessage href= "/api/juniper/servicenow/information-management/informationMessages/2" uri="/api/juniper/servicenow/information-management/informationMessages/2" key="2">
    		<organizationName/>
    		<issueDate>2015-03-24 11:15:30 IST</issueDate>
    		<owner>sautap</owner>
    	</informationMessage>
    </informationMessages>
    

    Sample XML Output

    {
      "informationMessages": {
        "@uri": "/api/juniper/servicenow/information-management/informationMessages",
        "@size": "2",
        "informationMessage": [
          {
            "@href": "/api/juniper/servicenow/information-management/informationMessages/1",
            "@uri": "/api/juniper/servicenow/information-management/informationMessages/1",
            "@key": "1",
            "organizationName": "",
            "issueDate": "2015-03-23 11:21:50 IST",
            "owner": "super"
          },
          {
            "@href": "/api/juniper/servicenow/information-management/informationMessages/2",
            "@uri": "/api/juniper/servicenow/information-management/informationMessages/2",
            "@key": "2",
            "organizationName": "",
            "issueDate": "2015-03-24 11:15:30 IST",
            "owner": "sautap"
          }
        ]
      }
    }
    

    Modified: 2016-08-10