Differences

This shows you the differences between two versions of the page.

appendixd:pricingapi:pricingtableswebmethodoutputparameters [2011/01/28 07:50]
jtosic
appendixd:pricingapi:pricingtableswebmethodoutputparameters [2011/01/28 07:50] (current)
Line 1: Line 1:
 +====== Pricing Table Administration - Output Parameters ======
 +^**Tag**^**Data Type**^**Description**^**Required**^**Comments**^
 +|Result|XML|This function will generate XML document as result of the performed actions|Yes|Result is always generated|
 +
 +===== XML definition =====
 +^**Element Name**^**Data Type**^**Description**^**Required**^**Comments**^
 +|Result|  |  |Y|  |
 +|Status|String(10)|OK if passed values are verified and successfully passed requested action, otherwise NOK|Y|  |
 +|Message|String (500)|Message generated by CPQ|Y|  |
 +|Root|  |  |N|For search, if any row matches provided conditions, it will  contain XML for result |
 +|Error|  |  |N|If any error occurs this node will contain info about it.|
 +|ErrorCode|String(50)|Error code|Y|  |
 +|Description|String(500)|Error description message|Y|  |
 +
 +
 +===== Result XML Examples =====
 +
 +Example for the successful InsertRow action 
 +\\ 
 +<code XML>
 +<?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>
 +
 +</code>
 +\\ 
  
You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APIPricing APIPricing Table Administration - Output Parameters