Services Estimator API Developer Reference

ffscpq.CloneScopingSessionService

global with sharing class CloneScopingSessionService

A service that provides functionality related to cloning scoping sessions.

Methods

cloneScopingSession

global static ffscpq.CloneScopingSessionService.CloneScopingSessionResponse cloneScopingSession(ffscpq.CloneScopingSessionService.CloneScopingSessionRequest request)

A method that clones a scoping session.

Input Parameters

Name Type Description
request ffscpq.CloneScopingSessionService.CloneScopingSessionRequest CloneScopingSessionRequest.

Return Value

This service returns a CloneScopingSessionResponse.

Sample Code

//Note: This sample code is for demonstration purposes only. It is not intended for
//use in a production environment, is not guaranteed against defects or errors, and
//is in no way optimized or streamlined.

// Construct the request
Id scopingSessionId = 'a5WDR000001HAPY2A4';
Id opportunityId = '006DR00000KhTNXYA3';

CloneScopingSessionService.CloneScopingSessionRequest request = new CloneScopingSessionService.CloneScopingSessionRequest(
    scopingSessionId
);

// Optionally add opportunity ID to populate a lookup on the cloned scoping session.
request.OpportunityId = opportunityId;

// Optionally add description to the cloned scoping session.
request.Description = 'Cloned scoping session description';

// Optionally add a name to the cloned scoping session.
request.Name = 'Cloned Scoping Session Name';

CloneScopingSessionService.CloneScopingSessionResponse response = CloneScopingSessionService.cloneScopingSession(
    request
);

ffscpq.CloneScopingSessionService.CloneScopingSessionRequest

global with sharing class CloneScopingSessionRequest

The request structure for cloning a scoping session.

Properties

Name Type Description
ScopingSessionId Id The cloned scoping session ID.
OpportunityId Id [Optional] The opportunity ID associated with the cloned scoping session.
Name String [Optional] The name of the cloned scoping session.
Description String [Optional] The description of the cloned scoping session.

Methods

CloneScopingSessionRequest

global CloneScopingSessionRequest(Id scopingSessionId)

Input Parameters

Name Type Description
scopingSessionId Id ID of the scoping session to be cloned.

ffscpq.CloneScopingSessionService.CloneScopingSessionResponse

global with sharing class CloneScopingSessionResponse

The result returned after cloning a scoping session.

Properties

Name Type Description
ScopingSessionId Id The cloned scoping session ID.
© Copyright 2009–2025 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.