The API client can add a comment to scan results. If there is already a comment, it will be overwritten.
public CxWSBasicRepsonse UpdateScanComment(
- sessionID: The current Session ID.
- ScanID: The ScanID of the scan to which to add the comment
To add a comment to the results of a scan with known ID of 350:
internal void Main(string  args)
String sessionID = args;
CxSDKWebServiceSoapClient cxSDKProxy = new CxSDKWebServiceSoapClient();
long scanID = 350;
//Create the comment
string scanComment = string.Concat("The Scan ID of this scan is" , scanID.ToString());
CxWSBasicRepsonse response =cxSDKProxy.UpdateScanComment(sessionID, scanID, scanComment);
UpdateSucceded = response.IsSuccesfull;
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.
For more mapping information, refer to API Mapping (SOAP to REST). You can also find a summary of our REST APIs here.