Perform Quote Action From SF – Input Parameters

TagData TypeDescriptionRequiredComments
DomainString (50)SAP CPQ Domain where user belongs to.YesName of SAP CPQ domain
UsernameString (50)Only SAP CPQ users can execute this function. SAP CPQ user is defined in SAP CPQ admin.YesUsername of API user
SessionIDString (8)Session ID received from salesforce.Yes
UrlString (255)Url received from salesforce.Yes
OrderIDString (8)Unique order quote numberYesSAP CPQ System quotation number
OpportunityIDString (255)Opportunity under which quote is created.Yes
XMLXMLXML ObjectYes

Data Definition for Perform Quote Action From SF input XML

Element NameData TypeDescriptionRequiredComments
Action/Name Tag containing action nameYName of the SAP CPQ Workflow action
Action/Parameters Additional parametersNOne node for each action parameter

Input XML Example

<?xml version="1.0" encoding="utf-8"?>
  <ACTION>
    <NAME>CHANGE STATUS</NAME>
    <PARAMETER name="NewStatus">CM Order receipt</PARAMETER>
  </ACTION>

SOAP request sample


<?xml version=“1.0” encoding=“utf-8”?>
<soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
<soap:Body>
<performQuoteActionFromSF xmlns=“http://webcominc.com/”>
<domainName>testCPQDomainName</domainName>
<userName>SalesforceUserName</userName>
<sessionId>00DW0000000WWWW!AQ4AQGDD6zof6rXz3LmE1fW2SDhh7RG__0tKfFlYHK6a9BX7XdGVO5T2hzY6tV1.1R3eRyQFaxjLkzPtvMO8CKo7gZPKf35W</sessionId>
<url>https://c.cs13.visual.force.com/services/Soap/u/16.0/00DW0000000WWWW</url>
<compositeCartId>00020085</compositeCartId>
<opportunityId>008900000011W7L</opportunityId>
<strDoc>&lt;ACTION&gt;&lt;NAME&gt;CHANGE STATUS&lt;/NAME&gt;&lt;PARAMETER name=“NewStatus”&gt;Open&lt;/PARAMETER&gt;&lt;/ACTION&gt;</strDoc>
</performQuoteActionFromSF>
</soap:Body>
</soap:Envelope>

You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APIPerform Quote Action From SF Web MethodPerform Quote Action From SF – Input Parameters