Differences

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

appendixd:pricingapi:delete_pricebook:xml_example_-_delete [2013/03/26 05:43]
nknezevic
appendixd:pricingapi:delete_pricebook:xml_example_-_delete [2013/03/26 05:43] (current)
Line 1: Line 1:
 +===== XML example - DELETE =====
  
 +Input example:
 +
 +  <Root OnError="IGNORE" Report="ALL">
 +  <Columns>
 +    <Column>PartNumber</Column>
 +    <Column>PriceCode</Column>
 +    <Column>Price</Column>
 +    <Column>Cost</Column>
 +    <Column>RecurringPrice</Column>
 +    <Column>RecurringCost</Column>
 +    <Column>ValidFrom</Column>
 +    <Column>ValidUntil</Column>
 +    <Column>PriceDescription</Column>
 +    <Column>Delete</Column>
 +  </Columns>
 +  <Rows>
 +    <Row>
 +      <Value>PartNumberXYZ</Value>
 +      <Value>123</Value>
 +      <Value>100</Value>
 +      <Value>50</Value>
 +      <Value>25</Value>
 +      <Value>10</Value>
 +      <Value>01/01/2013</Value>
 +      <Value>08/15/2013</Value>
 +      <Value>desc</Value>
 +      <Value>1</Value>
 +    </Row>
 +  </Rows>
 +  </Root>
 +  
 +Value for Delete node must be 1 in order to delete row.
 +
 +Output examples:
 +
 +Succesfull
 +
 +  <Result xmlns="http://webcominc.com/">
 +  <Status>ALL_ENTRIES_IMPORTED</Status>
 +  <Message />
 +  <Root>
 +    <Columns>
 +      <Column>PartNumber</Column>
 +      <Column>PriceCode</Column>
 +      <Column>Status</Column>
 +      <Column>Message</Column>
 +    </Columns>
 +    <Rows>
 +      <Row>
 +        <Value>PartNumberXYZ</Value>
 +        <Value>123</Value>
 +        <Value>OK</Value>
 +        <Value>Entry deleted.</Value>
 +      </Row>
 +    </Rows>
 +  </Root>
 +  </Result>
 +
 +Error
 +
 +  <Result xmlns="http://webcominc.com/">
 +  <Status>ERRORS_FOUND_WHEN_IMPORTING</Status>
 +  <Message />
 +  <Root>
 +    <Columns>
 +      <Column>PartNumber</Column>
 +      <Column>PriceCode</Column>
 +      <Column>Status</Column>
 +      <Column>Message</Column>
 +    </Columns>
 +    <Rows>
 +      <Row>
 +        <Value />
 +        <Value>123</Value>
 +        <Value>NOK</Value>
 +        <Value>Part Number Column empty.</Value>
 +      </Row>
 +    </Rows>
 +  </Root>
 +  </Result>
You are here: SAP Sales Cloud CPQ Online HelpSAP CPQ APIPricing APIDELETE PRICEBOOKXML example - DELETE