Result XML Examples

Example for the successful quote creation

<?xml version="1.0" encoding="utf-8"?>
<Result>
  <Status>OK</Status>
  <Message>New Quote Created</Message>
  <QuoteStatus>Open</QuoteStatus>
  <QuotationNumber>000010000034</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>

Example for the invalid catalog code (part number) in the first item in the input xml

<?xml version="1.0" encoding="utf-8"?>
<Result>
  <Status>NOK</Status>
  <Message>Quote is not created</Message>
  <Error>
    <ErrorCode>101001</Description>
    <Description>Invalid part number</Description>
    <NodeName>CatalogueCode</NodeName>
    <Value>A4541V</Value>
    <Sequence>1</Sequence>
  </Error>
</Result>

Example for the missing shipping method in the input xml

<?xml version="1.0" encoding="utf-8"?>
<Result>
  <Status>NOK</Status>
  <Message>Quote is not created</Message>
  <Error>
    <ErrorCode>101002</ErrorCode>
    <Description>Required field Shipping method is missing</Description>
    <NodeName>ShippingMethod</NodeName>
  </Error>
</Result>

Example for the invalid customer Id supplied in input xml

<?xml version="1.0" encoding="utf-8" ?>
<Result>
  <Status>NOK</Status>
  <Message>Quote is not created</Message>
  <Error>
    <ErrorCode>101003</ErrorCode>
    <Description>Supplied customer id is not found in CPQ db</Description>
    <NodeName>Customer/Id</NodeName>
    <Sequence>1</Sequence>
  </Error>
</Result>

Example for the invalid zip code for Ship to customer

<?xml version="1.0" encoding="utf-8"?>
<Result>
  <Status>NOK</Status>
  <Message>Quote is not created</Message>
  <Error>
    <ErrorCode>101003</ErrorCode>
    <Description>Zip code is invalid</Description>
    <NodeName>ZipCode</NodeName>
    <Sequence>2</Sequence>
  </Error>
</Result>

Example for the invalid Quote property

<?xml version="1.0" encoding="utf-8"?>
<Result>
  <Status>NOK</Status>
  <Message>Quote is not created</Message>
  <Error>
    <ErrorCode>101003</ErrorCode>
    <Description>Unkonwn quote property ‘Some Property’</Description>
    <NodeName>Property</NodeName>
    <Sequence>2</Sequence>
  </Error>
</Result>
You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APINew Quote Web MethodResult XML Examples