Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

RESTful API issues


Problem

Workaround

Unlike the legacy My Cloud Services console, the new My Cloud Services console does not allow you to reset customizations such as filtering, hiding, and searching to defaults.

Reset your preferences for the column choices or ordering in the My Requests Sever List by performing the following steps:

  1. Set up the REST Login session for the specified user.
  2. Set up a Post action for the URL: http://<PM_server>:<PM-port>/csm/PreferenceGroup/remove.

    Note:
    This REST API request (with a blank body) will remove all PreferenceGroup and PreferenceGroupNameValuePair sets for the user who is logged in.

    When PreferenceGroup.name and PreferenceGroupNameValuePair.name are specified in the REST API request body, the PreferenceGroupNameValuePair sets specified in the input object are deleted.

    When only PreferenceGroup.name is specified but PreferenceGroupNameValuePair.name is not specified in the REST API request body, all PreferenceGroupNameValuePair sets for a given PreferenceGroup.name are deleted.

     

    Click here to view a sample PreferenceGroup - Remove REST API request.
    {
     "timeout": -1,
     "operationParams": [
       {
         "name": "preferenceGroup",
         "type": "com.bmc.cloud.model.beans.PreferenceGroup",
         "multiplicity": "1",
         "value": {
           "cloudClass": "com.bmc.cloud.model.beans.PreferenceGroup",
           "guid": "df93f2a9-da15-4942-8dfb-b38d0b8b6ff2",
           "name": "TestParam",
           "preferenceGroupNameValuePairsObject": [
             {
               "cloudClass": "com.bmc.cloud.model.beans.PreferenceGroupNameValuePair",
               "guid": "df93f2a9-da15-4942-8dfb-b49d0b8b6ff3",
               "name": "XYZ",         
               "value": "{'Order columns':{'col-0':['ui-id-1'],'col-1':[],'col-2':[]},'states': {'title':'System CPU
                 Utilization','column':'0','portletid':'ui-id-1','requestdata':{'attrname':'System CPU
                 Utilization','attrlabel':'System CPU Utilization','entryname':'System CPU','entrylabel':'System
    CPU','modifier':'AVERAGE','modifierLabel':'Average','timeRange':3600000,'sumPeriod':60,
    'sumPeriodEnum':'CUSTOM','isDefault':true}}]}"

             }, {
               "cloudClass": "com.bmc.cloud.model.beans.PreferenceGroupNameValuePair",
               "guid": "df93f2a9-da15-4942-8dfb-b49d0b8b6ff4",
               "name": "ABC",
               "value": "sasasasa"
             }
            ]
         }
       }
      ]
    }

In the the legacy My Cloud Services console, the cloud administrator could delete older Activity Log entries selectively; however, this functionality is unavailable in the new My Cloud Services console.

Use the Prune activity records REST API request.

 

 

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*