---
schema_version: "1"
id: 0288346ec19712477bb1b4f4e842628cce6c64f9a7915c198a39e4c9b99249ba
title: Set Life Sciences Quote Document Defaults Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/ls_actions_set_quote_document_defaults.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/ls_actions_set_quote_document_defaults.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 485b075d394ba63133db7bb4508b598a632a0e173c7e76fba0a93769cf108231
description: Sets default attributes on document recipients for a specified quote document based on its attached Lightning flexipage layout.
---
# Set Life Sciences Quote Document Defaults Action

Sets default attributes on document recipients for a specified quote document based on its attached Lightning flexipage layout.

This action is available in API version 68.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/setLsQuoteDocumentDefaults

Where XX.X is the latest API version.

**Formats**: JSON, XML

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

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



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d493811e98">Input</th>

              <th class="featureTableHeader  " id="d493811e101">Type</th>

              <th class="featureTableHeader  " id="d493811e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d493811e98" data-title="Input"><span class="keyword parmname">quoteDocumentId</span></td>

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

              <td class="entry" headers="d493811e104" data-title="Description">Required<p class="p">The ID of the Quote Document record for which to populate recipient default properties.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| errorDescription | String | Message detailing generic action failures when processing the quote document defaults. |
| inputErrorDescription | String | Error message displayed when a valid quote document ID parameter is missing from the request. |
| templateNotFound | String | Error message returned when document template details aren't found for the specified quote document. |
| flexiPageDetailsNotFound | String | Error message returned when flexipage layout details can't be retrieved for the quote document. |
| signaturePlaceholderNotFound | String | Error message returned when a Life Sciences signature component placeholder isn't found in the document template layout. |
| unableToUpdateDocumentRecipient | String | Error message displayed when updating the document recipient record with the default signature identifier fails. |

## Example

Sample Request

{
          "inputs": \[
          {
          "quoteDocumentId": "0QDxx0000004CQmGAM"
          }
          \]
          }

Sample Response

\[
          {
          "actionName": "setLsQuoteDocumentDefaults",
          "errors": null,
          "isSuccess": true,
          "outputValues": {
          "errorDescription": null,
          "inputErrorDescription": null,
          "templateNotFound": null,
          "flexiPageDetailsNotFound": null,
          "signaturePlaceholderNotFound": null,
          "unableToUpdateDocumentRecipient": null
          }
          }
          \]