Multiple fields via Smarts EDAA query.
search cancel

Multiple fields via Smarts EDAA query.

book

Article ID: 345114

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Fetch multiple fields of objects in Smarts topology using Smarts EDAA html query apart from the default "vsc$displayName", "CreationClassName" and "Name" parameters which are already available when an instance is queried.

 

 

Environment

SMARTS-10.1.x

Cause

The below Smarts EDAA document link Query Parameters in EDAA does not mention specific URL encoding to be used for fetching multiple fields in Smarts-EDAA query.

 

 
 
 

Resolution

  • Usage of operand “%7C” which is url encoding for “|” function is recommended for separating multiple fields in the html query. 
  • Use Case Example: Fetch information of both Vendor and Certification for class Host in Smarts topology.
    • URL to be used to fetch above mentioned information via Smarts-EDAA: 
      http://<Smarts Tomcat Server IP Address>:<Port>/smarts-edaa/msa/<Presentation SAM Name>/types/Host/instances?fields=Vendor%7CCertification&alt=json
      Note: User Defined entries are highlighted in yellow