How to use the API to list details for all the policies in TrueSight

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:

    TrueSight Presentation Server


    COMPONENT:

    TrueSight Operations Management


    APPLIES TO:

    TrueSight Presentation Server all versions



    QUESTION:


    ANSWER:

    Here is a curl example. Replace the authToken with a proper one:

    #!/bin/sh
    curl -k -X POST \
    'https://TSPS-server.company.com/tsws/10.0/api/unifiedadmin/Policy/list?&responseType=basic' \
    -H 'authorization: authToken AQIC5wM2LY4Sfcxu1ldmLo3s_ULpz1O51HaqpAaQlykLV70.*AAJTSQACMDIAAlNLABMyNzg0NDU5MTU5NzEzMDQ2NjU5AAJTMQADMDE.*' \
    -H 'content-type: application/json' \
    -d '{}'


    Details on the API are located here: https://docs.bmc.com/docs/display/public/tsim107/Listing+details+for+all+the+policies


    Article Number:

    000147069


    Article Type:

    FAQ/Procedural



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