Skip to end of banner
Go to start of banner

Getting Available Query Presets

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

The API client can get a list of query presets available to the current user.

CxSDKWebService.GetPresetList Method


public CxWSResponsePresetList GetPresetList(
   string SessionID
);

Parameters

Return Value

Array of query presets.

Example


internal void Main(string [] args)
{
    String sessionID = args[0];
    CxSDKWebServiceSoapClient cxSDKProxy = new CxSDKWebServiceSoapClient();
    CxWSResponsePresetList response = cxSDKProxy.GetPresetList(sessionID);
    PresetListSucceded = response.IsSuccesfull;
}

SOAP to REST Mapping

This section covers SOAP to REST migration and mapping of our legacy SOAP based SDK to the new REST APIs. It is recommended to use this reference only once CxSAST V8.8.0 is installed.

GetPresetList

GET /sast/presets

Get details of all presets

For more mapping information, refer to API Mapping (SOAP to REST). You can also find a summary of our REST APIs here.






  • No labels