---
schema_version: "1"
id: cf1c9fba80bbbf68876fda430cc6179f0e1ab684082a34b92beaff89d4d8885b
title: Waterfall Download Output
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/connect_responses_waterfall_download_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/connect_responses_waterfall_download_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 66b8c6ae2b36d3d8283f113532091db10e046b9afa3bd31b0332d536971b0c6b
description: The response containing the pricing waterfall data for the requested line items.
---
# Waterfall Download Output

The response containing the pricing waterfall data for the requested line items.

## JSON example

{
  "success": true,
  "message": null,
  "code": "200",
  "lineItemResults": \[
    {
      "currencyCode": "USD",
      "error": null,
      "executionEndTimestamp": "2023-07-31T20:11:29.625Z",
      "executionId": "gdLVwn2x1uats2xWMAjV",
      "executionStartTimestamp": null,
      "lineItemId": "item1",
      "success": true,
      "usageType": "Pricing",
      "output": {
        "quantity": "10",
        "netUnitPrice": "10",
        "subtotal": "100"
      },
      "waterfall": \[\]
    },
    {
      "currencyCode": "USD",
      "error": null,
      "executionEndTimestamp": "2023-07-31T20:12:15.000Z",
      "executionId": "hdMWxo3y2vbut3xXNBlW",
      "executionStartTimestamp": null,
      "lineItemId": "item2",
      "success": true,
      "usageType": "Pricing",
      "output": {
        "quantity": "5",
        "netUnitPrice": "8",
        "subtotal": "40"
      },
      "waterfall": \[\]
    }
  \]
}

## Properties

| Property Name | Type | Description |
| --- | --- | --- |
| success | Boolean | Indicates whether the request finished normally and returned waterfall data for at least one line item (true), or whether the request was invalid, every line item failed, or an unhandled exception occurred (false). |
| message | String | A failure message, if applicable. |
| code | String | The API response code. Returns 200 when the request is processed successfully, including partial success. Returns 500 when the request is invalid, when all line items fail, or when an unhandled exception occurs. |
| lineItemResults | List<[Line Item Waterfall Response](https://developer.salesforce.com/docs/revenue/revenue-management/guide/connect-responses-line-item-waterfall-response.html)\> | An array of waterfall results for each requested line item. |