---
schema_version: "1"
id: a03f8797465914eff9612e49f23e994b2ce287f1934eb52f89452d62fc55a538
title: Operation Output Parameters
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_schema_def_operation_output_params.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_schema_def_operation_output_params.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1502a7306dac9f098b7aff8b2aa3c639ea8054e375b01c09754b483ac226f736
description: Learn about how External Services interprets an operation's output parameters.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Operation Output Parameters

Learn about how External Services interprets an operation's output parameters.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

- Every operation captures the HTTP response code with an output parameter `responseCode`. The value of `responseCode` reflects the HTTP response code after the external call completes.
- If the operation’s response parameter (OpenAPI) is defined under an HTTP response code value or is defined as `default`, then the operation output parameter name is the HTTP response code value or `default`. For an output parameter object type, its name contains the HTTP response code value.
- For all operations where the HTTP response codes _aren't_ defined in the OpenAPI specification, the default output parameter with name `default` and of type `String` returns the external call's response as a string.
- These response content types are supported:
    
    - `application/json`
    - `application/octet-stream`
    - `application/x-www-form-urlencoded`
    - `text/plain`
    
    The response content type is specified in the responses section of the spec. For example:
    
    ```
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
    ```

#### See Also

- [Schema Examples](https://help.salesforce.com/s/articleView?id=platform.external_services_examples.htm&release=264.0.0&type=5 "Explore various scenarios with OpenAPI 2.0 and OpenAPI 3.0 compliant JSON or YAML schemas supported by External Services. The examples cover schema elements like HTTP header as input parameters, and include example usage in Apex. Understanding the examples helps with proper syntax and code placement.")