Examples of the output in JSON format

Following are some examples of the output in JSON format:

Output for metadata:

[ 
  {
    "name":"id"
    "perspective":"SERVER"
    "editable":false
  },

  {
    "name":"name"
    "perspective":"SERVER"
    "editable":false
  },
  {
    "name":"user defined ea"
    "perspective":"SERVER"
    "editable":true
  },
  .
  .
  .
  {
			"name":"associated_urls",
			"urls":[
											{"name":"volumes",
            "template":[
                         "https://symantecdomain.example.com/vom/api/query
                          /server/host/{host-id}/volume"
										             ],
           }
     						{"name":"disks",
            "template":[
                         "https://symantecdomain.example.com/vom/api/query
                          /server/host/{host-id}/disk"
										             ],
            }
            .
            .
           ]
]

Output for query:

[
  {
    "user defined ea":"1st floor",
    "encoded_id":"{00120050-56a6-15f3-0000-0000f684d3ab}",
    "id":"{00120050-56a6-15f3-0000-0000f684d3ab}",
    "associated_urls":{
    "diskgroups":"https://symantecdomain.example.com/vom/api/query/server
                 /host/{00120050-56a6-15f3-0000-0000f684d3ab}/diskgroup",
    "hbas":"https://symantecdomain.example.com/vom/api/query/server/host/
           {00120050-56a6-15f3-0000-0000f684d3ab}/hba",
    "volumes":"https://symantecdomain.example.com/vom/api/query/server/host/
              {00120050-56a6-15f3-0000-0000f684d3ab}/volume",
    "disks":"https://symantecdomain.example.com/vom/api/query/server/host/
            {00120050-56a6-15f3-0000-0000f684d3ab}/disk"
  },
    "name":"10.255.255.255",
    "url":"https://symantecdomain.example.com/vom/api/query/server/host/
          {00120050-56a6-15f3-0000-0000f684d3ab}",
  .
  .
  }
]

More Information

About performing operations using Veritas InfoScale Operations Manager Web services API