Log in user after API quote creation


This feature allows you to log in to CPQ after quote has been created through API without having to enter un/pass/domain name. This is a single-sign on functionality when CPQ is integrated with external system.

NewQuote API method generates 2 new nodes in result XML:

QuoteLink

  • This node is always a part of result XML when quote has been successfully created
  • This node contains link to the login page. In its query string there will be an encrypted quote name. When users are redirected to this link, they will have to enter un/pass/domain in order to enter quote.

QuoteSSOLink

  • This node is a part of result XML when quote has been successfully created and if application paremeter ‘Send Single Sign On Link to the Quote as result of NewQuote API method’ is set to TRUE
  • This node contains link to the single-sign on page. In its query string there will be a quote number that is not encrypted, domain name and username encrypted in standard way for single-sign on functionality. When users are redirected to this link, they won’t have to enter username/password/domain in order to enter quote. Instead, they will be automatically redirected to the quote (if correct parameters have been passed on to SSO login page).

Example for the result XML:

<?xml version="1.0" encoding="utf-8"?>
<Result>
<Status>OK</Status>
<Message>New Quote Created</Message>
<QuoteStatus>Open</QuoteStatus>
<QuotationNumber>00010108</QuotationNumber>
<QuoteLink>https://v60test.webcomcpq.com/Login.aspx?quote=CED2CECFC7</QuoteLink>
<QuoteSSOLink>https://v60test.webcomcpq.com/sso/login.aspx?u=ghLanimluj64XgtspvrSZSYYPG6TG7Ja86t1m5yLilE=&d=webcomqa&quotenumber=00010108</QuoteSSOLink>
</Result>
You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APINew Quote Web MethodLog in user after API quote creation