Pricing Table Administration - Output Parameters

TagData TypeDescriptionRequiredComments
ResultXMLThis function will generate XML document as result of the performed actionsYesResult is always generated

XML definition

Element NameData TypeDescriptionRequiredComments
Result Y
StatusString(10)OK if passed values are verified and successfully passed requested action, otherwise NOKY
MessageString (500)Message generated by CPQY
Root NFor search, if any row matches provided conditions, it will contain XML for result
Error NIf any error occurs this node will contain info about it.
ErrorCodeString(50)Error codeY
DescriptionString(500)Error description messageY

Result XML Examples

Example for the successful InsertRow action

<?xml version="1.0" encoding="utf-8"?>
 
  <Result xmlns="http://webcominc.com/">
   <Status>OK</Status>
   <CpqTableEntryId>19</CpqTableEntryId>
   <Message>action 'INSERTROWS' for PricingTestTable succeeded</Message>
<Root>
  <Columns>
    <Column>PartNumber</Column>
    <Column>PriceCode</Column>
    <Column>Price</Column>
    <Column>Cost</Column>
    <Column>RecurringPrice</Column>
    <Column>RecurringCost</Column>
    <Column>PriceDescription</Column>
  </Columns>
  <Rows>
    <Row>
      <Value>ABCD123</Value>
      <Value>888</Value>
      <Value>123</Value>
      <Value>11</Value>
	  <Value>5</Value>
      <Value>3</Value>
      <Value>price desc</Value>
 
    </Row>
 
  </Rows>
</Root></Result>


You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APIPricing APIPricing Table Administration - Output Parameters