---
schema_version: "1"
id: eba544e4d58ccd950a13805ec0871995eaf5d776f378a218718928ec79dfa170
title: Waterfall Download (POST)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/connect_resources_waterfall_download.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/connect_resources_waterfall_download.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 63c71f06b18c203c0facf15a4de2656c865b1f03d62421c9b24e78d0436d46a9
description: Retrieves pricing waterfall data for multiple line items in a single request.
---
# Waterfall Download (POST)

Retrieves pricing waterfall data for multiple line items in a single request.

## Resource

/connect/core-pricing/waterfalls/retrieve

## Available Version

67.0

## HTTP Methods

POST

## Query Parameters for POST

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d572926e77">Parameter Name</th>

              <th class="featureTableHeader vertical-align-top " id="d572926e80">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d572926e83">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d572926e86">Required or Optional</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d572926e77" data-title="Parameter Name"><samp class="codeph nolang">water​fall​View</samp></td>

              <td class="entry" headers="d572926e80" data-title="Type">String</td>

              <td class="entry" headers="d572926e83" data-title="Description">
                <p class="p">Controls how much detail is returned for each line item. Valid values
                  are:</p>

                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">lsc-summary</samp>: Runs a server-side
                    optimization that removes elements that don't affect the net unit price,
                    such as proration, formula pricing, zero-value adjustments, and hidden
                    elements.
                  </li>

                </ul>

                <p class="p">If this parameter isn't specified, the API returns the complete waterfall
                  from <samp class="codeph nolang">PricingWaterfallLog</samp>.</p>

              </td>

              <td class="entry" headers="d572926e86" data-title="Required or Optional">Optional</td>

            </tr>

          </tbody>

        </table>

## JSON example

{
  "lineItems": \[
    {
      "lineItemId": "0Q0fj0000005csfCAA",
      "executionId": "6719855753007"
    },
    {
      "lineItemId": "0Q0fj0000005csfCAB",
      "executionId": "6719855753008"
    }
  \]
}

## Properties

| Property Name | Type | Description | Required |
| --- | --- | --- | --- |
| lineItems | List<Object> | A list of line item and execution ID pairs used to retrieve pricing waterfall data. | Required |
| lineItemId | String | The Salesforce ID of the line item for which to fetch the pricing waterfall. This property is a child of each object in lineItems. | Required |
| executionId | String | The execution key that identifies which pricing run’s waterfall to fetch. A line item can have multiple pricing executions over time. This property is a child of each object in lineItems. | Required |

## Response Body for POST

[Waterfall Download Output](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/connect_responses_waterfall_download_output.htm "The response containing the pricing waterfall data for the requested line items.")