public static String SearchQuotes(Credentials credentials, String SearchCriteria = "") { string retVal = ""; //http://help.webcomcpq.com/doku.php?id=appendixd:search_quotes // this method enables the external system to retrieve quotes from SAP CPQ based on provided search criteria. //This method is only available if SAP CPQ user account that is used to make a call is set as an administrative account. //The maximum number of quotes that can be returned is 2000. // 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). CpqApi.CpqApi cpq_service = new CpqApi.CpqApi(); cpq_service.Timeout = 200 * 1000; retVal = cpq_service.SearchQuotes(credentials.Login, credentials.Password, SearchCriteria); return(retVal); }