Search Quotes from SF Web Method


Function name: SearchQuotesFromSF

Function description: this method enables external system to retrieve quotes from SAP CPQ based on provided search criteria in the same way as SearchQuotes with the difference that authentication is done with data received from Salesforce (session ID and API URL). This method is only available if SAP CPQ user account that is used to make call is set as administrative account. Maximum number of quotes that can be returned is 2000.

Parameters:

  • DomainName = SAP CPQ domain name
  • SFSessionId = Salesforce Session ID (used to log in to Salesforce API)
  • SFAPIUrl = Salesforce API URL (used to log in to Salesforce API)
  • SearchCriteriaXML = XML used to define quotes that are returned

Input XML Document

<Root> <SearchCriteria>Criteria for search</SearchCriteria> </Root>

Examples:

  • DATE_MODIFIED > '8/3/2011 13:50:20'
    • Returns all quotes that have been modified after this date/time
  • DATE_CREATED > '9/24/2011 00:00:00'
    • Returns all quotes that have been created after this date/time
  • DATE_MODIFIED > '8/3/2011 13:50:20' AND ORDER_STATUS = '2'
    • Returns all quotes that have been modified after this date/time that are in status ‘Order Placed’

If Criteria for search is empty, SAP CPQ will return all quotes (top 2000 quotes).

Result XML Document

You are here: CallidusCloud SAP CPQ Online HelpSAP CPQ APISearch Quotes from SF Web Method