Services Estimator API Developer Reference

ffscpq.PushToOpportunityService

global with sharing class PushToOpportunityService

Deprecated: see AddToOpportunityFromEstimateService

Methods

pushToOpportunity

Deprecated: see AddToOpportunityFromEstimateService.addToOpportunitiesFromEstimatesAsync.

global static List<ffscpq.PushToOpportunityService.PushToOpportunityResponse> pushToOpportunity(List<ffscpq.PushToOpportunityService.PushToOpportunityRequest> requests)

Input Parameters

Name Type Description
requests List<ffscpq.PushToOpportunityService.PushToOpportunityRequest> The list of PushToOpportunityRequest objects.

Return Value

This service returns PushToOpportunityResponse in a list that parallels the input list.

ffscpq.PushToOpportunityService.PushToOpportunityRequest

global with sharing class PushToOpportunityRequest

The request structure for adding an estimate to its related opportunity.

Properties

Name Type Description
EstimateId Id The ID of the estimate being added to opportunity.
EstimateProductIds Set<Id> A set of IDs of the estimate product instances to be added to opportunity.
IncludeRecordsIndependentOfEstimateProducts Boolean If true, records independent of estimate products will be added to opportunity.
AdditionalAggregationFields Set<SObjectField> DEPRECATED. This property will become obsolete in a future release. creating resource requests.
AdditionalAggregationFieldPaths List<String> [Optional] Additional fields to consolidate estimate role requests by when creating resource requests.
AggregateBySkills Boolean If true, role requests are consolidated by skills. The default value is false.
CreateOpportunityLineItems Boolean If true, opportunity products are created for each estimate product instance. The default value is true.
ProductId Id The ID of the product used to represent records that are independent of estimate products.
ProductDate Date The date of the opportunity product used to represent records that are independent of estimate products.
ProductDescription String The description of the opportunity product used to represent records that are independent of estimate products.

Methods

PushToOpportunityRequest

global PushToOpportunityRequest(Id estimateId)

A default constructor with minimum required properties.

Input Parameters

Name Type Description
estimateId Id The estimate ID.

ffscpq.PushToOpportunityService.PushToOpportunityResponse

global with sharing class PushToOpportunityResponse

The response structure for adding an estimate to its related opportunity.

Properties

Name Type Description
estimateId Id The estimate ID.
errors List<ffscpq.PushToOpportunityService.PushToOpportunityError> A list containing errors that occurred while processing the request.

ffscpq.PushToOpportunityService.PushToOpportunityError

global with sharing class PushToOpportunityError

The error that occurred while processing the request.

Properties

Name Type Description
recordId Id The ID of the record.
message String The error message.
© Copyright 2009–2026 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.