Which CMDB RestAPI can be used to retrieve CI / Relationship CI information with specific qualification?

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Atrium CMDB Suite


    APPLIES TO:

    Atrium CMDB 9.1.04.002 & 18.x



    QUESTION:

    Which CMDB RestAPI can be used to retrieve CI / Relationship CI information with specific qualification?


    ANSWER:

    1. Search for a CI using attributes through CMDB RestAPI 
        - You can use below RestAPI where you can give qualification :
          http://<servername>:8008/api/cmdb/v1.0/instances/BMC.ASSET/BMC.CORE/BMC_ComputerSystem?qualification='Name'="Test2"

    2. Search Relationship CI 
        - Below RestAPI can be used to get relationship CI with any qualification :
          http://<servername>:8008/api/cmdb/v1.0/instances/BMC.ASSET/BMC.CORE/BMC_BaseRelationship?qualification='Source.InstanceId'="AGGAA5V0FL197APO3BPVPN5S24NLKN"


    Article Number:

    000165786


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles