The API client can get a list of query presets available to the current user.
CxSDKWebService.GetPresetList Method
public CxWSResponsePresetList GetPresetList( string SessionID );
Parameters
- sessionID: The current Session ID
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, mapping our legacy SOAP based APIs to the new REST based APIs. It is recommended to use this reference only once CxSAST V8.8.0 is installed.
……………...
For more mapping information, refer to API Mapping (SOAP to REST). You can find a summary of our REST APIs here.