The API client can create a branch for an existing project.
To create a new project, first run a scan with a new project name, and then branch the existing project as described here.
- sessionId: The current Session ID
- originProjectId: The original Project ID of the project to be branched. Can be obtained from the server response upon running a scan.
- newBranchProjectName: New Project Name for the branch.
If there are any errors, the return value parameter “CxWSResponseRunID.IsSuccesfull” is set to false and the second parameter “CxWSResponseRunID.ErrorMessage” indicates the reason for failure.
To branch an existing project with a known ID of 200:
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.
For more mapping information, refer to API Mapping (SOAP to REST). You can also find a summary of our REST APIs here.